Re: CreateSelection: Shapes on no layer



Hi Veronika,

It looks like you are using German Visio - can you try using "{No Layer}"
and see if it works in your version? I don't have a virtual pc handy to
test...

--
Hope this helps,

Chris Roth
Visio MVP

Free Visio shapes:
http://www.visguy.com/category/shapes
Visio programming info:
http://www.visguy.com/category/programming/
Other Visio resources:
http://www.visguy.com/visio-links/

"Veronika Zenz" <ng.veronika.zenz@xxxxxxxxx> wrote in message
news:1188999572.422663.39980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi there,

I'd like to programatically select all shapes that are not assigned to
any layer.
The macro recorder tells me this is done by
Application.ActiveWindow.Page.CreateSelection(visSelTypeByLayer,
visSelModeSkipSuper, "{kein Layer}")

But I guess "{kein Layer}" is only valid for german visio
installations, isn't it?
Does anybody know the international way to do this?

Thanks in advance!



.



Relevant Pages

  • Re: different types of diagrams on different layers
    ... you can right-click individual connectors and change the way they ... > Visio MVP ... >> with all it's goodies on one layer and an org chart with ... I then started putting flowchart ...
    (microsoft.public.visio.general)
  • Re: Setting Scale on drawings...newbie question..part two
    ... Visio could be hosed up somehow but did you check to see if a layer ... I've found that changing scale values in mid stream can be frustrating ... if you change a drawing from ...
    (microsoft.public.visio)
  • Re: How to add a shape from a stencil to a shape on the document?
    ... shape to the layer. ... Common Visio Questions http://www.mvps.org/visio/common_questions.htm ... Dim MyChair as Shape = ... Declare MyNewChair as a master ...
    (microsoft.public.visio.developer)
  • RE: Dynamic context menu for shape
    ... better way to go is to assign each kind of shape with a unique layer. ... layer will define a set of action rows. ... The CreateSelection method exists only in Visio 2003, ... > types of shapes and for each type, a different context menu is shown. ...
    (microsoft.public.visio.developer)
  • Re: How to add a shape from a stencil to a shape on the document?
    ... shape to the layer. ... Need stencils or ideas? ... Common Visio Questions http://www.mvps.org/visio/common_questions.htm ... Declare MyNewChair as a master ...
    (microsoft.public.visio.developer)

Loading