Node class docs

61 views
Skip to first unread message

James do Carmo

unread,
Sep 17, 2012, 11:10:39 AM9/17/12
to cora...@googlegroups.com
Hi,

I want to create some custom nodes, with allowDynamicAttributes set to True.

But I cant find the correct method to call from the derived class, and I dont see any docs of that classes.

I have also tryed to use python 'help(Node)' command, but its shouts an error: 

" 'more' is not recognized as an internal or external command, operable program or batch file"

Thanks in advance,

Dorian FEVRIER

unread,
Sep 17, 2012, 12:02:32 PM9/17/12
to cora...@googlegroups.com
Hi!

Is it not "setAllowDynamicAttributes(true)" you are looking for?

This is a protected method so it should work (no?).


De : James do Carmo <jame...@gmail.com>
À : cora...@googlegroups.com
Envoyé le : Lundi 17 septembre 2012 17h10
Objet : [coral-app] Node class docs

pipoun

unread,
Sep 17, 2012, 12:08:13 PM9/17/12
to cora...@googlegroups.com, Dorian FEVRIER
In python in a subclass of Node:
self._setAllowDynamicAttributes(True)

You can see the python bindings in coral/pythonWrappers.

James do Carmo

unread,
Sep 17, 2012, 12:17:09 PM9/17/12
to cora...@googlegroups.com
Thanks guys! I will take a look..

2012/9/17 pipoun <pierre....@gmail.com>



--

James do C. Correa.
mobile:+55 (11) 9308-0045

Andrea Interguglielmi

unread,
Sep 17, 2012, 12:18:07 PM9/17/12
to cora...@googlegroups.com
Hi!

There are also some built-in python nodes that use that flag, it might be useful to have a look at them and their UIs.
Reply all
Reply to author
Forward
0 new messages