You can actually run this script (from xsisupport) to get a full list of
application commands. Will be much easier than searching inside dlls.

cmds = Application.Commands
l = []
for c in cmds:
    l.append( c.Name )

LogMessage(l)

On Sat, Nov 5, 2022 at 6:13 PM <[email protected]> wrote:

> [email protected]
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/xsi_list/topics>
>  Google
> Groups
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> Topic digest
> View all topics
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/xsi_list/topics>
>
>    - Activate Add-Point Tool from a script ( or known methods to start a
>    tool) <#m_4351905192494430258_group_thread_0> - 2 Updates
>
> Activate Add-Point Tool from a script ( or known methods to start a tool)
> <http://groups.google.com/group/xsi_list/t/c933ff43cdced295?utm_source=digest&utm_medium=email>
> Marco Wehe <[email protected]>: 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
>
>
> "Сергей Прохорович" <[email protected]>: 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 :)
> Back to top <#m_4351905192494430258_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/xsi_list/join>
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to [email protected].
>

-- 
You received this message because you are subscribed to the Google Groups 
"Softimage Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/xsi_list/CAOnXkYs_uidDecp1t5mLq%2Bzrq1M7t%2BmJR3d6Q3RsQ8RfC0hBZg%40mail.gmail.com.

Reply via email to