Yeah certain commands aren't, let's say, specifically compatible with Python or other scripting languages that don't support output arguments. That's an ugly explanation but is pretty much how I think of it. Either way, I don't think the new SDK docs really show what arguments are the ones returned so it may be a bit tough to know but if you take a look at the various code around and maybe some of the older docs you'll see how it works.

This may help too in Python:
http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=files/ISIVTCollection.htm,topicNumber=d30e53970

On 25/04/2013 7:57 AM, David Barosin wrote:
Look at these links - they help explain what ISIVTCollections are and when they are returned.
http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=files/outarg_bylang.htm,topicNumber=d30e53710
http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/index.html?url=files/ISIVTCollection.htm,topicNumber=d30e53970



On Thu, Apr 25, 2013 at 7:36 AM, Martin <[email protected] <mailto:[email protected]>> wrote:

    Hi list,

    I have a question about SIImportMatLib command.

    I was trying to get the return value in jscript without success
    until I checked Eric's  ET_PassManager code where he is using

    oMatLib  =  xsi.SIImportMatLib(strMatLibPath)("Value")


    and the oMatLib gets the return value.


    It works (in jscript too) and I'm using it now, but why does it work?

    I mean, where this ("Value") thing comes from?

    When should I use it?

    Thanks





    M.Yara



Reply via email to