Class IAssembly2 : public IAssembly
Description:
This new version of the assembly interface extends IAssembly. Developers are encouraged to use this version of the assembly interface.
Client code can query an INode for this interface:
INode* n;
IAssembly2* a = GetAssemblyInterface2(n);
Methods:
Notes:
These methods should be called on assembly heads only. Calling them on members will not affect the display of the bounding box. The bounding box is displayed in red (by default) around an open assembly. Turning it off can reduce viewport clutter; it won’t affect the functionality of the assembly (the way the assembly works).
Calling these methods on an assembly head, affects the display of the bounding box only on that assembly.
Prototype:
virtual void SetAssemblyBBoxDisplay(BOOL b) = 0;
Remarks:
Implemented by the System. Method to control the display of an assembly’s world space bounding box.
Parameters:
BOOL b
If TRUE, display the bounding box.
If FALSE, do not display the bounding box.
Prototype:
virtual BOOL GetAssemblyBBoxDisplay() = 0;
Remarks:
Implemented by the system. Method to retrieve the value of the bounding box display flag.
Return Value:
BOOL
If TRUE, the bounding box display is enabled.
If FALSE, the bounding box display is disabled.