![]() |
This task will show you how to filter CATProducts or CATParts into a CATPart with no specification. |
![]() |
Make sure the input CATProduct or CATPart exists. |
![]() |
If a memory error or a memory warning occurs, or if the input document is corrupted, the output part or product will be empty. |
Filter CATParts |
|
![]() |
On Windows:
On UNIX:
|
Command syntax:CATDECGenerateCATPartFromCATPArt [InputPart|-L PartsList] -o OutputFile [-h -trace [TraceFile] -prop -color -selectionset - layer -pub -annot –layout2DL] where: InputPart is the full path and name of the input CATPart. -L enables to process a list of parts with the same options. The list of the parts to process is given in a .txt file. Each line of this .txt file give the complete name and path of a file to process. The names of the output files are obtained by adding a suffix -1, -2, ... to the name given with the option -o. This option loads CATIA only once. Its syntax is the same for CATDECGenerateCATProductFromCATProduct and CATDECGenerateCATParFromCATProduct Example: To process Part1.CATPart, Part2.CATPart, ... Partn.CATPart with the same option (-color):
-o declares the output file (a CATPart with its full path). additional options: -h launches the help. -trace creates a log file with output result. -prop keeps part properties. -color keeps color and attributes on sub-elements. -selectionset keeps selection sets. -layer keeps layers and filters definition. -pub keeps publications. -annot keeps annotations. –layout2DL keeps data from 2D Layout for 3D Design. |
|
|
|
![]() |
Filter CATProducts to CATProduct |
![]() |
On Windows:
On UNIX:
|
![]() |
Command syntax:CATDECGenerateCATProductFromCATProduct [InputProduct|-L ProductList] -o OutputFile [-h -trace [TraceFile] -color -prop -selectionset -layer -pub -annot -layout2DL - suffix] where: InputProduct is the full path and name of the input CATProduct. -L enables to process a list of products. For more information, please refer to option -L in Filter CATParts. -o declares the output file (a CATProduct with its full path). additional options: -h launches the help. -trace creates a log file with output result. -prop keeps the product properties of the CATParts. -color keeps color and attributes on sub-elements of the CATParts. -selectionset keeps selection sets of the CATParts. -layer keeps layers and filters definition. -pub keeps publications of CATParts. -annot keeps annotations of CATParts. –layout2DL keeps data from 2D Layout for 3D Design. -suffix declares the suffix to add to part numbers and display names.
|
![]() |
All the documents (CATProduct and CATParts) are stored in the folder given by the -o option. To avoid name conflicts, an automatic suffix (_1, _2,...) is added when needed. |
Filter CATProducts to CATParts |
|
![]() |
On Windows:
On UNIX:
|
Command syntax:CATDECGenerateCATParFromCATProduct [InputProduct|-L ProductList] -o OutputFile [-h -trace [TraceFile] -color -merge] where: InputProduct is the full path and name of the input CATProduct -L enables to process a list of products. For more information, please refer to option -L in Filter CATParts. -o declares the output file (a CATPart with its full path). additional options: -h launches the help. -trace to a file with output result. -color Keeps color. -merge Merges all bodies of each CATPart in one body.
|
|
|