slave to all I'm trying to create which ilogic (actually playing) but I can't figure out how to save a stp file in a certain folder
Can anyone help me?
thanks in advance
io sto utilizzando questo comandino (trovato in rete e poi modificato)
' set reference to active document.
odoc = thisapplication.activedocument
' check the document type is an assembly or part
if (odoc.documenttype <> kassemblydocumentobject and _
odoc.documenttype <> kpartdocumentobject) then
msgbox("error:document type is not assembly/part")
exit sub
end if
' get document's full file name
'sfname = thisdoc.pathandfilename(false) & ".sat"
sfname = thisdoc.filename(false) & ".stp"'without extension
' do a 'save copy as' to sat format
cartella_ordine = "c:\__matteo__\___email___\stp\"