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
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.
Can't find what you're looking for? Ask the community or share your knowledge.