Identifying a group

S

Sparky

If I group a number of objects, how do I identify the group shape.
can this be found in a shape sheet of the group members?

What I am intersted in doing is taking a custom property of the group
and applying it to the group members using a formula, I would like to
be able to do this without making explicit reference to the group name

So I would like the formula to essentially say get name of group , get
customer property value from group


Is this possible?

Simon
 
D

David Parker

Are you creating groups on the fly, manually or automatically?
Or are you creating a group master shape?

You can refer to the custom property of any shape with the syntax
Sheet.n!Prop.AnyProp, where n is the ID of the shape, and AnyProp is the
NAME of the property, not the label. You can get the ID from Format /
Special
 
M

Mark Nelson [MS]

As long as you know the ID of the group at the time you want to set up the
formula, you are fine. However, Visio does not provide a way to dynamically
reference the group shape if this will be changing. That must be done
through code.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top