How do I createmark on a highlighted surface within HyperWorks
Hi,
I am currently trying to make a script to selects surfaces by face.
Within this, I need to create a mark on the surfs I want "by face" to be used from, and want to do this from highlighting a surface within Hyperworks.
I had hoped there would be a way to do this by something like this:
*createmark surfs 1 "by selected"
*appendmark surfs 1 "by face"
However, the first line of code does not work/is not recognised. Would anyone have a workaround for this?
I find that right-clicking and going across to select to click by face can take a while sometimes, so wanted to register a key to do this for me using:
hm_registerkeyproc .....
Any help is much appreciated and thanks for your time,
Michael
Answers
-
do you want your first command to be interactive?
If yes, it would be:
*createmarkpanel surfs 1 "select your base surfaces"
1 -
Adriano A. Koga_21884 said:
do you want your first command to be interactive?
If yes, it would be:
*createmarkpanel surfs 1 "select your base surfaces"
Not particularly. But even then I kind of want the surfaces to be highlighted so they can be visible to the user easily.
Don't know how I would do this without creating new comps with different colours to do so.
Just want it to work like the mouse button does when highlighting surfs upon clicking on them.
Thanks anyways
0 -
Michael Siemens said:
Not particularly. But even then I kind of want the surfaces to be highlighted so they can be visible to the user easily.
Don't know how I would do this without creating new comps with different colours to do so.
Just want it to work like the mouse button does when highlighting surfs upon clicking on them.
Thanks anyways
hm_highlightmark will highlight things once they are selected with createmark.
https://2023.help.altair.com/2023/hwdesktop/hwd/topics/reference/hm/hm_highlightmark.htm
1