deleting line types

deleting line types

Anonymous
Not applicable
1,108 Views
3 Replies
Message 1 of 4

deleting line types

Anonymous
Not applicable

Hi everyone,

 

I wonder if there is a way to purge line types in a drawing using a lisp command.

 

The drawing has xrefs with line types , and I want to erase any duplicate or unnecessary line types.

 

Thank you in advance.

 

Eyal

 

0 Likes
1,109 Views
3 Replies
Replies (3)
Message 2 of 4

DannyNL
Advisor
Advisor

The easiest way is using:

 

(command "PURGE" "LT" "*" "N")

 

But it will only purge linetypes in the current drawing and not your XRef's.

To purge linetypes in the XRef's, the XRef drawing will need to be opened and then the PURGE command needs to be executed inside this drawing.

0 Likes
Message 3 of 4

Anonymous
Not applicable
Hello DannyNL,
 
I have tried to write this -  PURGE "LT" "*" "N"
in the command line but it doesn't work, why?
 
 
0 Likes
Message 4 of 4

cadffm
Consultant
Consultant
Danny wrote it.
You can not clean anything if it is referenced.

Sebastian

0 Likes