The Area http://area.autodesk.com/forum/ The Area en Copyright 2012 2012-02-10T09:46:26+01:00 enable Eclipse debuger for python scripts in Softimage http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/enable-eclipse-debuger-for-python-scripts-in-softimage/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/enable-eclipse-debuger-for-python-scripts-in-softimage/page-last/#When:01:29:10Z Hi, I would like to debug Python scripts in Eclipse. Is this possible and how to do it? I also need code completition for XSI SDK Python modules in Eclipse. I need any advice :) 2012-02-08T01:29:10+01:00 Explicitly adding information to Deltas: siModificationDeltaGroupRelation http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/explicitly-adding-information-to-deltas-simodificationdeltagrouprelation/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/explicitly-adding-information-to-deltas-simodificationdeltagrouprelation/page-last/#When:15:24:48Z Hi All, Right now I'm trying to learn more about explicitly adding information to deltas and recently hit a point where the SDK doesn't seem to cover what I'd like to do: I've had good success following the SDK for the commands it states, but seem to be missing the command to add an entry to siModificationDeltaGroupRelation ex: siModificationDeltaType.siModificationDeltaStaticValue from http://www.kxcad.net/Softimage_XSI/Softimage_XSI_SDK_Portal/ActionDelta_AddStaticValueItem.htm var oDeltaAction = oDelta.AddAction(siModificationDeltaStaticValue) // Add the Static Value item var oActionDeltaItem = oDeltaAction.AddStaticValueItem(oCube + ".kine.global.posx", 10); what I'm looking for: siModificationDeltaType.siModificationDeltaGroupRelation var oActionDeltaItem = oDeltaAction.[u]???????????????[/u](oCube + ".kine.global.posx", 10); I'm assuming the command exists as the entries get added if I add an object to a group or partition, but have no idea how to access it explicitly. I have had success with taking an already existing entry and modifying it to do what I want, but still leaves the question. Thanks in advance! 2012-01-23T15:24:48+01:00 Python N00b How can I get All Passes http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/python-n00b-how-can-i-get-all-passes/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/python-n00b-how-can-i-get-all-passes/page-last/#When:08:41:56Z Hi.. Python N00b here.. Trying to get a list of all the passes in a scene. I can get the current pass (thanks to a post on this site) but the syntax to get all the passes is eluding me. My goal is of course to use said list of passes in a script. I have looked at Scene.Passes, Scene.PassContainer in the SDK, but not quite sure how to translate from VB to python. Any help, most appreciated. I suspect I've just failed to grasp a basic tenant. Cheers and Thanks. Barry 2011-12-02T08:41:56+01:00 C++ API ICE: Is it possible to create node which creates complete geometry? http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/c++-api-ice-is-it-possible-to-create-node-which-creates-complete-geometry/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/c++-api-ice-is-it-possible-to-create-node-which-creates-complete-geometry/page-last/#When:03:42:59Z Hi, lets say that as an input I have only path to OBJ file. I want my node to create full geometry, with UVs and normals. Is it possible? At which classes should I look? regards 2011-10-10T03:42:59+01:00 Why does CreateCurve script work in VB but not in Jscript? http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/why-does-createcurve-script-work-in-vb-but-not-in-jscript/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/why-does-createcurve-script-work-in-vb-but-not-in-jscript/page-last/#When:16:45:40Z VBScript [code] Dim oCurve CreateCurve 1, 0, "(-2,0,0),(-2,0,-2),(2,0,-2),(2,0,0)", FALSE, oCurve SelectObj oCurve, , True [/code] The script selects the newly created curve. JScript [code] var oCurve; CreateCurve(1, 0, "(-2,0,0),(-2,0,-2),(2,0,-2),(2,0,0)", false, oCurve); SelectObj(oCurve, null, true); [/code] The script does not select the newly created curve. Why??? Thanks in advance 2011-09-29T16:45:40+01:00 Altering scene's name http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/altering-scenes-name/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/altering-scenes-name/page-last/#When:02:46:29Z I'm wondering if is possible change name of scene inside siOnBeginSceneSaveAs event? I've tried this in Python in_ctxt.SetAttribute("FileName", "something") but this wont change it. Any ideas? Thank you AD 2011-09-21T02:46:29+01:00 WebGL export plugin for SoftImage 2011 http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/webgl-export-plugin-for-softimage-2011/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/webgl-export-plugin-for-softimage-2011/page-last/#When:11:54:55Z Hi all I have created a WebGL export plugin for SoftImage 2011 and released it under Creative Commons Attribution-license. Read more about it here: http://blog.nobel-joergensen.com/2011/07/24/webgl_export_softimage/ And download the plugin (incl. source code) from: https://github.com/mortennobel/SoftimageWebGLExport I hope you like it :-) - Morten 2011-09-07T11:54:55+01:00 picking data from a curve in toolcontext http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/picking-data-from-a-curve-in-toolcontext/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/picking-data-from-a-curve-in-toolcontext/page-last/#When:01:54:40Z I am tring to make a custom tool using tool context. I want to be able to pick a specific point along the length of the curve. I thought that the appropriate subcomponant filter would be siIsopointFilter but the CRefArray that is returned is empty and I would have thought that for a isopoint a value value would be returned. this is the code used for the pick session. [code] CRefArray objects; in_ctxt.Pick( l_points, siPickSingleObject, siPickRaycast, L"", CRefArray(), objects ); if ( objects.GetCount() > 0 ) { CRefArray components; in_ctxt.Pick( l_points, siPickSingleSubComponent, siPickRaycast, siUKnotCurveFilter, objects, components ); } [/code] simon 2011-09-03T01:54:40+01:00 Accessing UV Islands from scripting languages http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/accessing-uv-islands-from-scripting-languages/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/accessing-uv-islands-from-scripting-languages/page-last/#When:12:15:08Z Hi, is there a way in SI to get access to either enumerations of UV Islands or at least the ability to get connected uv points? I am trying to program a UV layout script and this must iterate over UV Islands. It is not an option to use polygon islands, since I often have one single mesh with many UV islands. Help is very appreciated. Thanks. 2011-07-13T12:15:08+01:00 Custom UI _ Python,PPG Layout - execute command code instead of object model code http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/custom-ui--pythonppg-layout---execute-command-code-instead-of-object-model-code/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/custom-ui--pythonppg-layout---execute-command-code-instead-of-object-model-code/page-last/#When:17:19:50Z hi everybody, To be mentioned first: I´m an mechanical engineer and not an information scientist. So my question: I´ve built an custom UI, and now I´m trying to execute the code I´ve readout from the script editor within this UI. On clicking the OK button the command code which was generated automatically through SI 2012, should be executed. But only the first line is being executed. I´ve found an article about prefering object model code instead of command code, but I would like to use the command code because the script with 642 lines already exist. Is there any way to make this work. Cheers, Marty_H 2011-06-15T17:19:50+01:00