![]() |
【转帖】incorporating 3d pdf into existing file saving macro
incorporating 3d pdf into existing file saving macro
i need to incorporate 3d pdf into an existing macro. every day i deal with many (100-700) files that i need to save as step, iges, sat, etc... i already have a macro that incorporates all of these files. within that macro, i added 3d pdf. if i first open a sldprt file save as pdf and check the 3d pdf box, the macro will create 3d pdf. but if i do not, it will just create a pdf of the screen shot. how do i tell the macro to make the file a 3d pdf without having to first save a file as pdf and check the 3d pdf button? i am not too familiar with api but this is how i have it set up. newsavedname = (exportdirname & name2 & "3d" & ".pdf") 'pass new name to variable bret = swmodel.saveas4(newsavedname, swsaveascurrentversion, swsaveasoptions_silent, _ nerrors, nwarnings) if bret = false then nretval = swapp.sendmsgtouser2("problems saving file.", swmbwarning, swmbok) end if any help is greatly appreciated! quick |
所有的时间均为北京时间。 现在的时间是 09:29 AM. |