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

Editing Mulitple Dimension Styles

3 REPLIES 3
Reply
Message 1 of 4
Cinimod89
283 Views, 3 Replies

Editing Mulitple Dimension Styles

 

 

 

Is there a way to edit multiple dimension styles at once?

 

 

 

dsm.png 

 

 

 

3 REPLIES 3
Message 2 of 4
scot-65
in reply to: Cinimod89

I'll start, others can chime in...

 

Create a MyList of dimension styles:

(tblnext "DIMSTYLE" T)

 

(if (> (length MyList) 0)

 (foreach item MyList

  command .dim restore item exit

  tweak the individual dimvars

  command .dim save item yes exit

 );foreach

);if

 

Maybe a simple yes/no dialog box asking the user if next dimension style requires editing?

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Message 3 of 4
Cinimod89
in reply to: scot-65

 

 

 

 

Do you think this is one of the main reasons for annotative dimensions..? So that you don't have to update mulitple dimension styles and can just use one style which prints at a consistant height based on the viewport's scale..   If that's really what it's meant for then my school royally f'd up the class on dimensioning

 

 

 

 

Message 4 of 4
Shneuph
in reply to: Cinimod89

You only need one dimension style (and textstyle) for all viewport scales.  You can change the size of text and dimension using textsize and dimscale variables. IF they will only be shown in viewports with the same scales.

 

Annotative objects are meant to appear in one spot in model space but be displayed through multiple, differently scaled viewports.  I have no need for this functionality but I'm sure it is usefull for others.

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

Post to forums  

Autodesk Design & Make Report

”Boost