cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Mapkey Syntax?

doneill
Amethyst

Mapkey Syntax?

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

Tags (2)
8 REPLIES 8

Re: Mapkey Syntax?

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...

 

rename.png

Re: Mapkey Syntax?


@Trebla wrote:

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...

 

rename.png


Hi @Trebla ,

I tried to create a mapkey using your suggestion ... unfortunatelly with no success.


Martin Hanák

Re: Mapkey Syntax?

Hi @MartinHanak 

Yes, I was wrong, useful mapkey is not possible with Rename...

Re: Mapkey Syntax?

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...

 

 

 

 

 

Re: Mapkey Syntax?

Hi Doneill

 

a lot of mapkey tips here

Re: Mapkey Syntax?

Thank you!

Re: Mapkey Syntax?


@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.

insert.png

 

Note: PTC does not provide any official information concerning mapkey syntax.


Martin Hanák

Re: Mapkey Syntax?

Thanks

Announcements