Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DXF save help

1 REPLY 1
Reply
Message 1 of 2
Anonymous
255 Views, 1 Reply

DXF save help

I am using this LISP that someone else created to succesfully save .dxf's to the location of the parent file.

 

(defun c:dxfsave ()
(setq dxfname (getstring 1 "\nFilename="))
(command "SAVEAS" "DXF" "VERSION" "r12" "OBJECTS" "CROSSING" "\\" "\\" "" "16" (strcat (getvar "dwgprefix") dxfname) "FILEDIA" "1")

(princ)
)

 

but...  What I need is this:

 

I want to be able to window a group of entities that include an attribute called PANEL_ID (this attribute has a value that is always different), pause and ask user if they want the object mirrored, and then save as a .dxf with the value of the attribute.  If the mirror option was yes, only the .dxf has the entities mirrored.  The original drawing stays untouched.  I know this is possible and probably even laughably easy, but I am so new to LISP i don't know where to start.  Any help will be greatly appreciated!!

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

I am interested in this solution as well, this would help me out very much. When you find a solution I hope to see and use it as well.

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

Post to forums  

Autodesk Design & Make Report

”Boost