Description: i am trying to get the system id assigned to an CBUSH element using hm_getentityvalue command like the following,
set prop_id [hm_getentityvalue elems $elem_id "propertyid" 0 -byid].
please help me with this
Product/Topic Name : Hypermesh, TCL, script
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