General Category > Ongoing Anim8or Development
ASL Attribute Functions
Steve:
It isn't possible to read attributes from a parameteric plugin script. The origional idea of a parameteric object is that it should be statically defined, independent of it's environment and of time. So any reference to outside values was forbidden. Allowing them to reference time/frame number breaks this model, of course, but it is simpler than allowing arbitrary references which can be very complex to compute, so thay aren't allowed (at the present :))
2020 Hindsight:
:( And here was me hoping to talk you into making scan accept strings as well as file handles:
scanner $scan;
string $commandString;
$commandString = "boat,15,20,4,1,30,6,1\nboat,30,10,4,1,-150,6,1\n";
$scan.initialize($commandStirng);
Navigation
[0] Message Index
[*] Previous page
Go to full version