CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 5794
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

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.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedAutocad drawing convert to script

 Post Reply Post Reply
Author
pavlos_x View Drop Down
Newbie
Newbie


Joined: 28.May.2017
Location: Cyprus
Using: Autocad 2017
Status: Offline
Points: 2
Direct Link To This Post 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.
 
uploads/729122/MDB1.dwg
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 626
Direct Link To This Post 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.
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,346 seconds.