NX Open C++ Reference Guide
Public Member Functions
NXOpen::Tooling::CloneObject Class Reference

Represents the clone operation in Add Reusable Component Builder. More...

Inheritance diagram for NXOpen::Tooling::CloneObject:
NXOpen::TransientObject

List of all members.

Public Member Functions

void AddAssembly (const NXString &assemName)
 Adds the part/assembly to be cloned.
void AddAssociatedPart (const NXString &clonedPartName, NXOpen::Tooling::ToolingCloneparttype fileType)
 Adds other part (FEM, SIM part etc.) to be cloned.
void BuildClonePartItems (std::vector< NXOpen::Tooling::ClonePart * > &clonedPartItems)
 Builds the cloned part name (item id, item name, revision id) etc.
NXOpen::Tooling::ToolingClonemethod CloneMethod ()
 Returns the clone method.
NXString Commit ()
 Performs the clone operation.
NXOpen::Tooling::ClonePartCreateClonePartItem (const NXString &partName)
 Creates a new clone part item.
NXOpen::Tooling::ClonePartFindClonePartItem (const NXString &partName)
 Find the part item to be cloned by giving part name.
NXString OutputFolder ()
 Returns the destination folder.
void SetCloneMethod (NXOpen::Tooling::ToolingClonemethod cloneMethod)
 Sets the clone method.
void SetOutputFolder (const NXString &outputFolder)
 Sets the destination folder.
virtual ~CloneObject ()
 Destructs the class.

Detailed Description

Represents the clone operation in Add Reusable Component Builder.


To create an instance of this object use Tooling::AddReusablePart::CreateCloneObject

Created in NX6.0.0.


Constructor & Destructor Documentation

Destructs the class.


Created in NX6.0.0.

License requirements : None


Member Function Documentation

Adds the part/assembly to be cloned.


Created in NX6.0.0.

License requirements : None

Parameters:
assemNameProject assembly name

Adds other part (FEM, SIM part etc.) to be cloned.


Created in NX8.0.0.

License requirements : None

Parameters:
clonedPartNamepart name
fileTypepart file type

Builds the cloned part name (item id, item name, revision id) etc.


Created in NX8.0.0.

License requirements : None

Parameters:
clonedPartItemsCloned part items

Returns the clone method.


Created in NX7.0.0.

License requirements : None

Performs the clone operation.

Returns:

Created in NX6.0.0.

License requirements : None

Creates a new clone part item.

Returns:
the new Tooling::ClonePart instance
Created in NX6.0.0.

License requirements : None
Parameters:
partNameclone part name

Find the part item to be cloned by giving part name.

Returns:
The returned Tooling::ClonePart instance
Created in NX6.0.0.

License requirements : None
Parameters:
partNameclone part name

Returns the destination folder.


Created in NX6.0.0.

License requirements : None

Sets the clone method.


Created in NX7.0.0.

License requirements : None

Parameters:
cloneMethodclonemethod

Sets the destination folder.


Created in NX6.0.0.

License requirements : None

Parameters:
outputFolderIf this folder is not set, it will use the folder of display part

The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.