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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Get current Mode of a window

Eike_Hauptmann
13-Aquamarine

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


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

1 REPLY 1

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

Top Tags