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!!
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.