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.
Open a dxf file in lisp |
Post Reply |
Author | |
paulodavid2004
Newbie Joined: 24.Feb.2021 Location: United States Using: AutoCAD 2021 Status: Offline Points: 2 |
Topic: Open a dxf file in lisp Posted: 24.Feb.2021 at 03:52 |
Hi, I found a partial answer to a question that I have. I need to know how to open a dxf file in a lisp. The following code opens a dwg file but not a dxf type of file. Could someone kindly help me to modify this code to open a dxf type of file. Thanks in advance!
(setq acApp (vlax-get-acad-object)) (setq acDocs (vla-get-documents acApp)) (vla-open acDocs "d:/drawings/mydrawing.dwg") |
|
Paulo
|
|
Vladimir Michl
Moderator Group Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2015 |
Posted: 24.Feb.2021 at 06:15 |
Try:
|
|
Vladimir Michl (moderator)
Arkance Systems - arkance-systems.cz - Autodesk reseller |
|
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,367 seconds.