The Princess of Wales has visited a Scottish charity dedicated to supporting creativity and craftsmanship.