Marco Wehe <marco...@gmail.com>: Nov 05 04:19AM -0700
Hi,
I haven't got xsi on me right now to test this. But usually this error
means that you aren't supplying the right arguments.
Most functions (tools) require some input. i.e. Tool(object) - you have to
make sure you give it the object, this might be the current selection or a
name.
In your case it needs valid curve object.
`SIAddPointOnCurve( InputObj, [InsertPosition], [X], [Y], [Z], [Local],
[CurveType] );`
http://docs.autodesk.com/SI/2015/ENU/Softimage-Developer-Help/#!/url=./si_cmds/SIAddPointOnCurve.html
See the example in the SDK guide.
Hope that helps,
Marco
"Сергей Прохорович" <serjp...@gmail.com>: Nov 05 04:31AM -0700
No, its a different command. `SIAddPointOnCurve adds points as a result of
execution, while result of execution of AddPointOnCurveTool() should be an
activated 'Add-Point' tool in viewport.
Anyway, I used content search inside dll files inside softimage folders
looking for "AddPoint", "PointOnCurve" etc strings and found the correct
name for the command. So there are three commands instead:
AddPointOnCurveToolByCVs, AddPointOnCurveToolByKnotPoints,
AddPointOnCurveToolByBezierKnotPoints
which is kinda logical, since in UI also three commands available. And I
tried some name combos before but turned out I was adding 'ByCVs' in wrong
place ( AddPointOnCurveByKnotsTool ) heh.
From now on searching inside dlls would be my last resort trick :)
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to xsi_list+u...@googlegroups.com.