Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I'd like to minimize the number of lines in my Mapkey code...
For example, today I have a line that selects "node12" (recorded cursor selection)
Select `main_dlg_cur` `PHTLeft.AssyTree` 1 `node12`;\
I know I can search the model tree but I wonder if there is a way I can just specify the Feature Name in the Tree...
Like... Select `main_dlg_cur` `PHTLeft.AssyTree` 1 `FRONT`;\
I know that doesn't work but I wonder if there is a command that will let me do that.
Thanks
Hi Doneill,
If you don't like to search for planes in the model tree, you could use Rename from Model Properties, save the mapkey using this alternative way...
Hi @MartinHanak
Yes, I was wrong, useful mapkey is not possible with Rename...
Thanks... I never noticed you could change the names there...
The Search Tool works fine... (see the code I posted in Mapkey - Select a Plane without using the Mouse )
(Martin - I have a question... I like how when you post code, it looks like it's in a text box... how did you do that?)
I'm just trying to expand my knowledge of Mapkey Code...
Are there instructions somewhere on Mapkey Commands & Syntax?
I figure there are probably some good tricks out there...
Thank you!
@doneill wrote:
Thanks... I never noticed you could change the names there...
The Search Tool works fine... (see the code I posted in Mapkey - Select a Plane without using the Mouse )
(Martin - I have a question... I like how when you post code, it looks like it's in a text box... how did you do that?)
I'm just trying to expand my knowledge of Mapkey Code...
Are there instructions somewhere on Mapkey Commands & Syntax?
I figure there are probably some good tricks out there...
Hi,
use following button to insert text box.
Note: PTC does not provide any official information concerning mapkey syntax.
Thanks