Message 1 of 3
Block lisp to change block color

Not applicable
11-06-2018
06:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I need a couple of lisp routines with the help of your wide knowledge:
1- Imagine a nested block, let's say "b1" inside "B2", both with independent objects (lines in "b1" and lines plus "b1" in
"B2") in different layers: "layer1", "layer2", "layer3" and "layer4". I would like to change all objects inside b1 and B2 ignoring objects in "layer3" and "layer4" to color "by block". Difficult?
2- Once I have that blocks with this "by block" condition, I need a second LISP that changes all "by block" colored elements inside b1 and B2 to "by layer" color (only color, not line type or line with).
Might sound silly, but it's for an specific and repetitive purpose.
Many thanks in advance