Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lisp to set cannoscale by selecting dims

5 REPLIES 5
Reply
Message 1 of 6
boatman38
1200 Views, 5 Replies

Lisp to set cannoscale by selecting dims

Hello,

 

I am still green at lisp creation.  I would like to create a lisp to change my cannoscale to match that of an existing dimension in model space.  we use tabs and therefore have many different scales for the vports in our drawings.  i want to be able to type my command, have acad ask for a annotative dimension to match, i click it, then the lisp resets my cannoscale to match.

 

Thank you for any help i can get.

5 REPLIES 5
Message 2 of 6
pendean
in reply to: boatman38

Message 3 of 6
Ian_Bryant
in reply to: boatman38

Hi,

try loading the attached LSP file.

The ENT-SCALE function sets the current annotation scale to

the displayed annotation scale of a selected annotative object.

Ian

 

 

Message 4 of 6
boatman38
in reply to: boatman38

Excellent!!!  Just in time for a big project with way too many details!!  thank you so much

Message 5 of 6
Ian_Bryant
in reply to: boatman38

Hi,

the previous version will fall over if the entity selected

has been changed from being annotative to not being annotative.

The attached revised version allows for this.

Ian

Message 6 of 6
smaher12
in reply to: Ian_Bryant

I was looking for something like this. It works great. Thanks!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost