TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: lamarn on June 04, 2010, 03:09:10 PM

Title: Command for cannoscale
Post by: lamarn on June 04, 2010, 03:09:10 PM
Is there no normal command to change cannoscale??  :|
I don't like the flyout bar so much, the -cannoscale style is ...
Why isn't there not a normal dialog box..(!?)
Title: Re: Command for cannoscale
Post by: kpblc on June 04, 2010, 03:22:34 PM
http://www.theswamp.org/index.php?topic=29663.0 ?
Title: Re: Command for cannoscale
Post by: Crank on June 06, 2010, 08:08:12 AM
http://www.theswamp.org/index.php?topic=23970.msg290743#msg290743 (http://www.theswamp.org/index.php?topic=23970.msg290743#msg290743)
Title: Re: Command for cannoscale
Post by: lamarn on July 14, 2010, 03:25:37 AM
Not what i mean, i just want to SET the current in an old-fashioned menu. 
Don't like the default, i hate fly-out toolbars..

It would be nice to have something like a set button in de scalelistedit function.

Title: Re: Command for cannoscale
Post by: Tharwat on July 14, 2010, 06:01:40 AM
You can create a toolbar and include all the flyout tools inside it.  :police:

Regards

Tharwat
Title: Re: Command for cannoscale
Post by: mkweaver on July 14, 2010, 07:52:28 AM
Does this do what you want?

cannoscale 1-1/2" = 1'-0";

Note that you cannot set a scale that doesn't exist in the scale list.
Title: Re: Command for cannoscale
Post by: lamarn on July 14, 2010, 09:59:37 AM
Why is there no COMMAND to SET the scale??!!
Title: Re: Command for cannoscale
Post by: ronjonp on July 14, 2010, 10:10:33 AM
Why is there no COMMAND to SET the scale??!!

What's wrong with a system variable?
Title: Re: Command for cannoscale
Post by: lamarn on July 14, 2010, 04:04:56 PM
 Seems i have can not make my self more clear.
I am not looking for system vars. or code to program scale.
I just want an ordanairy AUTOCAD COMMAND to set my scale...   :?
Title: Re: Command for cannoscale
Post by: JohnK on July 14, 2010, 05:47:58 PM
Then why did you post this in the Auto Lisp forum?

http://catb.org/esr/faqs/smart-questions.html
Title: Re: Command for cannoscale
Post by: Lee Mac on July 14, 2010, 06:41:59 PM
Seems i have can not make my self more clear.
I am not looking for system vars. or code to program scale.
I just want an ordanairy AUTOCAD COMMAND to set my scale...   :?

mkweaver has already given you an "ordanairy[sic] AUTOCAD COMMAND"  :  CANNOSCALE

Title: Re: Command for cannoscale
Post by: mkweaver on July 14, 2010, 10:13:03 PM
Seems i have can not make my self more clear.
I am not looking for system vars. or code to program scale.
I just want an ordanairy AUTOCAD COMMAND to set my scale...   :?


Let's see if I understand.
  1.  You want a way to set your annotation scale factor with simple menu call.
  2.  In addition, you would like that menu call to let you select the scale factor from a simple list.

Item one, can be performed with the snippet I posted using the cannoscale system variable as if it were an autocad command.
Item two, is a bit tougher.  There is no native autocad command that will do this, however, it can be done without too much work, if you have, or are willing to use doslib. http://www.en.na.mcneel.com/doslib.htm (http://www.en.na.mcneel.com/doslib.htm)  We would be glad to help you learn how to do this.

If I've missed what you are wanting entirely, then I'm sorry for being dense - help me understand what you want.
Title: Re: Command for cannoscale
Post by: lamarn on July 15, 2010, 01:56:53 AM
I do not see cannoscale as a command, its system var for manual input.
A simple set button in the scalelistedit will do..