Public Types | Public Member Functions

IAssembly2 Class Reference

Search for all occurrences

Detailed 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);


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.

#include <iassembly.h>

Inheritance diagram for IAssembly2:
Inheritance graph
[legend]

List of all members.

Public Types

enum   { E_SET_ASSEMBLY_BBOX_DISPLAY = IAssembly::E_GET_ASSEMBLY_HEAD_OPEN + 1, E_GET_ASSEMBLY_BBOX_DISPLAY }

Public Member Functions

virtual void  SetAssemblyBBoxDisplay (BOOL b)=0
virtual BOOL  GetAssemblyBBoxDisplay ()=0

Member Enumeration Documentation

anonymous enum

Member Function Documentation

virtual void SetAssemblyBBoxDisplay ( BOOL  b ) [pure virtual]
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.

virtual BOOL GetAssemblyBBoxDisplay ( ) [pure virtual]
Remarks:
Implemented by the system. Method to retrieve the value of the bounding box display flag.

Returns:
BOOL

If TRUE, the bounding box display is enabled.

If FALSE, the bounding box display is disabled.

IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2
IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2 IAssembly2