.NET

Reply
Active Member
ivo.zagar
Posts: 8
Registered: ‎03-19-2011
Message 1 of 2 (309 Views)

IGES export

309 Views, 1 Replies
02-21-2012 12:30 PM

Is it possible to export IGES files from .NET or lisp?

 

Regards, Ivo

ADN Support Specialist
adam.nagy
Posts: 622
Registered: ‎03-26-2007
Message 2 of 2 (297 Views)

Re: IGES export

02-21-2012 06:14 PM in reply to: ivo.zagar

HI there,

 

Here is a code that may need to be changed depending on which AutoCAD version you are using:

<code>

;-----------------------------------------------
; Lisp routine for IGESOUT
;-----------------------------------------------
(defun c:run_igesout()
(setvar "cmddia" 0)
(setvar "filedia" 0)
(arxload "igesout.arx")
(igesout "test.dwg" "")
(arxunload "igesout.arx")
)
;-----------------------------------------------

</code>

 

In AutoCAD 2012 use "AcIges.arx" instead of "igesout.arx" and "igesexport" instead of "igesout"

 

Cheers,

Adam Nagy

Autodesk Developer Network



Adam Nagy
Developer Technical Services
Autodesk Developer Network
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.