NXOpen .NET Reference
12.0.0
|
Represents a builder class that perofrms create operation More...
Public Member Functions | |
unsafe void | SetTypes (string[] tcTypes, string[] baseTCTypes) |
Set Types for which AttributeHolderObject needs to be created. More... | |
unsafe void | CreateLogicalObjects (out NXOpen.PDM.LogicalObject[] logicalObjects) |
Creates Pre-Creation LogicalObjects More... | |
unsafe void | GetAttributeHolderObjects (out NXOpen.PDM.GenericObjectAttributeHolder[] attributeHolderObjects) |
Returns an array of AttributeHolderObjects created as part of commit. More... | |
unsafe NXOpen.ErrorList | AutoAssignAttributes (NXOpen.NXObject[] objects) |
Auto assigns the attributes for a given array of objects and returns an array of objects that failed to auto assign. More... | |
unsafe NXOpen.ErrorList | AutoAssignAttributesWithNamingPattern (NXOpen.NXObject[] objects, NXOpen.NXObject[] properties) |
Auto assigns the attributes for a given object and returns an array of objects that failed to auto assign. More... | |
unsafe NXOpen.NXObject | CreateAttributeTitleToNamingPatternMap (string[] attributeTitles, string[] titlePatterns) |
Creates a map object of attribute titles to their corresponding naming pattern More... | |
Public Member Functions inherited from NXOpen.Builder | |
unsafe NXOpen.NXObject | Commit () |
Commits any edits that have been applied to the builder. More... | |
unsafe void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
unsafe NXOpen.NXObject[] | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
unsafe NXOpen.NXObject | GetObject () |
Returns the object currently being edited by this builder. More... | |
unsafe void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe string | DefaultDestinationFolder [get, set] |
Returns or sets the default destination folder string for the object being created. More... | |
Represents a builder class that perofrms create operation
To create a new instance of this class, use NXOpen.PDM.PdmSession.CreateObjectCreateBuilder
Created in NX10.0.0
unsafe NXOpen.ErrorList NXOpen.PDM.ObjectCreateBuilder.AutoAssignAttributes | ( | NXOpen.NXObject[] | objects | ) |
Auto assigns the attributes for a given array of objects and returns an array of objects that failed to auto assign.
Created in NX8.5.0
License requirements: None.
objects |
Implements NXOpen.IAttributeSourceObjectBuilder.
unsafe NXOpen.ErrorList NXOpen.PDM.ObjectCreateBuilder.AutoAssignAttributesWithNamingPattern | ( | NXOpen.NXObject[] | objects, |
NXOpen.NXObject[] | properties | ||
) |
Auto assigns the attributes for a given object and returns an array of objects that failed to auto assign.
properties needs to be created using CreateAttributeTitleToNamingPatternMap
Created in NX12.0.0
License requirements: None.
objects | |
properties |
Implements NXOpen.IAttributeSourceObjectBuilder.
unsafe NXOpen.NXObject NXOpen.PDM.ObjectCreateBuilder.CreateAttributeTitleToNamingPatternMap | ( | string[] | attributeTitles, |
string[] | titlePatterns | ||
) |
Creates a map object of attribute titles to their corresponding naming pattern
Created in NX12.0.0
License requirements: None.
attributeTitles | |
titlePatterns |
Implements NXOpen.IAttributeSourceObjectBuilder.
unsafe void NXOpen.PDM.ObjectCreateBuilder.CreateLogicalObjects | ( | out NXOpen.PDM.LogicalObject[] | logicalObjects | ) |
Creates Pre-Creation LogicalObjects
Created in NX10.0.0
License requirements: None.
logicalObjects |
unsafe void NXOpen.PDM.ObjectCreateBuilder.GetAttributeHolderObjects | ( | out NXOpen.PDM.GenericObjectAttributeHolder[] | attributeHolderObjects | ) |
Returns an array of AttributeHolderObjects created as part of commit.
Created in NX10.0.0
License requirements: None.
attributeHolderObjects |
unsafe void NXOpen.PDM.ObjectCreateBuilder.SetTypes | ( | string[] | tcTypes, |
string[] | baseTCTypes | ||
) |
Set Types for which AttributeHolderObject needs to be created.
This method will remove all previously set types.
Created in NX10.0.0
License requirements: None.
tcTypes | |
baseTCTypes |
|
getset |
Returns or sets the default destination folder string for the object being created.
The default destination folder string can be <username>:<folder>:<folder>, or :<folder>:<folder> means username is optional. In case of :<folder>:<folder>, the first : indicates Home, for example, :Newstuff, is the Newstuff folder in current user's Home container.
Created in NX10.0.0
License requirements to get this property: None.
License requirements to set this property: None.