Thibaud Posted September 10, 2023 Share Posted September 10, 2023 Hello everyone, So I've had a recurring operation for many years and clearly it's not fun :) (in addition to the waste of time). I don't think I'm the only one in this situation, so I think it might help! Once my drawings are completed, I need to create dxf files. So far everything is normal. But then I have to open and dump these dxfs then save. One by one, it's looooooooong (less than 10sc going hard, but when you have 200 to go......) So I would like to create a lisp to save me time. Once the dxf file is opened, the lisp should be able to perform in one go and in order: -Explode the blocks -Delete 2 layers and what they contain (dimensions, line, polyline etc etc) "axes" layer and "defpoint" layer. -Transform the elements of layer 0 into a "contour" layer -Purge everything -Save in dxf2000 format. Or just save in default format, I can put the dxf200 as default beforehand. Thank you so much! Quote Link to comment Share on other sites More sharing options...
SLW210 Posted September 11, 2023 Share Posted September 11, 2023 Sounds like you need to setup and run a batch script. Solved: Apply script to multiple drawings - Autodesk Community - AutoCAD Creating a batch file to run dwg to dxf scripts - AutoCAD Beginners' Area - AutoCAD Forums (cadtutor.net) 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.