executing two commands by only typing in one?

Discussion of MicroSurvey CAD related issues and questions.

Moderators: Brian Sloman, Jason Poitras, James Johnston

executing two commands by only typing in one?

Postby Rheal » Fri Jul 14, 2006 9:27 am

Is there a way to do follow-up commands. Simple example; if I know I want to lenghthen a line dynamically, instead of typing LEN (enter) then DY (enter), is there a way I can do it all in one command.
Posts: 1
Joined: Mon Jul 03, 2006 6:07 pm

Postby Glen Cameron » Fri Jul 14, 2006 12:35 pm

Being the Dynamic portion is not a command - it is an option inside the LENGTHEN command - it can't be executed as one command.

Even an alias will not permit you to run the command and an option on one keyboard entry, unless it was part of a LISP routine (then it may allow it).

Glen W. Cameron, C.E.T.
City of North Bay, Ontario
Glen Cameron
Posts: 1395
Joined: Fri Nov 08, 2002 12:18 pm
Location: Corbeil, Ontario, Canada

Postby rwhatman » Tue Jul 18, 2006 9:36 am

After you type LEN a prompt box pops up with a list of options.

DY is on it and you just have to pick it.

I got tried of all the typing so I have turned ON the prompt box menu.

After you put the prompt box in one place, out of the way it comes up in that same spot.

So when I use the Lengthen command. I just pick on the lengthen button then pick option.

Two picks may be not as good as one command, but you don't have remember dozen of commands.
Posts: 299
Joined: Sun Nov 10, 2002 6:41 am
Location: Peterborough, Ontario, Canada

Postby Brian Sloman » Wed Jul 19, 2006 1:40 pm

As Glen suggested, this can be done by creating a simple Lisp command. Add a line such as the following to the alias file C:\Program Files\MicroSurvey\MSCAD2005\SUPPORT\mscad2005.pgp, then go to CAD Tools > Customize, click the Aliases tab, and import the PGP file.

LENDY,*(command "LEN" "DY")

I use a similar command for zooming extents:
ZX,*(command "ZOOM" "E")
User avatar
Brian Sloman
Product Manager
Posts: 403
Joined: Fri Jan 07, 2005 4:42 pm
Location: Westbank, BC, Canada

Return to MicroSurvey CAD

Who is online

Users browsing this forum: No registered users and 1 guest