Custom Properties with the Same Name: Visio Groups and Shapes within GroupsThis content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Microsoft Visio Standard 2002
Microsoft Visio Professional 2002
Microsoft Visio 2000 Standard Edition
Microsoft Visio 2000 Professional Edition
Microsoft Visio 2000 Technical Edition
Microsoft Visio 2000 Enterprise Edition
Summary: This article compares how Microsoft Visio 2002 and Visio 2000 deal with shape and group custom property behavior when groups and shapes within groups have custom properties with the same name. (3 printed pages)
Custom properties are data associated with Microsoft® Visio® shapes. You can create and define custom properties for shapes and groups using the Custom Properties window, or by using the ShapeSheet® window. When you create a custom property for a shape or group, Visio adds a unique custom property row to the Custom Properties section of that shape or group's ShapeSheet window. However, you can define custom properties with the same name for shapes, shapes within groups, and groups.
In Microsoft Visio 2000, you can assign a custom property to a group and to a shape within that group that has the same name. When you update the custom property value of the shape in the group, Visio 2000 also updates the custom property value for the group. Microsoft Visio 2002 does not update the custom property value for the group, so the value stays the same. The new Visio 2002 behavior is more consistent with user expectations.
The following flowchart illustrates and compares how Visio 2000 and Visio 2002 deal with shape and group custom property behavior when groups and shapes within groups have custom properties with the same name.
Figure 1. Comparison of custom property behavior in Microsoft Visio 2000 and Visio 2002 products
For example, your company sells equipment shapes individually and in sets. In a Visio drawing that illustrates pieces of equipment, you group a set of shapes to create a SKU. All the shapes in the group include the custom property, Manufacturer Name, as does the group. When you sub select a shape within the group and change the value of the Manufacturer Name property for that shape, Visio 2000 also changes the value of the Manufacturer Name for the group. Visio 2002 does not.
- For more information about custom properties, search for custom properties in the Visio 2002 online Help (on the Help menu, click Microsoft Visio Help).
- For more information about the Custom Properties section in the ShapeSheet, search for About custom properties in the Microsoft Visio 2002 online Help (on the Help menu, click Microsoft Visio Help).