Jump to content
StefanH

Difference betweet HM Query and HM Modify commands

Recommended Posts

Guest

From the online help ( HyperMesh > Reference Guide > Scripts > Creating Scripts > TCL):

"The functionality of the HyperMesh Tcl Modify commands are available through Tcl. Additionally, commands that allow you to extract information from the HyperMesh database, such as entity id numbers on a mark, a list of assemblies, component names, elements per component, nodes per element, node values, and so forth. These are known as HyperMesh Tcl Query commands. They are used to query information from the database or template system. (...)"

Regards

Share this post


Link to post
Share on other sites
On 1.3.2011 at 9:00 AM, StefanH said:

I was wondering what the difference between the query and modify commands is.

 

For example: hm_createmark and *createmark are doing the same as far as I see but why are there both?

 

Regards, Stefan

From hypermesh manual:
"With the addition of the HyperMesh Tcl commands, there are a few commands which replace the HyperMesh Modify commands. Specifically there are the hm_createmark and hm_clearmark commands. These commands perform the same functionality as the *createmark and *clearmark commands, but they are the HyperMesh Tcl equivalent. The advantage of using these commands is that it avoids situations where additional Tcl commands need to be used to evaluate the HyperMesh command. Using hm _createmark and hm_clearmark when writing Tcl scripts is the more efficient and recommended method."
 
Rahul Ponginan likes this

Share this post


Link to post
Share on other sites

For the query commands, how are the outputs from those commands viewed? For instance, if you used the hm_getelementsize, how would you be able to view the response from that command?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...