NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
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:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Member Functions

unsafe int GetObjectIndex (NXOpen.DisplayableObject @object)
 Returns the associated object index More...
 
unsafe NXOpen.NXObject[] GetObjects ()
 Returns the objects. More...
 
unsafe void SetObjects (NXOpen.NXObject[] objects)
 Sets the objects. More...
 
- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. More...
 

Additional Inherited Members

- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 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

Member Function Documentation

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

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.

Implements NXOpen.TransientObject.

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

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 ( )
inline

Returns the objects.

Created in NX4.0.0

License requirements: None.

Returns
List of objects
unsafe void NXOpen.Annotations.AssociatedObject.SetObjects ( NXOpen.NXObject[]  objects)
inline

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 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.