Command to select entities in HyperView
Hello,
I am trying to find a way to select entities (nodes) in my model in order to export information (Node ID, Node Coordinates, Contour etc.) through the Table function. The only valid way I found until now is selecting those entities using my cursor or the Advanced Query.
This method is quite slow considering I have to export different data in function of different Simulation Steps, I would like to find an automatic way in order to write a script to make the process quicker.
I am trying to use the HWC and Tcl Command Window and the only approach I found is the use of the command *createmark in Tcl, but it looks not compatible with HyperView but only with HyperMesh.
Is there any command that I can implement in HyperView in order to select entities?
Am I missing something using the HWC and Tcl Command Window?
Thanks for the support.
Giorgio
Best Answer
-
Hello @Giorgio D'Orazi ,
hwc commands allows to capture commands related to Query or Edition of entities in HyperMesh. hwc does not record functions related to Query (query the info table, query the Measures, …)
With tcl, you have to deal with core tcl commands to run queries. below is an example:
Please note that in version 2025 (should be released in a few weeks), Query will be made easier with Python commands.
Best Regards,
Michael
0
Answers
-
Hello @Giorgio D'Orazi ,
hwc commands allows to capture commands related to Query or Edition of entities in HyperMesh. hwc does not record functions related to Query (query the info table, query the Measures, …)
With tcl, you have to deal with core tcl commands to run queries. below is an example:
Please note that in version 2025 (should be released in a few weeks), Query will be made easier with Python commands.
Best Regards,
Michael
0