TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Pukenzz on April 22, 2020, 06:49:22 PM

Title: 3 Custom dxf buttons
Post by: Pukenzz on April 22, 2020, 06:49:22 PM
Sorry if this is not the correct spot to post...

Working on 3 custom buttons…

Button 1… File is already an existing dxf with selected version, file path etc already selected.  Click button… Result… Save as dxf, keep dxf open and keep working (incremental save to allow me to keep working)

Button 2… File is already an existing dxf with selected version, file path etc already selected.  Click button… Result… Save as dxf and close. 
When it asks if I want to save a .dwg version.  NO I DO NOT
Close that existing / open .dxf window of autocad
No pop up windows, all happens in the background 
1 click and done

Button 3… This will function similar to the dxfout function but… 
Assume working in existing .dwg file. 
Click button.  Saves .dwg file in its current version, file path etc.  Leave it open
Pop up window to allow me to choose location for new file with selected file format to become AutoCAD2000/LT2000 DXF.dxf value.
Once new dxf file name and location is user chosen, make that the current window being worked in.

If possible I’d like these all to be a macros on the custom button. 
However, I can work with lisps or scripts but can not work with VBA. 
To be clear these are 3 different buttons not 1 that has all the functions.

Thank you in advance.
Title: Re: 3 Custom dxf buttons
Post by: BIGAL on April 22, 2020, 08:39:47 PM
Write down the steps required and just add to the button or if lots load a lisp. Do you know what button commands should look like ?