Interface: IAssembly

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

   

Properties:

<node>.assemblyMember : boolean : Read|Write 	 

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

   

<node>.assemblyHead : boolean : Read|Write   

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

   

<node>.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.

   

<node>.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.

   

<node>.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