jdp Posted January 3, 2020 Share Posted January 3, 2020 I'm hoping to get some help to come up with a custom lisp routine that changes the components of a detail I would receive from an architect and explode the blocks and nested blocks all to my background layer "BY OTHERS". Here are the requirements: - Select specific details and not the entire drawing - All blocks and nested blocks at every level to be exploded. - All lines, polylines, arcs, circles, etc. to change to the "BY OTHERS" layer. - All hatch patterns to remain a hatch component and change to the "BY OTHERS" layer. - All linetypes to retain their original linetype setting ( I would like to possibly address this in a future revision). - After all of this is done, I would like to have all of these components to have a color and lineweight of "ByLayer" and a linetype scale of 1 and run the Overkill command. I don't know if this is allowed here but I would be willing to offer compensation for the completed routine since this seems like a lot of work and it will be used for my shop drawing practice. Thanks, Jeff Quote Link to comment Share on other sites More sharing options...
marko_ribar Posted January 3, 2020 Share Posted January 3, 2020 https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/request-for-custom-lisp-routine/td-p/9229798 1 Quote Link to comment Share on other sites More sharing options...
Augustus Posted January 4, 2020 Share Posted January 4, 2020 I could take a look at this if you'd like. Do you have a sample drawing? I don't know if this site will allow us to exchange personal email addresses. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 4, 2020 Share Posted January 4, 2020 (edited) Nice work Marko owes you a beer etc. To JDP all blocks to be exploded would it be enough to convert to bylayer "By Others" end up with a lot of lines. Edited January 4, 2020 by BIGAL Quote Link to comment Share on other sites More sharing options...
jdp Posted January 4, 2020 Author Share Posted January 4, 2020 Marko, thank again for your help. Bigal, my drawings are simple so exploding the blocks to individual components doesn't slow my work down. This routine will greatly speed things up for me. I receive a lot of dwg files exported from Revit and they have components within the blocks where the color, linetype and linetype scale aren't Bylayer and affects the final plotted graphic that my customers expect. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted January 5, 2020 Share Posted January 5, 2020 Sounds good ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.