Discussion forum
CAD discussion |
Please abide by the rules of this forum.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
Autocad drawing convert to script |
Post Reply |
Author | |
pavlos_x
Newbie Joined: 28.May.2017 Location: Cyprus Using: Autocad 2017 Status: Offline Points: 2 |
Topic: Autocad drawing convert to script Posted: 28.May.2017 at 08:04 |
Hello this is my first post, i am looking to convert the attached autocad file to script so i will be able to use the commands to convert to php in order to output and download again the schematic as dxf file. |
|
Kent Cooper
Senior Member Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 626 |
Posted: 30.May.2017 at 15:18 |
Rather than going by way of PHP, can you just make a .DXF file of it directly with AutoCAD's own tools for that? That is, use SAVEAS and choose the DXF file format? Or the equivalent DXFOUT [not documented in Help for later versions, but still there]?
If not, do you mean the same thing by "script" as AutoCAD does? [It has a specific meaning in AutoCAD, but I have known people to use it in a more generic way.] A Script [.SCR] file could presumably be written that would draw that drawing again, but it would be a powerfully long Script, and it's hard to imagine how to automate the conversion from the .DWG file, since no record is kept of the command sequence, only the resulting drawing entities. But if the only reason you want to do that is to end up with a .DXF file, see the first paragraph.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,346 seconds.