.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IGES export

2 REPLIES 2
Reply
Message 1 of 3
ivo.zagar
693 Views, 2 Replies

IGES export

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

 

Regards, Ivo

2 REPLIES 2
Message 2 of 3
adam.nagy
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
Autodesk Platform Services
Message 3 of 3
webcom2007
in reply to: adam.nagy

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.

Tags (1)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost