Message 1 of 9
Modify Existing Layer Linetype & Lineweight
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have to clean up around 100 existing drawings & I want to do the following:
- Convert existing Layer names to new ones.
- Change existing layer colours to new ones.
- Set all linetypes to "continuous".
- Set all lineweights to "default".
- Ensure all content on designated layers is "By Layer" for colour, linetype & lineweight.
I found some code (attached) to change existing Layer Name & Colour (1 & 2 in the above list), but it doesn't include the change to the linetype & lineweight. I'm assuming the the code can be modified to do this?
I'm really not strong on LISP, I can't even find the correct syntax for Linetype & Lineweight (as in, the equivalent for Colour, that being < command "_LAYER" "_CO" >.
If someone could point me in the right direction as to where I might find the library resources to access the functions (3 & 4 in the above list), I'd be grateful.
There's also the solution to item 5 in the list above, but first things first.
Thanks in advance.