NX Open C++ Reference Guide
Public Member Functions
NXOpen::PDM::PartFromTemplateBuilder Class Reference

This class provides the methods necessary to create a new part in NX Manager from a template part. More...

Inheritance diagram for NXOpen::PDM::PartFromTemplateBuilder:
NXOpen::PDM::PartBuilder NXOpen::TransientObject

List of all members.

Public Member Functions

NXOpen::BasePartCommit ()
 Creates the new part that has been fully-specified by calling methods on this builder.
NXOpen::BasePartCommit (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.

Detailed Description

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.


Constructor & Destructor Documentation

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


Member Function Documentation

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.

Returns:
newly created part
Created in NX4.0.0.

License requirements : None

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.

Returns:
newly created part
Created in NX4.0.0.

License requirements : None
Parameters:
setAsDisplayPartTrue means the new part will set as the display part. False means that it will not.

Sets the seed part on which the new part will be based.


Created in NX4.0.0.

License requirements : None

Parameters:
seedNamedisplay name of the seed part. E.g. "Metric"
NOTE: The full Unicode character set is not supported for this parameter.

The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.