Modules
Modules behavior for *setvalue.
*setvalue for Representations
*setvalue modules <select_type>=<selection> rep_action=<action> ?rep_name=<name>? ?rep_type=<type>? ?rep_filename=<filename>? ?rep_filecategory=<category>? ?rep_fileformat=<format>? ?detail_name=<name>? ?detail_value=<value>? ?detail_type=<type>?
- rep_action=<action>
- add - Add a representation. rep_name and rep_type are required, and rep_filecategory is optional.
- rep_name=<name>
- The name of the representation.
- rep_type=<type>
- The type of the representation.
- rep_filename=<type>
- The name of the representation file.
- rep_fileformat=<type>
- The format of the representation file.
- rep_filecategory=<type>
- The category of the representation file.
- detail_name=<name>
- The name of the detail when rep_action is detailremove or detailset.
- detail_value=<value>
- The value of the detail when rep_action is detailset. Its type must match detail_type, if specified.
- detail_type=<type>
- The type of the detail when rep_action is detailset.
*setvalue for Modules
*setvalue modules <select_type>=<selection> detail_action=<action> detail_name=<name> ?detail_value=<value>? ?detail_type=<type>?
- detail_action=<action>
- set - Adds/modifies a detail. detail_name, detail_value and detail_type are required.
- detail_name=<name>
- The name of the detail the detail_action is performed on.
- detail_value=<value>
- The value of the detail when detail_action is set. Its type must match detail_type, if specified.
- detail_type=<type>
- The type of the detail when detail_action is set.
Representation Option Information
Both the name and type are required to define a representation uniquely. The UDM ID can be used, but it is not always available. So in every command that handles a representation both rep_name and rep_type are required.
- CAD
- Conn
- Mesh
The file category (rep_filecategory) must have the same value as the representation type (rep_type). However, some use cases may set this to OnImport. Again, there is no locking to any specific values, and the command does not check for the validity of this parameter.
- rep_type is CAD
- ACIS
- CATIA
- CATIA V4
- CATIA V5
- CATIA V6
- DXF
- HMAscii
- HyperForm
- HyperMesh
- IGES
- JT
- Parasolid
- PDGS
- Creo
- SolidWorks
- STEP
- STL
- Unigraphics
- VDAFS
- rep_type is Conn
- Connector
- Weld
- rep_type is Mesh
- Abaqus
- Actran
- ANSYS
- Ansa
- HMAscii
- HyperForm
- HyperMesh
- LS-DYNA
- MADYMO
- Moldflow
- Nastran
- OptiStruct
- PAM-CRASH
- PAM-CRASH 2G
- Permas
- Radioss Block
- Radioss Bulk
- Stl
Examples
*setvalue modules id=4 rep_action=add rep_name="MyRep" rep_type="Cad"
*setvalue modules id=4 rep_action=addfile rep_name="MyRep" rep_type="Cad" rep_filename="C:/MyFiles/rep13.jt" rep_fileformat="JT"
*setvalue modules id=4 rep_action=detailset rep_name="MyRep" rep_type="Cad"
detail_name="Identity" detail_value="AK123" detail_type=string
*setvalue modules id=4 rep_action=detailset rep_name="MyRep" rep_type="Cad"
detail_name="Identity_Type" detail_value="34" detail_type=int
*setvalue modules id=4 detail_action=set detail_name="Revision"
detail_value="13.2.54-7.6.2"
*setvalue modules id=4 detail_action=remove detail_name="Revision"
Version History
2017