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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Mapkey Syntax?

doneill
12-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

8 REPLIES 8
Trebla
15-Moonstone
(To:doneill)

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


@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
Trebla
15-Moonstone
(To:MartinHanak)

Hi @MartinHanak 

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

doneill
12-Amethyst
(To:Trebla)

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

 

 

 

 

 

Trebla
15-Moonstone
(To:doneill)

Hi Doneill

 

a lot of mapkey tips here

doneill
12-Amethyst
(To:Trebla)

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.

insert.png

 

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


Martin Hanák

Thanks

Top Tags