NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Annotations::AssociatedObject Class Reference

Represents the objects to which the PMI applies. More...

Inheritance diagram for NXOpen::Annotations::AssociatedObject:
NXOpen::TransientObject

Public Member Functions

int GetObjectIndex (NXOpen::DisplayableObject *object)
 Returns the associated object index. More...
 
std::vector
< NXOpen::DisplayableObject * > 
GetObjects ()
 Returns the objects. More...
 
void SetObjects (const std::vector< NXOpen::DisplayableObject * > &objects)
 Sets the objects. More...
 
virtual ~AssociatedObject ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual NXOpen::Annotations::AssociatedObject::~AssociatedObject ( )
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

Member Function Documentation

int NXOpen::Annotations::AssociatedObject::GetObjectIndex ( NXOpen::DisplayableObject object)

Returns the associated object index.

Returns
Unique integer assigned to the associated object
Created in NX4.0.0.

License requirements : None
Parameters
objectObject for which index is to be returned
std::vector<NXOpen::DisplayableObject *> NXOpen::Annotations::AssociatedObject::GetObjects ( )

Returns the objects.

Returns
List of objects
Created in NX4.0.0.

License requirements : None
void NXOpen::Annotations::AssociatedObject::SetObjects ( const std::vector< NXOpen::DisplayableObject * > &  objects)

Sets the objects.

Following objects are allowed -
NXOpen::Point

NXOpen::Edge

NXOpen::Face

NXOpen::Body

NXOpen::Assemblies::Component

NXOpen::Curve

Created in NX4.0.0.

License requirements : None

Parameters
objectsList of new objects

The documentation for this class was generated from the following file:
Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.