NXOpen .NET Reference
12.0.0
|
Represents the clone operation in Add Reusable Component Builder. More...
Public Member Functions | |
unsafe void | AddAssembly (string assemName) |
Adds the part/assembly to be cloned. More... | |
unsafe void | AddAssembly (NXOpen.Part part) |
Adds the part/assembly to be cloned. More... | |
unsafe NXOpen.Tooling.ClonePart | CreateClonePartItem (string partName) |
Creates a new clone part item. More... | |
unsafe string | Commit () |
Performs the clone operation. More... | |
unsafe NXOpen.Tooling.ClonePart | FindClonePartItem (string partName) |
Find the part item to be cloned by giving part name More... | |
unsafe NXOpen.Tooling.ClonePart | FindClonePartItemByIndex (int index) |
Find the part item to be cloned by giving index More... | |
unsafe void | AddAssociatedPart (string clonedPartName, NXOpen.Tooling.ToolingCloneparttype fileType) |
Adds other part (FEM, SIM part etc. More... | |
unsafe void | SetNextNumber (int nextNumber) |
Sets the next number of clone object. More... | |
unsafe void | BuildClonePartItems (out NXOpen.Tooling.ClonePart[] clonedPartItems) |
Builds the cloned part name (item id, item name, revision id) etc. More... | |
unsafe void | BuildAllClonePartItems () |
Builds the cloned part name (item id, item name, revision id) etc with no cloned part items output. More... | |
unsafe void | SetProjectName (string projName) |
Sets the project name. More... | |
unsafe void | SetNameRule (string nameRule) |
Sets the name rule. More... | |
unsafe void | SyncPartNumber () |
Synchronize the previous number with current. More... | |
unsafe void | RestorePartNumber () |
Restore start number. More... | |
unsafe void | SetKeepItemType (bool keepItemType) |
Uses the item type which is same as original source item. More... | |
unsafe void | SetDefaultItemType (string defaultItemType) |
Sets the default item type. More... | |
unsafe void | SetDefaultNameRule (string nameRule) |
Sets the name rule (refer to the Customer Defaults). More... | |
Protected Member Functions | |
override void | FreeResource () |
Destructs the class. More... | |
Properties | |
unsafe NXOpen.Tooling.ToolingClonemethod | CloneMethod [get, set] |
Returns or sets the clone method More... | |
unsafe string | OutputFolder [get, set] |
Returns or sets the destination folder More... | |
Represents the clone operation in Add Reusable Component Builder.
To create an instance of this object use NXOpen.Tooling.AddReusablePart.CreateCloneObject
Created in NX6.0.0
unsafe void NXOpen.Tooling.CloneObject.AddAssembly | ( | string | assemName | ) |
Adds the part/assembly to be cloned.
Created in NX6.0.0
License requirements: None.
assemName | Project assembly name |
unsafe void NXOpen.Tooling.CloneObject.AddAssembly | ( | NXOpen.Part | part | ) |
Adds the part/assembly to be cloned.
Created in NX11.0.2
License requirements: None.
part | The assembly to be cloned. |
unsafe void NXOpen.Tooling.CloneObject.AddAssociatedPart | ( | string | clonedPartName, |
NXOpen.Tooling.ToolingCloneparttype | fileType | ||
) |
Adds other part (FEM, SIM part etc.
) to be cloned
Created in NX8.0.0
License requirements: None.
clonedPartName | part name |
fileType | part file type |
unsafe void NXOpen.Tooling.CloneObject.BuildAllClonePartItems | ( | ) |
Builds the cloned part name (item id, item name, revision id) etc with no cloned part items output.
Created in NX11.0.0
License requirements: None.
unsafe void NXOpen.Tooling.CloneObject.BuildClonePartItems | ( | out NXOpen.Tooling.ClonePart[] | clonedPartItems | ) |
Builds the cloned part name (item id, item name, revision id) etc.
Created in NX8.0.0
License requirements: None.
clonedPartItems | Cloned part items |
unsafe string NXOpen.Tooling.CloneObject.Commit | ( | ) |
Performs the clone operation.
Created in NX6.0.0
License requirements: None.
unsafe NXOpen.Tooling.ClonePart NXOpen.Tooling.CloneObject.CreateClonePartItem | ( | string | partName | ) |
Creates a new clone part item.
Created in NX6.0.0
License requirements: None.
partName | clone part name |
unsafe NXOpen.Tooling.ClonePart NXOpen.Tooling.CloneObject.FindClonePartItem | ( | string | partName | ) |
Find the part item to be cloned by giving part name
Created in NX6.0.0
License requirements: None.
partName | clone part name |
unsafe NXOpen.Tooling.ClonePart NXOpen.Tooling.CloneObject.FindClonePartItemByIndex | ( | int | index | ) |
Find the part item to be cloned by giving index
Created in NX9.0.1
License requirements: None.
index | index |
|
protected |
Destructs the class.
Created in NX6.0.0
License requirements: None.
unsafe void NXOpen.Tooling.CloneObject.RestorePartNumber | ( | ) |
Restore start number.
Created in NX11.0.2
License requirements: None.
unsafe void NXOpen.Tooling.CloneObject.SetDefaultItemType | ( | string | defaultItemType | ) |
Sets the default item type.
Created in NX11.0.2
License requirements: None.
defaultItemType | Default item type |
unsafe void NXOpen.Tooling.CloneObject.SetDefaultNameRule | ( | string | nameRule | ) |
Sets the name rule (refer to the Customer Defaults).
Created in NX11.0.2
License requirements: None.
nameRule | Naming rule |
unsafe void NXOpen.Tooling.CloneObject.SetKeepItemType | ( | bool | keepItemType | ) |
Uses the item type which is same as original source item.
Created in NX11.0.2
License requirements: None.
keepItemType | Keep the same item type or not |
unsafe void NXOpen.Tooling.CloneObject.SetNameRule | ( | string | nameRule | ) |
Sets the name rule.
Created in NX11.0.2
License requirements: None.
nameRule |
unsafe void NXOpen.Tooling.CloneObject.SetNextNumber | ( | int | nextNumber | ) |
Sets the next number of clone object.
Created in NX9.0.1
License requirements: None.
nextNumber | next number |
unsafe void NXOpen.Tooling.CloneObject.SetProjectName | ( | string | projName | ) |
Sets the project name.
Created in NX11.0.2
License requirements: None.
projName |
unsafe void NXOpen.Tooling.CloneObject.SyncPartNumber | ( | ) |
Synchronize the previous number with current.
Created in NX11.0.2
License requirements: None.
|
getset |
Returns or sets the clone method
Created in NX7.0.0
License requirements to get this property: None.
License requirements to set this property: None.
|
getset |
Returns or sets the destination folder
Created in NX6.0.0
License requirements to get this property: None.
License requirements to set this property: None.