Find more posts tagged with
Sort by:
1 - 3 of
31
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.'
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