NX Open C++ Reference Guide
|
This class contains methods to create and manage parts in NX Manager mode. More...
Public Member Functions | |
NXOpen::PDM::PartFromPartBuilder * | NewPartFromPartBuilder () |
Create an instance of a part builder that creates a new part from an existing part. | |
NXOpen::PDM::PartFromTemplateBuilder * | NewPartFromTemplateBuilder () |
Create an instance of a part builder that creates a new part from a template part. | |
NXOpen::PDM::PendingComponentsManager * | NewPendingComponentsManager (NXOpen::BasePart *part) |
Creates a pending component manager for a given part. | |
tag_t | Tag () const |
Returns the tag of this object. |
This class contains methods to create and manage parts in NX Manager mode.
Use PartCollection::PDMPartManager to get the instance of this class.
Created in NX4.0.0.
Create an instance of a part builder that creates a new part from an existing part.
This is analagous to a File SaveAs operation in NX Manager mode.
This method will throw an error if the session is not running in NX Manager mode.
PDM::PartFromTemplateBuilder is a singleton meaning only one instance of it can exist at one time. Calling this method will destroy the builder if one already exists and return a new instance.
Create an instance of a part builder that creates a new part from a template part.
This is analagous to a File New operation in NX Manager mode.
This method will throw an error if the session is not running in NX Manager mode.
PDM::PartFromTemplateBuilder is a singleton meaning only one instance of it can exist at one time. Calling this method will destroy the builder if one already exists and return a new instance.
NXOpen::PDM::PendingComponentsManager* NXOpen::PDM::PartManager::NewPendingComponentsManager | ( | NXOpen::BasePart * | part | ) |
Creates a pending component manager for a given part.
Pending components are ones that have been added from Teamcenter, but are not yet present in NX.
part | the part |
tag_t NXOpen::PDM::PartManager::Tag | ( | ) | const |
Returns the tag of this object.