Re: Activate Add-Point Tool from a script ( or known methods to start a tool)

2022-11-05 Thread Сергей Прохорович
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", "PointOnCu

Re: Activate Add-Point Tool from a script ( or known methods to start a tool)

2022-11-05 Thread Marco Wehe
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 c

Activate Add-Point Tool from a script ( or known methods to start a tool)

2022-11-04 Thread Сергей Прохорович
Hey! Hope this group is not completely dead :) Anyone remember if it's possible to invoke a tool that can't be started with* ToolName() *command from a script? By running *var toolname = ActiveToolName; * I got // INFO : current tool: AddPointOnCurveTool but it says "// ERROR : Object expected"