Jump to content

Ut_options Required For Gdb->save()?


Recommended Posts

Hi,

In h9 it appears that I need to use a UT_Options when writing a gdp to a .bgeo or whatever. I just set this to NULL and it works fine, but as it's not documented (that I can find) I'm curious what it's used for?

Cheers,

Peter B

Link to comment
Share on other sites

Hi,

In h9 it appears that I need to use a UT_Options when writing a gdp to a .bgeo or whatever. I just set this to NULL and it works fine, but as it's not documented (that I can find) I'm curious what it's used for?

Cheers,

Peter B

It's used for passing options to the save function (of course).

The only options happen to be:

bool "savegroups"

bool "savepointgroups"

bool "saveprimitivegroups"

So, you can disable saving of groups when you save the geometry.

It might be used for other things in the future.

Link to comment
Share on other sites

It's used for passing options to the save function (of course).

The only options happen to be:

bool "savegroups"

bool "savepointgroups"

bool "saveprimitivegroups"

So, you can disable saving of groups when you save the geometry.

It might be used for other things in the future.

Cool, thanks. Any chance of those being documented, like in the header file? :)

Cheers,

Peter B

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...