Exporting IGES using AutoLISP

Exporting IGES using AutoLISP

kpeppy
Participant Participant
1,047 Views
1 Reply
Message 1 of 2

Exporting IGES using AutoLISP

kpeppy
Participant
Participant

Hi all, 

 

I've been working on exporting my model in .iges form using AutoLISP commands and I continue to get the same message: "The selected objects failed to be exported to the specified file". Here's what I've been trying to do:

 (command "_export" "\\Mac\Home\Desktop\beam.igs" "_all" ""). I've been trying various locations for what I assume should be the directory and I continue to get the same thing. I'm using autocad on a virtual machine so that is why I have a mac location. The first time I ran my lisp file it told me to wait for the export to complete and no error message showed, but nothing ever exported. Every time after I get the same error message. Please provide any tips or advice to fix this. 

0 Likes
1,048 Views
1 Reply
Reply (1)
Message 2 of 2

paullimapa
Mentor
Mentor

Autolisp doesn't like single slashes so you would have to double them up:

(command "_export" "\\\\Mac\\Home\\Desktop\\beam.igs" "_all" "")

 

Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes