Forum

Get "Value" node method

25 February 2016 15:12
Hi,
I'd like to know if there is a way to get the actual value of the INPUT VALUE NODE with javascript.

I am able to set this value from js using API method [m_obj.set_nodemat_value()] but I can't manage to obtain the modified value from the material to make some checks.

Can anyone help me?

Thanks in advance,
Laura
25 February 2016 16:51
Ответ на сообщение пользователя l.venturi
Hi,
I'd like to know if there is a way to get the actual value of the INPUT VALUE NODE with javascript.

I am able to set this value from js using API method [m_obj.set_nodemat_value()] but I can't manage to obtain the modified value from the material to make some checks.

Can anyone help me?

Thanks in advance,
Laura

Hello, Laura.

I think, such API can be useful. We will add it in the next release.
As for now, you can save the node value to some container and reassign it when set_nodemat… functions are called. Not the most convenient way, but it will work.
25 February 2016 18:10

Ответ на сообщение пользователя Evgeny Rodygin
Hello, Laura.

I think, such API can be useful. We will add it in the next release.
As for now, you can save the node value to some container and reassign it when set_nodemat… functions are called. Not the most convenient way, but it will work.


Thank you for your reply.
I look forward to try the next release :)

Thank you all for the great development work you have done (and yo're doing) with this this great tool.
Laura
 
Please register or log in to leave a reply.