NXOpen .NET Reference
12.0.0
|
This class provides the methods necessary to create a new part in NX Manager from a template part. More...
Public Member Functions | |
unsafe void | SetSeedPart (string seedName) |
Sets the seed part on which the new part will be based. More... | |
unsafe NXOpen.BasePart | Commit () |
Creates the new part that has been fully-specified by calling methods on this builder. More... | |
unsafe NXOpen.BasePart | Commit (bool setAsDisplayPart) |
Creates the new part that has been fully-specified by calling methods on this builder. More... | |
Public Member Functions inherited from NXOpen.PDM.PartBuilder | |
unsafe void | CreatePartSpec (string partType, string partNumber, string partRevision, string partFileType, string partFileName) |
Create the specification for the new part that will be created. More... | |
unsafe NXOpen.PDM.DatabaseAttributeManager | NewDatabaseAttributeManager () |
Create an instance of a NXOpen.PDM.DatabaseAttributeManager class that will be used to modify database attributes while creating the new part. More... | |
unsafe NXOpen.PDM.PartCreationObject | CreatePartCreationObject () |
Create an instance of a NXOpen.PDM.PartCreationObject class that acts as a proxy for a part in NX Manager mode prior to that part being created. More... | |
unsafe NXOpen.PDM.AlternateIdManager | NewAlternateIdManager () |
Create an instance of a NXOpen.PDM.AlternateIdManager class that will be used to create alternate ID information while creating the new part. More... | |
unsafe string | AssignPartNumber (string partType) |
This method generates a part number given an input part type and assigns this part number to the builder. More... | |
unsafe string | AssignPartRevision () |
This method generates a part revision and assigns this part revision to the builder. More... | |
unsafe string | AssignPartFileName (string partFileType) |
This method generates a part file name given an input part file type and assigns this part file name to the builder. More... | |
unsafe NXOpen.PDM.PartBuilder.PartNumberData | AssignPartNumber (string oldPartNumber, string partType) |
This method generates a part number given an input part type and sets this part number to the builder. More... | |
unsafe NXOpen.PDM.PartBuilder.PartRevisionData | AssignPartRevision (int overload) |
This method generates a part revision and sets this part revision to the builder. More... | |
unsafe NXOpen.PDM.PartBuilder.PartFileNameData | AssignPartFileName (string partNumber, string partRevision, string partFileNameType, string oldPartFileName) |
This method generates a part file name and assigns this part file name to the builder. More... | |
unsafe void | SetAssignPartNumber (string partNumber) |
Sets the part number explicitly into builder. More... | |
unsafe void | SetAssignPartType (string partType) |
Sets the part type explicitly into builder. More... | |
unsafe void | SetContextOperation (NXOpen.PDM.PartBuilder.Operation operation) |
Sets explicitly the place from where part selection dialog invoked into builder. More... | |
Protected Member Functions | |
override void | FreeResource () |
Free resources associated with the instance. More... | |
Protected Member Functions inherited from NXOpen.PDM.PartBuilder | |
override void | FreeResource () |
Free resources associated with the instance. More... | |
Additional Inherited Members | |
Public Types inherited from NXOpen.PDM.PartBuilder | |
enum | Operation { ExportPartNew, AssemblyDiagram, AssemblyCreateNewComponent, Default } |
Tokens identifying every possible UG/Manager part selection dialog. More... | |
This class provides the methods necessary to create a new part in NX Manager from a template part.
Deprecated in NX10.0.0. Use PDM.PartOperationCreateBuilder instead.
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
unsafe NXOpen.BasePart NXOpen.PDM.PartFromTemplateBuilder.Commit | ( | ) |
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.
Created in NX4.0.0
Deprecated in NX10.0.0. Use PDM.PartOperationCreateBuilder instead.
License requirements: None.
unsafe 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.
Created in NX4.0.0
Deprecated in NX10.0.0. Use PDM.PartOperationCreateBuilder instead.
License requirements: None.
setAsDisplayPart | True means the new part will set as the display part. False means that it will not. |
|
protected |
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.
unsafe void NXOpen.PDM.PartFromTemplateBuilder.SetSeedPart | ( | string | seedName | ) |
Sets the seed part on which the new part will be based.
Created in NX4.0.0
Deprecated in NX10.0.0. Use PDM.PartOperationCreateBuilder instead.
License requirements: None.
seedName | display name of the seed part. E.g. "Metric" |