IGES export

IGES export

Anonymous
Not applicable
1,204 Views
2 Replies
Message 1 of 3

IGES export

Anonymous
Not applicable

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

 

Regards, Ivo

0 Likes
1,205 Views
2 Replies
Replies (2)
Message 2 of 3

adam.nagy
Autodesk Support
Autodesk Support

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
Autodesk Platform Services
Message 3 of 3

Anonymous
Not applicable

Dear Mr Adam

 

  Thanks for this lisp routine. I want to auto mate following tasks

 

1) opening multiple cad files ( lets say 'AA.cad'  to 'FF.cad') which are kept in a specified folder named 'test'

2)open file 'AA.cad'

3)stepout the 3D model contained in cad file. --to the same folder named "test'

4)close the 'AA.cad'.

5) open next cad file and repeat till all cad files are converted.

 

can you help with this with a lisp routine. we have  one month trial version Autocad16.

0 Likes