sidvici
@sidvici
New Member
Joined: Feb 15, 2024
Topics: 8 / Replies: 16
Reply
RE: referencing nodes in custom attributes

I tried something like this to redefine my ca. No errors, but it returns a unknown property if i try $obj.modifiers[1].A.Ctrl.node [quote=]attributes…

6 years ago
Forum
Topic
Forum
Replies: 1
Views: 18
Topic
Forum
Replies: 0
Views: 15
Reply
RE: CA parameter block question

ok, this code works. wich is odd because i just copied it out of the original code. at least i know how to access the attributes, thx lo. obj = tea…

13 years ago
Forum
Reply
RE: CA parameter block question

but there’s definitely a attributeHolder with a CA on it. spine_ca = custAttributes.getDef $.modifiers[1].Spine_def confirms that. stay tuned lo,…

13 years ago
Forum
Reply
RE: CA parameter block question

hm, i tried both, but i get a “MAXScript Rollout Handler Exception: – Unknown property: “Spine_def” “

13 years ago
Forum
Reply
RE: CA parameter block question

sc1 = SpineSeg.value+1 sc2 = SpineSeg.value+1 ( Txt = “def=attributes Spine_def ” Txt += “( ” Txt += ” parameters SpineParams rollou…

13 years ago
Forum
Reply
RE: CA parameter block question

I tried (“slider”+i as string) before, but without square brackets. But even with square brackets i get a syntax error.

13 years ago
Forum
Topic
Forum
Replies: 9
Views: 22
Reply
RE: adding controller to weight track wont work

Yep, brackets and ok works like a charm. Thank you very much guys

13 years ago
Forum
Reply
RE: adding controller to weight track wont work

Hey Johan, It’s not the error messages that bother me, like i said before it is that the same string get evaluated 200 times (for 200 lines of code) …

13 years ago
Forum
Reply
RE: adding controller to weight track wont work

Ok, weight track mistery solved. Weight is a float array so i put .weight[1] at the end it worked. The macro recorder can be confusing sometimes Any…

13 years ago
Forum
Reply
RE: adding controller to weight track wont work

and while i’m at it, here’s another question. Is it possible to disable the evaluation in the listener? I’m asking because my code contains a string…

13 years ago
Forum
Topic
Forum
Replies: 7
Views: 17
Page 1 / 2