ICommandRegistry

is there a quick way to get the ICommandRegistry on Python?

a documentation rather than going to VisualStudio and get it.

i’m simply trying to activate the Snap tool on .NET rather than using the ‘interactiveSnap’ tool in Python.

came to a bummer because the ICommandRegistry entry is not documented anywhere.

1 Like

app = getApplication()
cmd = app.findCommand(“netCommand”)
cmd.execute(“YourCommandId”)