Page 1 of 1

Shortcut key

Posted: Tue Dec 29, 2015 3:52 pm
by CAD_73
I want to make a Short Key for this symbol, but there is now way I can find it in the Shortcut key list.
Shortcut key.png

Re: Shortcut key

Posted: Mon Jan 04, 2016 2:18 pm
by Todd
Yeah I don't think that is possible without custom programming. because that is s not a function that works outside of the tree manager

Re: Shortcut key

Posted: Tue Jan 05, 2016 6:58 pm
by Mark Oostveen
The tree must be open and the main tab must be selected.... maybe by creating a own lob file and call that?

Re: Shortcut key

Posted: Tue Jan 05, 2016 9:05 pm
by Mark Oostveen
I dug into the available LOB files and is seems to be simple.

Create a file in de config or group folder called topext.men and give it the following content:

Code: Select all

Bemet {
  "Edit in tree" = $TOPHOME/d/tree/l/edit ; 
}
If you startup TopSolid you will get a "Bemet" textmenu with a "Edit in Tree" command.
Now go to tools-options-shortcut key and select Bemet as the Family. Select the "Edit in Tree" command and press your desired shortcut-key.

If the tree is open it stays open, flips to main tab and shows the element to edit.
If the tree is closed it will open, flips to main tab and shows the element to edit.

Klaar is Rene (en Kees ook). [emoji38]

Mark

Re: Shortcut key

Posted: Tue Jan 05, 2016 9:52 pm
by CAD_73
Almost there / Bijna klaar

I created a topext.men it in the GROUP folder.

Also created the shortkey

When pressing it it says: Unable to open file (C:\Missler\V616\d\tree\l\edit".lob). :?:

Re: Shortcut key

Posted: Wed Jan 06, 2016 8:20 am
by Mark Oostveen
Aaaagghh sorry made a mistake. Please remove the " behind edit in the topext.men file. Restart TopSolid.
I also changed my previous post.

Re: Shortcut key

Posted: Wed Jan 06, 2016 8:47 am
by remi77
Hi CAD

You may try the following in the topext.men

Code: Select all

	#Men#MyCommand
		{
		#"Edit in tree" = $TOPHOME/d/tree/l/edit 10" ; 
	}
See you

Rémi :wink:

Re: Shortcut key

Posted: Wed Jan 06, 2016 11:26 am
by remi77
Hi Mark

Yes, much better like this :mrgreen:

Rémi :wink:

Re: Shortcut key

Posted: Wed Jan 06, 2016 12:59 pm
by CAD_73
The shortcut key works like a charm, thanks :D