NX Open C++ Reference Guide
|
Represents the objects to which the PMI applies. More...
Public Member Functions | |
int | GetObjectIndex (NXOpen::DisplayableObject *object) |
Returns the associated object index. | |
std::vector < NXOpen::DisplayableObject * > | GetObjects () |
Returns the objects. | |
void | SetObjects (const std::vector< NXOpen::DisplayableObject * > &objects) |
Sets the objects. | |
virtual | ~AssociatedObject () |
Frees the object from memory. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents the objects to which the PMI applies.
Examples are size tolerance applied to a set of cylindrical faces, GD and T datum applied to a planar face, and so on.
Created in NX4.0.0.
|
virtual |
Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX4.0.0.
License requirements : None
int NXOpen::Annotations::AssociatedObject::GetObjectIndex | ( | NXOpen::DisplayableObject * | object | ) |
Returns the associated object index.
object | Object for which index is to be returned |
std::vector<NXOpen::DisplayableObject *> NXOpen::Annotations::AssociatedObject::GetObjects | ( | ) |
Returns the objects.
void NXOpen::Annotations::AssociatedObject::SetObjects | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |