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 * | AddComponent (const char *handle, NXOpen::PartLoadStatus **loadStatus) |
Adds a pending component. | |
NXOpen::Assemblies::Component * | AddNgcComponent (const NXString &handle, NXOpen::PartLoadStatus **loadStatus) |
Adds a pending NGC component. | |
NXOpen::Assemblies::Component * | AddNgcComponent (const char *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. | |
bool | ComponentHasPosition (const char *handle) |
Determines whether a given pending component has been positioned by Teamcenter. | |
void | DeleteComponent (const NXString &handle) |
Deletes a pending component. | |
void | DeleteComponent (const char *handle) |
Deletes a pending component. | |
NXString | GetComponentPartFileName (const NXString &handle) |
Gets the NX Manager file name for the part corresponding to a pending component. | |
NXString | GetComponentPartFileName (const char *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. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
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 |
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::AddComponent | ( | const char * | 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 |
NXOpen::Assemblies::Component* NXOpen::PDM::PendingComponentsManager::AddNgcComponent | ( | const char * | 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. |
bool NXOpen::PDM::PendingComponentsManager::ComponentHasPosition | ( | const char * | 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. |
void NXOpen::PDM::PendingComponentsManager::DeleteComponent | ( | const char * | 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. |
Gets the NX Manager file name for the part corresponding to a pending component.
@return
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 char * | handle | ) |
Gets the NX Manager file name for the part corresponding to a pending component.
@return
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. |
std::vector<NXString> NXOpen::PDM::PendingComponentsManager::GetComponents | ( | ) |
Gets "handles" for the pending components of the part associated with this object.
@return
Created in NX4.0.1.
License requirements : None