r it’s the tag or the value. Just
> switch “oParameter.Tags” with “oParameter.value” in my example and you have
> your answer.****
>
> ****
>
> If you’re looking to retrieve a specific value, or parameters with a
> common value, then you have no choice but to loop through all
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of jo benayoun
Sent: Thursday, February 28, 2013 2:49 PM
To: softimage@listproc.autodesk.com
Subject: Re: fastest way through script to get all parameters in a scene of
certain value?
Hey Enoch,
unless I missed something, the way you're doi
nly useful if you’re setting a set of
> parameters to a common value.
>
> ** **
>
> ** **
>
> Matt
>
> ** **
>
> ** **
>
> *From:* softimage-boun...@listproc.autodesk.com [mailto:
> softimage-boun...@listproc.autodesk.com] *On Behalf Of *Enoch Ihd
a common value.
Matt
From: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Enoch Ihde
Sent: Thursday, February 28, 2013 10:00 AM
To: softimage
Subject: Re: fastest way through script to get all parameters in a scene of
certain value?
sorry, i wa
t;>> If the parameters you are attempting to modify have a large degree of
>>>> consistency in name and location, you can use some of Softimage’s wildcards
>>>> to find them faster:
>>>>
>>>> ** **
>>>>
>&g
s wildcards
>>> to find them faster:
>>>
>>> ** **
>>>
>>> var oParameters = XSIFactory.CreateActiveXObject( “XSI.Collection” );***
>>> *
>>>
>>> oParameters.Unique = true;
>>>
>>> ** **
>>>
>>> // Get viewvis and rendv
gt;>
>> LogMessage( oParameters.Count );****
>>
>> ** **
>>
>> If there is a large degree of consistency in the parameter fullname, you
>> can apply values to the parameters en masse very efficiently:
>>
>> ** **
>>
>>
gt;
> ** **
>
> Matt****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* softimage-boun...@listproc.autodesk.com [mailto:
> softimage-boun...@listproc.autodesk.com] *On Behalf Of *Enoch Ihde
> *Sent:* Wednesday, February 27, 2013 9:55 PM
> *To:* sof
: softimage
Subject: Re: fastest way through script to get all parameters in a scene of
certain value?
better stated: certain parameter name, not value, apologies, running behind on
sleep, words are challenging.
On Feb 27, 2013 7:54 PM, "Enoch Ihde"
mailto:emi...@gmail.com>> wrote
better stated: certain parameter name, not value, apologies, running behind
on sleep, words are challenging.
On Feb 27, 2013 7:54 PM, "Enoch Ihde" wrote:
> these are the three methods i've tried.
> using tags is the fastest, but a little prohibitive, as you have to have
> anticipated needing to g
10 matches
Mail list logo