cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Get current Mode of a window

SOLVED

Get current Mode of a window

Hi @ all

I search for a function to find out if I'm inside of a special mode (like drawing mode). Is there something like this in TK or OTK ?

My current idea how to get it is to read the status of a button that's only visible in the drawing mode or something like this.

Best regards,

and thanks for your ideas,

Eike

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Get current Mode of a window

Hi,

thx to Feliks for his fast answer to use : ProModeCurrentGet(); So it didn't response like I expect to the temporary sketch mode inside of PART-> Extrusion -> Internal Sketch.

But I found ProSectionIsActive() which returns also the temporary status.

Best regards,

Eike

1 REPLY 1

Re: Get current Mode of a window

Hi,

thx to Feliks for his fast answer to use : ProModeCurrentGet(); So it didn't response like I expect to the temporary sketch mode inside of PART-> Extrusion -> Internal Sketch.

But I found ProSectionIsActive() which returns also the temporary status.

Best regards,

Eike