Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/11/2008 at 05:16, xxxxxxxx wrote:
User Information: Cinema 4D Version: 10.111 Platform: Windows ; Language(s) : C.O.F.F.E.E ;
--------- Hello. With the following code I can read the userdata of a coffe-tag. After changing the var, the console shows the correct value, but not the attribute-manager. How I change the ID_USERDATA in the attribute-manager? Please help.
> <code> > main(doc,op) > { > var tag=op->GetFirstTag(); > while (!tag==NULL && !instanceof(tag, CoffeeExpressionTag)) > { > tag=tag->GetNext(); > } > if (!instanceof(tag, CoffeeExpressionTag)) return false; > > var active=tag#ID_USERDATA:1; > println(active); //console:=0 > active=1; > println(active); //console:=1 > } > </code>
thx, René
On 18/11/2008 at 05:20, xxxxxxxx wrote:
Quote: _How I change the ID_USERDATA in the attribute-manager? > > * * * _
This should work:
> \> tag#ID_USERDATA:1 = myvalue; //my value for the userdata \>
\> tag#ID_USERDATA:1 = myvalue; //my value for the userdata \>
cheers, Matthias
On 18/11/2008 at 05:25, xxxxxxxx wrote:
hello and thanks. It works. The result is so simple.
But i can not read the userdata of type "spline", right?
On 18/11/2008 at 05:35, xxxxxxxx wrote:
Unfortunatly spline userdata is not supported in COFFEE.
On 03/01/2009 at 01:46, xxxxxxxx wrote:
Matthias,
Does this mean that userdata is supported otherwise? If so, how can I access the native color picker within C4D?
Richard