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

Give existing dimensions a new dim scale

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
264 Views, 2 Replies

Give existing dimensions a new dim scale

Hi There

How do i go about giving a selection of dimension (ssdims) a new dimscale value with lisp? Dimstyle = DyerDim

Many Thanks

A
2 REPLIES 2
Message 2 of 3
Kent1Cooper
in reply to: Anonymous

One way:

{code}
(vl-load-com)
... get your 'ssdims' selection set ...
(repeat (sslength ssdims)
(vla-put-ScaleFactor
(vlax-ename->vla-object (ssname ssdims 0))
...your DimScale value...
)
(ssdel (ssname ssdims 0) ssdims)
); end repeat
{code}

[The dimension style is irrelevant.]

--
Kent Cooper


andrewscott99 wrote...
How do i go about giving a selection of dimension (ssdims) a new dimscale value with lisp?
....
Kent Cooper, AIA
Message 3 of 3
Anonymous
in reply to: Anonymous

Perfect, Thanks!

A

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

Post to forums  

Autodesk Design & Make Report

”Boost