Author Topic: Grouping multiple Shapes in a Stencil, select a specific Shape option  (Read 6750 times)

0 Members and 1 Guest are viewing this topic.

dsmall

  • Jr. Member
  • **
  • Posts: 15
I was wondering how I can group multiple Shapes in a Stencil, and be offered an option to choose a shape when dragging into a project.  For example, Middle Atlantic has a single shape for an AV Rack model, but when you add it to the page you get a Shape Data option to choose a specific size, which really is just a list of different shapes.  Thanks!

Thomas Winkel

  • Sr. Member
  • ****
  • Posts: 252
Re: Grouping multiple Shapes in a Stencil, select a specific Shape option
« Reply #1 on: March 17, 2021, 11:30:46 AM »
Select a specific shape out a group is only possible with code, triggered by an event.

But you can create shapes that changes form depending on shape data -> ShapeSheet formulas
This shape data could be of type "Fixed List" and with option "Ask on drop".

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3342
    • Paul Herber's website
Re: Grouping multiple Shapes in a Stencil, select a specific Shape option
« Reply #2 on: March 17, 2021, 11:31:31 AM »
This can be done in two ways. The master shape in the stencil is either a grouped shape or a shape with multiple geometry sections. For the shape you mention this most likely to be a grouped shape. The visibility of each shape or geometry section is controlled by shapedata. When a shape is dropped on a page there is an option to have the user be asked to enter shapedata values. In a nutshell.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

dsmall

  • Jr. Member
  • **
  • Posts: 15
Re: Grouping multiple Shapes in a Stencil, select a specific Shape option
« Reply #3 on: March 18, 2021, 10:12:56 AM »
Thank you, is there a resource or search term that would point me in the correct direction? Looking a the example master shape properties, nothing sticks out to see how it is configured.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3342
    • Paul Herber's website
Re: Grouping multiple Shapes in a Stencil, select a specific Shape option
« Reply #4 on: March 18, 2021, 10:46:27 AM »
Have a look at the shape Logic Gate 2 in stencil Analog and Digital Logic.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

dsmall

  • Jr. Member
  • **
  • Posts: 15
Re: Grouping multiple Shapes in a Stencil, select a specific Shape option
« Reply #5 on: March 18, 2021, 11:00:08 AM »
Thank you, I see how that shape offers choices but I'm still not sure how that master shape would be created and configured.  Also, the behavior is different than what I am looking for where you would be presented the option immediately when adding the shape to the page. I've attached a shape that does what I'm looking for.

Thanks again for your feedback!

Thomas Winkel

  • Sr. Member
  • ****
  • Posts: 252
Re: Grouping multiple Shapes in a Stencil, select a specific Shape option
« Reply #6 on: March 18, 2021, 12:41:23 PM »
You need to spend a few hours to learn ShapeSheet and shape data.

There are plenty of resources, for instance here:
https://www.youtube.com/watch?v=jOC5TLziBw0

dsmall

  • Jr. Member
  • **
  • Posts: 15
Re: Grouping multiple Shapes in a Stencil, select a specific Shape option
« Reply #7 on: March 18, 2021, 12:58:41 PM »
Thanks for the resource, Ill check that out.

Surrogate

  • Hero Member
  • *****
  • Posts: 1730
    • ShapeSheet™ Knowledge Base
Re: Grouping multiple Shapes in a Stencil, select a specific Shape option
« Reply #8 on: March 18, 2021, 01:07:49 PM »
Let me introduce my project - ShapeSheet™ Knowledge Base
In MS Visio 2013/2016 have about 210 functions in ShapeSheet environment.

And many newbies have problems when they search function which they need!

Hope my list of functions by categories could help to many peoples learn more about ShapeSheet™.
hope this project can helps...