Following are examples for the Export operation:
•Export a part:
ugmanager_clone -pim=yes -u=<userid> -p=<password> -g=<group> -o=export -par=@DB/12345/A
-default_n=autotranslate
•Export a part with a drawing:
ugmanager_clone -pim=yes -u=<userid> -p=<password> —g=<group> -o=export -par=@DB/12345/A
-copy_n=<type>:yes -default_n=autotranslate
where <type> is specification or manifestation. If you do not enter a type, the drawing is not exported.
•Export an assembly:
ugmanager_clone -pim=yes -u=<userid> -p=<password> -g=<group> -o=export -asse=@DB/6789/A
-default_n=autotranslate
•Export an assembly with checkout:
ugmanager_clone -pim=yes -u=<userid> -p=<password> -g=<group> -o=export -asse=@DB/6789/A
-default_n=autotranslate -default_checko=yes•Export multiple assemblies:
ugmanager_clone -pim= -o=export -default_dir=c:\temp -default_n=autotranslate
-asse=@DB/widget_assy1/A -asse=@DB/widget_assy2/A
•Export only the assembly UGMASTER and its non-masters:
The solution is a three part process that requires a simple editing procedure to complete.
?Use the following command to generate the export.clone log file.
ug_clone -pim=yes -u=<userid> -p=<password> -g=<group> -o=export
-asse=@DB/<item_id>/<rev_id> -default_a=exclude -default_n=autotranslate –drIn this process, you can find only the –asse= option used, and the exclude action for the –default_n and the –dr (for dryrun) options added. The log file contains all the children of the assembly.
It is acceptable to have the children of the assembly in the log file, as it is programmed to exclude all the specified items from the export.
?Open the export.clone log file in an editor, and change the Cloning_Action for the relevant UGMASTER part (in the earlier process, it is the Part: @DB/<item_id>/<rev_id>) from Default_Disp to OVERWRITE.
In the following process, it is programmed that only the UGMASTER and its non_masters are exported.
&LOG Part: @DB/<item_id>/<rev_id>&LOG Cloning_Action: OVERWRITE Naming_Technique: DEFAULT_NAMING?Rerun the export using the edited export.clone log file as input.
ug_clone -pim=yes -u=<userid> -p=<password> -g=<group> -o=export -l=export.clone