write a script to split a whole set curved line using (split at joint) that is visible in line edit option in hypermesh
Answers
-
Hello Satya
You can understanding how to write a tcl by taking note of the commands used in command.tcl file while performing the operations manually in the tool like line edit /split at joint It is present in Start In directory or Current working directory . (Edit -> Command File).
For example : *surfaceaddpoint 10 170.302645 70.0000434 58.5009772 is a command that adds a point to surface with id 10 and co-ordinates (170.302645,70.0000434,58.5009772) . The *surfaceaddpoint are internal Hyperworks APIs which you can utilize to generate tcl scripts.
I would recommend to use Hyperworks search or Hyperworks reference guide to understand the syntax and arguments required for these commands. (https://help.altair.com/hwdesktop/hwd/topics/reference/hm/_surfaceaddpoint.htm)
The list for Tcl commands for Hyperworks are : https://help.altair.com/hwdesktop/hwd/topics/chapter_heads/commands_and_functions_scripts_r.htm
Do you plan the ask the user to select the red points for line splitting ? *createmarkpanel command can be used to take inputs and to save the inputs use hm_getmark command.
0