NXOpen .NET Reference Guide
1899
|
Represents a builder class that performs add existing component operation in current context. More...
Public Types | |
enum | CamComponentType { Target, Resource, Workpiece } |
Represents CAM component type that can be present during add component in manufacturing mode More... | |
enum | LocationType { Snap, WorkPartAbsolute, DisplayedPartAbsolute, DisplayedPartWCS } |
Represents initial location type that can be present during add component More... | |
Public Member Functions | |
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... | |
unsafe void | GetAllProductInterfaceObjects (out NXOpen.Assemblies.ProductInterface.InterfaceObject[] productInterfaceObjects) |
Returns all product interface objects available, one of these can be used as component anchor More... | |
unsafe NXOpen.Assemblies.AddComponentBuilder.CamComponentType | GetCamComponentType () |
Get the CAM component type during add component. More... | |
unsafe NXOpen.Assemblies.ProductInterface.InterfaceObject | GetComponentAnchor () |
Returns the component anchor used for adding component More... | |
unsafe int | GetCount () |
Gets the number of components to be added. More... | |
unsafe void | GetInitialLocationAndOrientation (out NXOpen.Point initialLocation, out NXOpen.CoordinateSystem initialOrientation) |
Returns the location and orientation used for adding component More... | |
unsafe NXOpen.Assemblies.AddComponentBuilder.LocationType | GetInitialLocationType () |
Get the initial location type during add component. More... | |
unsafe bool | GetKeepConstraintsOption () |
Gets the keep constraints option for added components. More... | |
unsafe void | GetLogicalObjects (out NXOpen.PDM.LogicalObject[] logicalObjects) |
Returns the pre-creation objects More... | |
unsafe void | GetLogicalObjectsHavingUnassignedRequiredAttributes (out NXOpen.PDM.LogicalObject[] logicalObjects) |
Returns the pre-creation objects which have unassign required attributes More... | |
unsafe NXOpen.ErrorList | GetOperationFailures () |
Returns add component operation failures More... | |
unsafe void | GetPartsToAdd (out NXOpen.BasePart[] partsToUse) |
Returns the parts to be used for adding components More... | |
unsafe bool | GetScatterOption () |
Gets the scatter option for added components. More... | |
unsafe void | OrientToWCS () |
Orient added components to the WCS More... | |
unsafe void | RemoveAddedComponents () |
Removes the components added through add component More... | |
unsafe void | RemovePartsFromSelection (NXOpen.BasePart[] partsToRemove) |
Removes the specified parts from the selected parts list More... | |
unsafe void | ResetToSnapped () |
Resets the component to snapped position and orientation More... | |
unsafe void | ReverseZDirection () |
Reverse the Z direction of added components More... | |
unsafe void | RotateAlongZDirection () |
Rotate added components along Z direction by 90 degrees More... | |
unsafe void | SetCamComponentType (NXOpen.Assemblies.AddComponentBuilder.CamComponentType camCompType) |
Set the CAM component type during add component. More... | |
unsafe void | SetComponentAnchor (NXOpen.Assemblies.ProductInterface.InterfaceObject componentAnchor) |
Sets the component anchor to be used for adding component More... | |
unsafe void | SetCount (int count) |
Sets the number of components to be added. More... | |
unsafe void | SetInitialLocationAndOrientation (NXOpen.Point initialLocation, NXOpen.CoordinateSystem initialOrientation) |
Sets the location and orientation to be used for adding component. More... | |
unsafe void | SetInitialLocationAndOrientation (NXOpen.Point3d point, NXOpen.Matrix3x3 orientation) |
Sets the location and orientation to be used for add component. More... | |
unsafe void | SetInitialLocationType (NXOpen.Assemblies.AddComponentBuilder.LocationType locationType) |
Set the initial location type during add component. More... | |
unsafe void | SetKeepConstraintsOption (bool keepConstraintsOption) |
Sets the keep constraints option for added components. More... | |
unsafe void | SetPartsToAdd (NXOpen.BasePart[] partsToUse) |
Sets the parts to be used for adding components More... | |
unsafe void | SetPendingInstance (NXOpen.NXObject pendingInstance) |
Sets the allocate pending instance at time of instance creation for manage pending component. More... | |
unsafe void | SetScatterOption (bool scatterOption) |
Sets the scatter option for added components. More... | |
unsafe void | SetSynchDisplayProperties (bool synchDisplayProperties) |
Sets the option to synchronize display properties with the component to be added 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... | |
Public Member Functions inherited from NXOpen.TaggedObject | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
override string | ToString () |
Returns a String that represents the current Object. More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
unsafe string | ComponentName [get, set] |
Returns or sets the component name for added components. More... | |
unsafe string | DesignElementType [get, set] |
Returns or sets the type of a add component More... | |
unsafe NXOpen.FileNew | FileNewDescriptor [get] |
Returns the file new descriptor to identify an added component in 4GD More... | |
unsafe int | Layer [get, set] |
Returns or sets the layer for added components. More... | |
unsafe string | ReferenceSet [get, set] |
Returns or sets the reference set for added components. More... | |
Properties inherited from NXOpen.Builder | |
unsafe NXOpen.PreviewBuilder | PreviewBuilder [get] |
Returns the preview builder subobject. More... | |
Properties inherited from NXOpen.TaggedObject | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Represents a builder class that performs add existing component operation in current context.
Context can be Assembly or 4GD.
To create a new instance of this class, use NXOpen.Assemblies.AssemblyManager.CreateAddComponentBuilder
Created in NX12.0.0
Represents initial location type that can be present during add component
|
inline |
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.
|
inline |
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.
|
inline |
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.
|
inline |
Returns all product interface objects available, one of these can be used as component anchor
Created in NX12.0.0
License requirements: None.
productInterfaceObjects |
|
inline |
Get the CAM component type during add component.
Created in NX12.0.2
License requirements: None.
|
inline |
Returns the component anchor used for adding component
Created in NX12.0.0
License requirements: None.
|
inline |
Gets the number of components to be added.
Created in NX12.0.0
License requirements: None.
|
inline |
Returns the location and orientation used for adding component
Created in NX12.0.0
License requirements: None.
initialLocation | |
initialOrientation |
|
inline |
Get the initial location type during add component.
Created in NX12.0.0
License requirements: None.
|
inline |
Gets the keep constraints option for added components.
Created in NX12.0.0
License requirements: None.
|
inline |
Returns the pre-creation objects
Created in NX12.0.0
License requirements: None.
logicalObjects |
|
inline |
Returns the pre-creation objects which have unassign required attributes
Created in NX12.0.0
License requirements: None.
logicalObjects |
|
inline |
Returns add component operation failures
Created in NX12.0.0
License requirements: None.
|
inline |
Returns the parts to be used for adding components
Created in NX12.0.0
License requirements: None.
partsToUse |
|
inline |
Gets the scatter option for added components.
Created in NX12.0.0
License requirements: None.
|
inline |
Orient added components to the WCS
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
|
inline |
Removes the components added through add component
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
|
inline |
Removes the specified parts from the selected parts list
Created in NX1847.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
partsToRemove |
|
inline |
Resets the component to snapped position and orientation
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
|
inline |
Reverse the Z direction of added components
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
|
inline |
Rotate added components along Z direction by 90 degrees
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
|
inline |
Set the CAM component type during add component.
Created in NX12.0.2
License requirements: assemblies ("ASSEMBLIES MODULE")
camCompType |
|
inline |
Sets the component anchor to be used for adding component
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
componentAnchor |
|
inline |
Sets the number of components to be added.
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
count |
|
inline |
Sets the location and orientation to be used for adding component.
Orientation is optional and user can pass a null reference (Nothing in Visual Basic).
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
initialLocation | |
initialOrientation |
|
inline |
Sets the location and orientation to be used for add component.
Orientation is optional and user can pass a null reference (Nothing in Visual Basic).
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
point | |
orientation |
|
inline |
Set the initial location type during add component.
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
locationType |
|
inline |
Sets the keep constraints option for added components.
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
keepConstraintsOption |
|
inline |
Sets the parts to be used for adding components
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
partsToUse |
|
inline |
Sets the allocate pending instance at time of instance creation for manage pending component.
Created in NX1899.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
pendingInstance |
|
inline |
Sets the scatter option for added components.
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
scatterOption |
|
inline |
Sets the option to synchronize display properties with the component to be added
Created in NX12.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
synchDisplayProperties |
|
getset |
Returns or sets the component name for added components.
Created in NX12.0.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")
|
getset |
Returns or sets the type of a add component
Created in NX12.0.0
License requirements to get this property: None.
License requirements to set this property: nx_4gd_integration ("4th Generation Design")
|
get |
Returns the file new descriptor to identify an added component in 4GD
Created in NX12.0.0
License requirements: None.
|
getset |
Returns or sets the layer for added components.
Created in NX12.0.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")
|
getset |
Returns or sets the reference set for added components.
Created in NX12.0.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")