Modules
Modules behavior for hm_getvalue.
hm_getvalue for Representations
hm_getvalue modules <select_type>=<selection> rep_name=<name> rep_type=<type> ?rep_udmid=<id>? ?detail_name=<name>?
- rep_name=<name>
- ? - Returns a list of representations with their types and UDM IDs.
- rep_type=<type>
- ? - Used with rep_name to get the type of a representation.
- rep_udmid=<id>
- ? - Used with rep_name and rep_type to get the UDM ID of a representation.
- detail_name=<name>
- ? - Returns the list of details for the representation.
hm_getvalue for Modules
hm_getvalue modules <select_type>=<selection> detail_name=<name>
- detail_name=<name>
- ? - Returns the list of details for the module.
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
- Pro/E
- 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
- Pamcrash
- Pamcrash 2G
- Permas
- Radioss Block
- Radioss Bulk
- Stl
Examples
Get a list of representations for the module with ID 4:
hm_getvalue modules id=4 rep_name=?
Get all details for the module with ID 4 and CAD representation MyRep:
hm_getvalue modules id=4 rep_name="MyRep" rep_type="Cad"
Get all detail values for the module with ID 4 and CAD representation MyRep:
hm_getvalue modules id=4 rep_name="MyRep" rep_type="Cad" detail_name=?
Get a specific detail value for the module with ID 4 and CAD representation MyRep:
hm_getvalue modules id=4 rep_name="MyRep" rep_type="Cad" detail_name="Identity"
Get all detail values for the module with ID 4 :
hm_getvalue modules id=4 detail_name=?
Get a specific detail value for the module with ID 4:
hm_getvalue modules id=4 detail_name="Revision"
Version History
2017