Userdata problem
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/08/2008 at 03:24, xxxxxxxx wrote:
User Information:
Cinema 4D Version: r10.1
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;---------
Hi again, now i am facing a strange problem concerning the userdata. i have a variable "faktor"
this is to be set by the userdata:
var faktor = op#ID_USERDATA:5;println (tostring(faktor)); gives the correct value, but if i use faktor lateron for scaling an object, the objects scale is 0. if i manually set faktor in the script:
var faktor = 3; // for examplethan it works correctly. what could cause this behaviour?
thanks and cheers,
ello -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/08/2008 at 03:31, xxxxxxxx wrote:
Please post some code example. Also where do you call the code from (COFFEE expression, script etc.)
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/08/2008 at 23:09, xxxxxxxx wrote:
thanks, its solved. for some reason, after restarting my computer the script worked. prior to the issue i had deleted a userdata field, so maybe the ID's got scrambled?
anyhow now it works...