NXOpen .NET Reference Guide
1899
|
Represents a NXOpen.Assemblies.ReplaceComponentBuilder builder. More...
Public Types | |
enum | ComponentLayerOption { Maintain, Original, Work, AsSpecified } |
Represents possible layer option for replacement part More... | |
enum | ComponentNameOption { Maintain, Original, AsSpecified } |
Represents possible component name option for replace operation More... | |
enum | ComponentReferenceSet { Maintain, EntirePart, Empty, Others } |
Represents possible reference set for replacement part More... | |
Public Member Functions | |
unsafe NXOpen.Assemblies.ReplaceComponentBuilder.ComponentReferenceSet | GetComponentReferenceSetType (out string referenceSetName) |
Get the reference set More... | |
unsafe NXOpen.ErrorList | GetErrorList () |
Get the list of components that failed to replace with their corresponding error codes. More... | |
unsafe NXOpen.PartLoadStatus | RegisterReplacePartLoadStatus () |
Register the part load status with the replace operation. More... | |
unsafe void | SetComponentReferenceSetType (NXOpen.Assemblies.ReplaceComponentBuilder.ComponentReferenceSet componentReferenceSet, string referenceSetName) |
Set the reference set 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 bool | AllowTemporaryPartsToReplace [get, set] |
Returns or sets the flag to determine whether unsaved parts are allowed to replace. More... | |
unsafe int | ComponentLayer [get, set] |
Returns or sets the layer for the new replacement part. More... | |
unsafe NXOpen.Assemblies.ReplaceComponentBuilder.ComponentLayerOption | ComponentLayerOptionType [get, set] |
Returns or sets the layer options More... | |
unsafe string | ComponentName [get, set] |
Returns or sets the component name More... | |
unsafe NXOpen.Assemblies.ReplaceComponentBuilder.ComponentNameOption | ComponentNameType [get, set] |
Returns or sets the component name options More... | |
unsafe NXOpen.SelectDisplayableObjectList | ComponentsToReplace [get] |
Returns the objects to be replaced. More... | |
unsafe bool | MaintainRelationships [get, set] |
Returns or sets the maintain relationships More... | |
unsafe bool | ReplaceAllOccurrences [get, set] |
Returns or sets the replace all occurrences More... | |
unsafe string | ReplacementPart [get, set] |
Returns or sets the replacement part. 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 NXOpen.Assemblies.ReplaceComponentBuilder builder.
Input to this class can be PSM facet objects.
To create a new instance of this class, use NXOpen.Assemblies.AssemblyManager.CreateReplaceComponentBuilder
Default values.
Property | Value |
---|---|
ComponentLayer |
1 |
ComponentLayerOptionType |
Maintain |
ComponentName | |
ComponentNameType |
AsSpecified |
MaintainRelationships |
1 |
ReplaceAllOccurrences |
0 |
Created in NX6.0.0
|
inline |
Get the reference set
Created in NX6.0.0
License requirements: None.
referenceSetName | Name of the reference set |
|
inline |
Get the list of components that failed to replace with their corresponding error codes.
Caller need to dispose the error list after processing it.
Created in NX8.0.2
License requirements: None.
|
inline |
Register the part load status with the replace operation.
If during the operation a part could not be loaded, then this object will be used to store error information.
Created in NX6.0.1
License requirements: assemblies ("ASSEMBLIES MODULE")
|
inline |
Set the reference set
Created in NX6.0.0
License requirements: assemblies ("ASSEMBLIES MODULE")
componentReferenceSet | Reference set |
referenceSetName | Name of the reference set. Used only when componentReferenceSet is NXOpen.Assemblies.ReplaceComponentBuilder.ComponentReferenceSet.Others |
|
getset |
Returns or sets the flag to determine whether unsaved parts are allowed to replace.
If set to true, then this may result in loss of unsaved data.
Created in NX7.5.1
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")
|
getset |
Returns or sets the layer for the new replacement part.
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")
|
getset |
Returns or sets the layer options
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")
|
getset |
Returns or sets the component name
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")
|
getset |
Returns or sets the component name options
Created in NX7.5.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")
|
get |
Returns the objects to be replaced.
Created in NX6.0.0
License requirements: None.
|
getset |
Returns or sets the maintain relationships
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")
|
getset |
Returns or sets the replace all occurrences
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")
|
getset |
Returns or sets the replacement part.
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: assemblies ("ASSEMBLIES MODULE")