NXOpen .NET Reference  12.0.0
Public Member Functions | Protected 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:

Public Member Functions

unsafe NXOpen.NXObject[] GetObjects ()
 Returns the objects. More...
 
unsafe void SetObjects (NXOpen.NXObject[] objects)
 Sets the objects. More...
 
unsafe int GetObjectIndex (NXOpen.DisplayableObject @object)
 Returns the associated object index More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. 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

Member Function Documentation

override void NXOpen.Annotations.AssociatedObject.FreeResource ( )
protected

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.

unsafe int NXOpen.Annotations.AssociatedObject.GetObjectIndex ( NXOpen.DisplayableObject object)

Returns the associated object index

Created in NX4.0.0

License requirements: None.

Parameters
objectObject for which index is to be returned
Returns
Unique integer assigned to the associated object
unsafe NXOpen.NXObject [] NXOpen.Annotations.AssociatedObject.GetObjects ( )

Returns the objects.

Created in NX4.0.0

License requirements: None.

Returns
List of objects
unsafe void NXOpen.Annotations.AssociatedObject.SetObjects ( NXOpen.NXObject[]  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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.