The Area http://area.autodesk.com/forum/ The Area en Copyright 2012 2012-05-22T07:34:54+02:00 Don't know how to write this simple script http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/dont-know-how-to-write-this-simple-script/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/dont-know-how-to-write-this-simple-script/page-last/#When:02:59:40Z I'd like to have a single keyboard shortcut to turn extended component selection on and off. Is that possible? VBScript command seems to be SetUserPref("SI3D_3X_COMPONENT_SELECT_MODEL"),1 for on, and SetUserPref("SI3D_3X_COMPONENT_SELECT_MODEL"),0 for off. What can I do? 2012-05-05T02:59:40+02:00 CGeometryAccessor & shape normals http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/cgeometryaccessor--shape-normals/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/cgeometryaccessor--shape-normals/page-last/#When:11:50:04Z Hello, I need to export a mesh including any attached shapes. But for shapes, I want to include normals as well, rather than just position offsets. That is, for every shape, I want to know what the resulting normals would be if the shape is applied. Is that possible through CGeometryAccessor? If not, is there any other way? Thanks 2012-02-29T11:50:04+02:00 [WTA]get information keytangent in fcurve-Python http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/wtaget-information-keytangent-in-fcurve-python/page-last/ http://area.autodesk.com/forum/autodesk-softimage/xsi-sdk/wtaget-information-keytangent-in-fcurve-python/page-last/#When:21:39:04Z hello... how to get [b]Angle of R/L Slope[/b] and [b]Length of R/L Slope[/b] information in aniation editor with python code. Any ideas? thx 2012-02-22T21:39:04+02: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+02: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+02: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+02: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+02: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+02: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+02: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+02:00