Interface: IAssembly

This is a Node MixinIterface providing access to the Assembly head and member related properties of a node.

Properties:

.assemblyMember : boolean : Read|Write

Returns true if the node is an Assembly Member, false if it isn’t.

.assemblyHead : boolean : Read|Write

Returns true if the node is an Assembly Head, false if it isn’t.

.assemblyMemberOpen : boolean : Read|Write

Returns true if the node is a Member of an open Assembly, false is the Assembly is closed or the node is not a Member of an Assembly.

.assemblyHeadOpen : boolean : Read|Write

Returns true if the node is a Head of an open Assembly, false if the Assembly is closed or the node is not a Head of an Assembly.

.assemblyBBoxDisplay : boolean : Read|Write

Get/set the bounding box display.

Example:

-- find all top level assembly heads

for obj in objects do

if obj.assemblyHead and not obj.isAssemblyMember do

print obj.name

 

Warning:

While these properties are Read/Write, setting these properties can result in unpredictable behavior! Only set these properties if you really know what you are doing!

See also

Interface:AssemblyMgr

Node Interfaces