Registered forum members do not see this ad.
When the 3DSOUT or 3DSIN commands are run in AutoCAD 2006, there is a 3D Studio File Export, or Import, dialog box that appears. I am working on some VBA code to automatically create 3DS files from a selection set of 3D solids. This same VBA code will also import the created 3DS files into a new AutoCAD dwg.
Everything works fine, except that I am forced to interact with these options dialog boxes. At a minimum, I have to either select the OK button on the Export dialog box or select the Add All and OK buttons on the Import dialog box. I have tried using the sending key strokes to each program through VBA to simulate the button clicks, but that does not work.
My question is, is there a way to automatically perform the button clicks that I am doing within VBA or AutoLISP? If these button clicks could be automated, or if the 3DSOUT and 3DSIN commands can somehow receive arguments to automatically perform these tasks that are performed by the button clicks, that would be a big help. This is especially true when I have over 800 3D solids in my selection set that I wish to do this to.
Any help would be appreciated.
Have a Blessed day!!