NX Open C++ Reference Guide
|
This class provides the methods necessary to create a new part in NX Manager from a template part. More...
Public Member Functions | |
NXOpen::BasePart * | Commit () |
Creates the new part that has been fully-specified by calling methods on this builder. | |
NXOpen::BasePart * | Commit (bool setAsDisplayPart) |
Creates the new part that has been fully-specified by calling methods on this builder. | |
void | SetSeedPart (const NXString &seedName) |
Sets the seed part on which the new part will be based. | |
virtual | ~PartFromTemplateBuilder () |
Free resources associated with the instance. |
This class provides the methods necessary to create a new part in NX Manager from a template part.
The operation that this builder supports is equivalent to the file new operation which creates a new part from a template (or seed) part.
If the operation is successful, then the newly created part will be the display part.
This class is a singleton meaning only one instance of it can be exist at a time.
Created in NX4.0.0.
virtual NXOpen::PDM::PartFromTemplateBuilder::~PartFromTemplateBuilder | ( | ) | [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.0.
License requirements : None
Creates the new part that has been fully-specified by calling methods on this builder.
The new part will be set to display part after it is created.
NXOpen::BasePart* NXOpen::PDM::PartFromTemplateBuilder::Commit | ( | bool | setAsDisplayPart | ) |
Creates the new part that has been fully-specified by calling methods on this builder.
The caller specifies whether the new part should be set as the display after it is created.
setAsDisplayPart | True means the new part will set as the display part. False means that it will not. |
void NXOpen::PDM::PartFromTemplateBuilder::SetSeedPart | ( | const NXString & | seedName | ) |
Sets the seed part on which the new part will be based.
Created in NX4.0.0.
License requirements : None
seedName | display name of the seed part. E.g. "Metric" NOTE: The full Unicode character set is not supported for this parameter. |