I don't know of any way to get parameters like that (eg there's no
FindObjects equivalent for parameters, except for the one I already pointed
you to). Ultimately, after you get your list of every single projectitem in
the scene, I think you'll have to go through the list of parameters and
pull out the string ones.

So, maybe look into using C++ and ProjectItem::GetParameters.



On Fri, Sep 14, 2012 at 8:47 AM, Vladimir Jankijevic <
[email protected]> wrote:

> found the thread but it didn't help. What I'm after is to get a collection
> (or pyhton list) of every parameter in the scene, regardless if it's on a
> object, material, icenode, custom parameter set or property or whatever,
> that is of ValueType 'siString'.
>
> I just can't find an efficient way of doing this
>
> On Fri, Sep 14, 2012 at 12:16 PM, Stephen Blair 
> <[email protected]>wrote:
>
>> See the "Get Parameters" thread, from Dec 2009, on this list.
>>
>>
>> On Fri, Sep 14, 2012 at 6:00 AM, Eric Thivierge <[email protected]>wrote:
>>
>>> Might have to search for params using the classid found in the SDK
>>> Explorer. Might need to use xsi.FindObjects() then.
>>>
>>> --------------------------------------------
>>> Eric Thivierge
>>> http://www.ethivierge.com
>>>
>>>
>>> On Fri, Sep 14, 2012 at 7:52 PM, Vladimir Jankijevic <
>>> [email protected]> wrote:
>>>
>>>> xsi.FindObjects2(c.siParameterID) returns an empty collection :(
>>>>
>>>>
>>>> On Fri, Sep 14, 2012 at 11:28 AM, Eric Thivierge 
>>>> <[email protected]>wrote:
>>>>
>>>>> xsi.FindObjects2() ?
>>>>>
>>>>> --------------------------------------------
>>>>> Eric Thivierge
>>>>> http://www.ethivierge.com
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Sep 14, 2012 at 7:10 PM, Vladimir Jankijevic <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> oh, I see now, the Filter method isn't working because the type of
>>>>>> the parameters is defined in the ValueType property of the parameter.
>>>>>> Still, is there a easier way of getting all parameters in the scene than
>>>>>> lopping all over everything?
>>>>>>
>>>>>>
>>>>>> On Fri, Sep 14, 2012 at 11:02 AM, Vladimir Jankijevic <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> hello list,
>>>>>>>
>>>>>>> is there a convenient way of finding all parameters in the scene of
>>>>>>> a specific type? I can't even get the ParameterCollection.Filter() 
>>>>>>> method
>>>>>>> to work. ParameterCollection.Filter('siString') returns 'None'. In fact,
>>>>>>> the Filter method always returns 'None' on a ParameterCollection.
>>>>>>>
>>>>>>> Any hints?
>>>>>>>
>>>>>>> thanks
>>>>>>>
>>>>>>> --
>>>>>>> ---------------------------------------
>>>>>>> Vladimir Jankijevic
>>>>>>> Technical Direction
>>>>>>>
>>>>>>> Elefant Studios AG
>>>>>>> Lessingstrasse 15
>>>>>>> CH-8002 Zürich
>>>>>>>
>>>>>>> +41 44 500 48 20
>>>>>>>
>>>>>>> www.elefantstudios.ch
>>>>>>> ---------------------------------------
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> ---------------------------------------
>>>>>> Vladimir Jankijevic
>>>>>> Technical Direction
>>>>>>
>>>>>> Elefant Studios AG
>>>>>> Lessingstrasse 15
>>>>>> CH-8002 Zürich
>>>>>>
>>>>>> +41 44 500 48 20
>>>>>>
>>>>>> www.elefantstudios.ch
>>>>>> ---------------------------------------
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> ---------------------------------------
>>>> Vladimir Jankijevic
>>>> Technical Direction
>>>>
>>>> Elefant Studios AG
>>>> Lessingstrasse 15
>>>> CH-8002 Zürich
>>>>
>>>> +41 44 500 48 20
>>>>
>>>> www.elefantstudios.ch
>>>> ---------------------------------------
>>>>
>>>
>>>
>>
>
>
> --
> ---------------------------------------
> Vladimir Jankijevic
> Technical Direction
>
> Elefant Studios AG
> Lessingstrasse 15
> CH-8002 Zürich
>
> +41 44 500 48 20
>
> www.elefantstudios.ch
> ---------------------------------------
>

Reply via email to