NXOpen .NET Reference  12.0.0
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:

Public Member Functions

unsafe string[] GetComponents ()
 Gets "handles" for the pending components of the part associated with this object. More...
 
unsafe string GetComponentPartFileName (string handle)
 Gets the NX Manager file name for the part corresponding to a pending 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 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...
 

Protected Member Functions

override void FreeResource ()
 Free resources associated with the instance. 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 
)

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 
)

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)

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)

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

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.

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

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

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