Jump to content

Save Geometry Button?


soham

Recommended Posts

Hi Guys

I want to create a button on a DA user interface which saves/exports the geometry as a .bgeo on click.

I am guessing this should be possible with the File node in Write mode but coudnt figure it out..

Any help regarding this is appreciated.

Many Thanks :)

Link to comment
Share on other sites

How to make it create a new file every time the button is clicked and not overwrite the existing file.. (and not having to change the name manually)

Many Thanks :)

add another spare channel, reference that in your file name; in your render button put this in the callback script

opparm `opfullpath(".")` parm (`ch(parm)+1`)

where parm is the name of the ref'd parm name and no you don't need quotes when refing a channel in the same node, at least in hscript...

Edited by 3dbeing
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.

×
×
  • Create New...