Re: select shapes based on master variants

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



HI,

every master is an element on its own so there is no connection between them once you have made these different masters at least AFAIK

--

Mit freundlichen Grüßen/ with kind regards
Senaj Lelic
DE MVP Visio

"Scott" <Scott@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag news:3BEE3192-9B0E-49E8-B748-3517F7BE9AEA@xxxxxxxxxxxxxxxx
This code:
ActiveWindow.Page.CreateSelection(visSelTypeByMaster, <sel mode>,
ActiveDocument.Masters("MyMaster"))

selects all shapes on the page that are based on a master called MyMaster.
However, it doesn't select those that are based on derivatives of this
master, e.g., MyMaster.3 or MyMaster.11.

Is there a way to select all shapes based on MyMaster and MyMaster.n when I
don't know all possible values of n? I know I could iterate through the
shapes on the page but it seems to me that the point of CreateSelection is to
avoid doing that...

Thanks

.



Relevant Pages

  • Re: Can updates on one page filter down to other pages?
    ... The existing shapes are really not instances of your master. ... Go to File> Shapes> New Stencil or File ... I'm designing a series of mockups in Visio for a user interface. ...
    (microsoft.public.visio.general)
  • Re: Can updates on one page filter down to other pages?
    ... Those are the shapes you drag out from ... Shapes> Show Document Stencil to open an editable stencil. ... the master shape to edit it, and changes will be propagated to your drawing. ... I'm designing a series of mockups in Visio for a user interface. ...
    (microsoft.public.visio.general)
  • Re: linking shapes in network diagrams
    ... The details are a bit geeky, but when you drag a master shape into a Visio ... You want the two shapes to be the same, but you don't want ever single ... Document Stencil. ...
    (microsoft.public.visio)
  • Re: GUID of a shape / UniqueID
    ... AFAIK If you update a master in the document ... If you update in the "master" stencil it should not mirror to ... >>> I have some self designed shapes in the document stencil. ... >>> update a mastershape every shape in the drawing looses his informations ...
    (microsoft.public.visio.developer.vba)
  • Re: Changing multiple basic shapes in drawings...
    ... Go to File> Shapes> Show Document Stencil to see the list of masters in ... Double-click a master shape to edit it. ... the rectangles are master shapes. ...
    (microsoft.public.visio.general)