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

delete a dimension style

3 REPLIES 3
Reply
Message 1 of 4
kpennell
718 Views, 3 Replies

delete a dimension style

Is there not a way to delete a known dimension style through AutoLISP or any other type of programming?

Thanks

KP Edited by: kpennell@genoadesign.com on Oct 14, 2008 12:06 PM
3 REPLIES 3
Message 2 of 4
JayNolan
in reply to: kpennell

Yes, you can do it with DXF group codes or with ActiveX properties, or by using the lisp (command) function:
(command "purge" "dimstyle" "ds1" "yes" "") ; where ds1 is the name of the dimstyle you want to delete
Message 3 of 4
mpa-la
in reply to: kpennell

You can just purge out unused styles with the purge command. If the style is used anywhere in the dwg, you can't get rid of it.
Message 4 of 4
kpennell
in reply to: kpennell

Bloody hell, Brain ****
I never thought of purging.
Thanks mate.

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

Post to forums  

Autodesk Design & Make Report

”Boost