NX Specifying different folders for each component when cloning assembly

2019-06-04T16:24:12Z
NX for Design

Summary


Details

--------------- 
Is it possible to specify different folders for each component or sub-assembly 
when cloning an assembly ?



Solution

  It is possible to create separate destination folders for the 
 components/sub-assemblies. You can do the following steps:


1)    Main tab: Add Assembly to select the assembly you want to clone
2)    Define Naming Rule 
3)    Define Default Output Directory
4)    Toggle on Dry Run --> Execute to create a clone log:

Assembly Cloning Log File
&LOG Operation_Type: CLONING_OPERATION
&LOG Default_Cloning_Action: CLONE
&LOG Default_Naming_Technique: NAMING_RULE
&LOG Naming_Rule_Type: APPEND_PREFIX Append_String: "clone-"
&LOG Default_Container: ""
&LOG Default_Directory: "Z:\NX12\"
&LOG Default_Part_Type: ""
&LOG Default_Part_Name: ""
&LOG Default_Part_Description: ""
&LOG 
&LOG Part: "Z:\NX12\assembly1.prt"
&LOG Cloning_Action: DEFAULT_DISP Naming_Technique: DEFAULT_NAMING Clone_Name: "Z:\NX12\clone-assembly1.prt" 
&LOG Part: "Z:\NX12\cone.prt" Cloning_Action: DEFAULT_DISP Naming_Technique: DEFAULT_NAMING Clone_Name: "Z:\NX12\clone-cone.prt" 
&LOG Part: "Z:\NX12\cylinder.prt" Cloning_Action: DEFAULT_DISP Naming_Technique: DEFAULT_NAMING Clone_Name: "Z:\NX12\clone-cylinder.prt" 
&LOG Part: "Z:\NX12\block.prt" Cloning_Action: DEFAULT_DISP Naming_Technique: DEFAULT_NAMING Clone_Name: "Z:\NX12\clone-block.prt" 


5) Edit clone log Default_Naming_Technique from
 NAMING_RULE to USER_NAME  and provide your folder along with the name for the parts

Assembly Cloning Log File
&LOG Operation_Type: CLONING_OPERATION
&LOG Default_Cloning_Action: CLONE
&LOG Default_Naming_Technique: : USER_NAME 
&LOG Naming_Rule_Type: APPEND_PREFIX Append_String: "clone-"
&LOG Default_Container: ""
&LOG Default_Directory: ""
&LOG Default_Part_Type: ""
&LOG Default_Part_Name: ""
&LOG Default_Part_Description: ""
&LOG 
&LOG Part: "Z:\NX12\assembly1.prt"
&LOG Cloning_Action: DEFAULT_DISP Naming_Technique: DEFAULT_NAMING Clone_Name: "Z:\NX12\clone\clone-assembly1.prt" 
&LOG Part: "Z:\NX12\cone.prt" Cloning_Action: DEFAULT_DISP Naming_Technique: DEFAULT_NAMING Clone_Name: "Z:\NX12\folder1\clone-cone.prt" 
&LOG Part: "Z:\NX12\cylinder.prt" Cloning_Action: DEFAULT_DISP Naming_Technique: DEFAULT_NAMING Clone_Name: "Z:\NX12\folder2\clone-cylinder.prt" 
&LOG Part: "Z:\NX12\folder2\block.prt" Cloning_Action: DEFAULT_DISP Naming_Technique: DEFAULT_NAMING Clone_Name: "Z:\NX12\folder3\clone-block.prt" 

6) Go to Log Files tab --> Load and Apply Existing Log File --> Select the new edited clone log.
7) Main tab to execute Dry Run making sure everything ok
8) Execute




Notes and References


Hardware/Software Configuration

Platform: all
OS: n/a
OS Version: n/a
Product: NX
Application: ASSEMBLIES
Version: V12.0.2
Function: ASSEMBLY_MODEL

Ref: 001-6962047

KB Article ID# PL8010079

Contents

SummaryDetails

Associated Components

Assemblies