NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Protected Member Functions | List of all members
NXOpen.PDM.PendingComponentsManager Class Reference

This class is used for managing a part's pending components, that is, those that have been added within Teamcenter but are not yet present in NX. More...

Inheritance diagram for NXOpen.PDM.PendingComponentsManager:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Member Functions

unsafe NXOpen.Assemblies.Component AddComponent (string handle, out NXOpen.PartLoadStatus loadStatus)
 Adds a pending component. More...
 
unsafe NXOpen.Assemblies.Component AddNgcComponent (string handle, out NXOpen.PartLoadStatus loadStatus)
 Adds a pending NGC component. More...
 
unsafe bool ComponentHasPosition (string handle)
 Determines whether a given pending component has been positioned by Teamcenter. More...
 
unsafe void DeleteComponent (string handle)
 Deletes a pending component. More...
 
unsafe string GetComponentPartFileName (string handle)
 Gets the NX Manager file name for the part corresponding to a pending component. More...
 
unsafe string[] GetComponents ()
 Gets "handles" for the pending components of the part associated with this object. 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 ()
 Free resources associated with the instance. More...
 

Additional Inherited Members

- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 

Detailed Description

This class is used for managing a part's pending components, that is, those that have been added within Teamcenter but are not yet present in NX.

An instance of this class for a particular part can be created by calling PDM.PartManager.NewPendingComponentsManager .

Created in NX4.0.1

Member Function Documentation

unsafe NXOpen.Assemblies.Component NXOpen.PDM.PendingComponentsManager.AddComponent ( string  handle,
out NXOpen.PartLoadStatus  loadStatus 
)
inline

Adds a pending component.

Created in NX4.0.1

License requirements: None.

Parameters
handlethe handle for the pending component
loadStatusresult of loading the component part
Returns
unsafe NXOpen.Assemblies.Component NXOpen.PDM.PendingComponentsManager.AddNgcComponent ( string  handle,
out NXOpen.PartLoadStatus  loadStatus 
)
inline

Adds a pending NGC component.

Created in NX6.0.0

License requirements: None.

Parameters
handlethe handle for the pending ngc component
loadStatusresult of loading the ngc component part
Returns
unsafe bool NXOpen.PDM.PendingComponentsManager.ComponentHasPosition ( string  handle)
inline

Determines whether a given pending component has been positioned by Teamcenter.

If PDM.PendingComponentsManager.AddComponent is called regarding a component without a position, it will automatically be positioned at the origin.

Created in NX4.0.1

License requirements: None.

Parameters
handlethe handle for the pending component
Returns
unsafe void NXOpen.PDM.PendingComponentsManager.DeleteComponent ( string  handle)
inline

Deletes a pending component.

Created in NX4.0.1

License requirements: None.

Parameters
handlethe handle for the pending component
override void NXOpen.PDM.PendingComponentsManager.FreeResource ( )
inlineprotectedvirtual

Free resources associated with the instance.

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.1

License requirements: None.

Implements NXOpen.TransientObject.

unsafe string NXOpen.PDM.PendingComponentsManager.GetComponentPartFileName ( string  handle)
inline

Gets the NX Manager file name for the part corresponding to a pending component.

Created in NX4.0.1

License requirements: None.

Parameters
handlethe handle for the pending component
Returns
unsafe string [] NXOpen.PDM.PendingComponentsManager.GetComponents ( )
inline

Gets "handles" for the pending components of the part associated with this object.

Created in NX4.0.1

License requirements: None.

Returns

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