Assembly

An Assembly item is a sub-class of a Point item that also remembers a list of other items contained in the same dataset.

Assembly items let you add structure to graphics in a drawing in a 'cheap and cheerful' way.

The items in the list do not know that they belong to the list. So if you select the Assembly you can use a local method to select all the assembled items but if you select one of the assembled items you cannot get back to the Assembly item.

This loose association is useful, as you can make an item part of more than one Assembly item and make assemblies of assemblies.

If you need two-way associativity between items and seeds then you should consider using full-blown topology.


Properties

  • Angle: _angleDeg#
    The angle of an item in degrees.

  • Child items: _children$
    The IDs of the child items.

  • Geometry class: _classGeom$
    The C++ class used to store an item's geometry. This is handled automatically. You can see what precision an item's geometry is stored with by recognising the geometry classes.

  • Number of children: _nChildren&
    The number of children items managed by this item.

See also Item Properties