Get System id using TCL

Best Answer
-
yes, it is the same.
Run the entity_attribute_table.tcl to get the datanames associated to any entity in HM.
0
Answers
-
what solver are you using?
If you're suing OptiStruct, and CBUSH, you could use something like
hm_getvalue elements id=$elem_id dataname=CBCID
Usually I take one of the entities in my model, and I run the attached script from the installation.
With this script, you pick one entity of your model, and it will show the datanames specific to the solver, that you can call from the hm_getvalue command.
For other basic values you could use the basic datanames:
% hm_getvalue elems id=2 dataname=collector
2
% hm_getvalue elems id=2 dataname=collector.name
CBUSH1D
% hm_getvalue elems id=2 dataname=node1
1
% hm_getvalue elems id=2 dataname=node2
5
%
% hm_getvalue elems id=2 dataname=property.id
2
% hm_getvalue elems id=2 dataname=property.name
PBUSH1D
0 -
Thank you for the information.
i am using Nastran solver. i will try CBCID command. will it work in Nastran solver?
0 -
yes, it is the same.
Run the entity_attribute_table.tcl to get the datanames associated to any entity in HM.
0 -
Thank you so much
0