Inspire Python API - user interaction with mouse to get coordinates for sketching and modeling?

briantrease
briantrease Altair Community Member

Hello! I'd like to create some custom sketching and geometry tools in Inspire. Does the Inspire API have any features that would allow me to create scripts/extensions that incorporate user input via mouse clicks on a sketch/plane? I've been unable to find a method that will collect the coordinates of a clicked point on the plane. An example test case I'm working on is to simply replicate the Sketch > Line tool. Thanks!

(I did play with onMousePress(), but it seems to only collect data in screen coordinates, not sketch coordinates.)

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.