.NET

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

IGES export

304 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: 611
Registered: ‎03-26-2007
Message 2 of 2 (292 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!