If memory serves, the parameter in question MUST exist on at least one
object in the partition for it be to added to an overrride. Thats why you
have to specify the fullname of an object and not just the parameter. A
real pain in the ass to deal with, but also keeps your overrides clean -
which is very important given how much overhead they produce.
Matt
---------------------
Matt Lind
Animator / Technical Director
Softimage certified instructor:
Softimage|3D
Softimage|XSI
Matt.Lind(at)Mantom.net
Date : Wed, 4 Jul 2007 14:43:53 -0400
To : XSI(at)Softimage.COM
From : "Bernard Lebel" <3dbernard(at)gmail.com>
Subject : SIAddEntryToOverride
Has anyone ever found a way to add entries to overrides when the
parameters to overrides are not found in the partition?
I'm trying to create overrides by scripting, and supplying only the
parameter scriptname of the entry to the command raises an error.
For instance, this succeeds:
siaddentrytooverride( oOver.fullname, "grid.visibility.viewvis", 2 );
But this fails
siaddentrytooverride( oOver.fullname, "viewvis", 2 );
However, once the entry is added, print the entry scriptname returns
viewvis. Argh!
Thanks
Bernard
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi