NX Open C++ Reference Guide
|
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...
Public Member Functions | |
NXOpen::Assemblies::Component * | AddComponent (const NXString &handle, NXOpen::PartLoadStatus **loadStatus) |
Adds a pending component. | |
NXOpen::Assemblies::Component * | AddNgcComponent (const NXString &handle, NXOpen::PartLoadStatus **loadStatus) |
Adds a pending NGC component. | |
bool | ComponentHasPosition (const NXString &handle) |
Determines whether a given pending component has been positioned by Teamcenter. | |
void | DeleteComponent (const NXString &handle) |
Deletes a pending component. | |
NXString | GetComponentPartFileName (const NXString &handle) |
Gets the NX Manager file name for the part corresponding to a pending component. | |
std::vector< NXString > | GetComponents () |
Gets "handles" for the pending components of the part associated with this object. | |
virtual | ~PendingComponentsManager () |
Free resources associated with the instance. |
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.
virtual NXOpen::PDM::PendingComponentsManager::~PendingComponentsManager | ( | ) | [virtual] |
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
NXOpen::Assemblies::Component* NXOpen::PDM::PendingComponentsManager::AddComponent | ( | const NXString & | handle, |
NXOpen::PartLoadStatus ** | loadStatus | ||
) |
Adds a pending component.
handle | the handle for the pending component NOTE: The full Unicode character set is not supported for this parameter. |
loadStatus | result of loading the component part |
NXOpen::Assemblies::Component* NXOpen::PDM::PendingComponentsManager::AddNgcComponent | ( | const NXString & | handle, |
NXOpen::PartLoadStatus ** | loadStatus | ||
) |
Adds a pending NGC component.
handle | the handle for the pending ngc component NOTE: The full Unicode character set is not supported for this parameter. |
loadStatus | result of loading the ngc component part |
bool NXOpen::PDM::PendingComponentsManager::ComponentHasPosition | ( | const NXString & | 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.
handle | the handle for the pending component NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::PDM::PendingComponentsManager::DeleteComponent | ( | const NXString & | handle | ) |
Deletes a pending component.
Created in NX4.0.1.
License requirements : None
handle | the handle for the pending component NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::PDM::PendingComponentsManager::GetComponentPartFileName | ( | const NXString & | handle | ) |
Gets the NX Manager file name for the part corresponding to a pending component.
handle | the handle for the pending component NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXString> NXOpen::PDM::PendingComponentsManager::GetComponents | ( | ) |
Gets "handles" for the pending components of the part associated with this object.