Query info from Card Image
Hi,
I am trying to create a script that is supposed to query node information from the Card Image .
Is there any API to capture the following information marked in the image below?
Answers
-
Hi Roshan,
You can get the attribute number for each value say X1 by editing it to another number and seeing the command.tcl (usually saved in the documents or working directory). Once you get that information use that in hm_getvalue
0 -
Thanks Livil for your response.
This method works well for properties. But for nodes, it returns either 1 or 0.
For eg,
Here, I want to capture the value of attribute 'CD'. The expected value is 3.
Any other way I can achieve this?
0 -
Hi,
You can try
hm_getvalue cards id=7222165 dataname=CD.
I doubt that may work, could you please tell me which profile and panel you're in.
0 -
Profile : Nastran
Panel name: Card Image
Entity type: Node (Belongs to CONM2 element)
Thanks
Roshan
0 -
CD is just a text, dataname of it is outputsystemid
0 -
Thanks tinh.
'hm_getvalue nodes id=7222165 dataname=outputsystemid' worked for me!
BTW, where can we find the list of correct datanames for the attributes?
0 -
Yes, but not all, in hypermesh reference help you search for data names
There are many attributes than data names, example 'PS' in node's card, with these attribs we need to look solver template
0 -
That was useful.
Thanks a lot ! Appreciate your help.
0