The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
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?
<?xml version="1.0" encoding="UTF-8"?>
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
https://altairhyperworks.com/hwhelp/Altair/2017/help/hm_ref_guide/topics/reference/hm/hm_getvalue.htm
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?
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.
Profile : Nastran
Panel name: Card Image
Entity type: Node (Belongs to CONM2 element)
Thanks
Roshan
CD is just a text, dataname of it is outputsystemid
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?
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
That was useful.
Thanks a lot ! Appreciate your help.
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…