- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
I have not found the magic routine !
Please I need a Lisp routine to separate Hatch depending on Colors or on Names
So I see the routine like :
- Classic ACAD selection
- Keep into the selection ONLY Hatch Object
- Question: Separate by Color (Default) or by Name ?
- Process the 1st Hatch and create (Make Layer) based on the layer hatch "XXXXXX"
==== If Color Separation ====
If standard Color (0-256), Layer Name : XXXXXX___NNN (where NNN is 0-256)
( I would like 3 numbers if possible !? )
If RGB Color , Layer Name : XXXXXX___RRR_GGG_BBB
( I would like 3 x 3 numbers if possible !? )
==== If Name Separation ====
Layer name : XXXXXX___ANSI31 , XXXXXX___SOLID , etc
Process the next Hatch ...
Do you see what I mean ? ... Thanks in advance ...
The sample DWG would help you ...
THE HEALTH, Regards, Patrice (The Old French EE Froggy)
I am hidden into my bunker ...
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks
Patrice BRAUD
Solved! Go to Solution.