Group

The Group accessor (class ) defines an attribute that will collectively reference all the sub-attributes of the same name in all group nodes. For example, you can use this accessor with the name foreground and the type Color to change the foreground color of all the prototype elements in one single assignment.

Parameters

  • No parameters. The name of the attribute is used to determine the subattribute that will be referenced by this accessor. The type of the accessor is implicitly determined.

Example

In the pump prototype of the samples prototype library, a lineWidth attribute can be added. The attribute should be of type UInt. Changing this attribute from the Group Inspector (using the Attributes notebook page) changes the line width of all the graphic objects that have a lineWidth defined.