Jump to content
3DCoat Forums

cmd("$SaveToObjFile") not working


Recommended Posts

  • Member

i am trying to just export the active object to a disk without popup,etc...

so i am doing:

string FileName = "C:/Users/Oliver/Documents/3D-CoatV47/Scripts/2.obj"

SetFileForFileDialogs(FileName);
SetModalDialogCallback("ModalDialogCallbackOk");

cmd("$SaveToObjFile");

 

however.. nothing happens... if instead of $saveToObjFile i use "$ExportObjects" i get a requester, but i cannot set the filename and its options  and close it automatically.  i simply want to export whats loaded as an obj.. 

any ideas ?

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...