MPxNode::shouldSave -> fail for my mesh output

MPxNode::shouldSave -> fail for my mesh output

BurkhardRammner
Collaborator Collaborator
248 Views
2 Replies
Message 1 of 3

MPxNode::shouldSave -> fail for my mesh output

BurkhardRammner
Collaborator
Collaborator

Hi,
I have 2 different node types. Both have a mesh output. For both I use identical functionality for the creation of the respective attributes and both attributes are top level, non-multi attributes.
Both are set to be storable, because I want to store them (yes).
For both nodes I implemented the MPxNode::shouldSave() functionality.
Yet only for one of the two node types, the function is called when I save.
Sooooo...why may that be? I am clueless...
Thanks for help!

0 Likes
249 Views
2 Replies
Replies (2)
Message 2 of 3

cheng_xi_li
Autodesk Support
Autodesk Support

Hi BurkhardRammer,

 

Could you send us a sample code with sample scene setup? I could have a look at it. 

 

Yours,

Li

0 Likes
Message 3 of 3

BurkhardRammner
Collaborator
Collaborator

@cheng_xi_li  Will come back to that later...thank you.

0 Likes