cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Martin Walter
Enthusiast

check if window tool is active

If the user clicks the Window Tool, then a preview of the last selected library part is shown and the element can be inserted with a click. How can I check via the API by code, if this preview is actually shown or if the mouse arrow is shown?

 

window tool1.png

 

window tool2.png

AC22-27, Windows 11, i7-1355U, 32GB RAM, 2TB SSD
1 Reply 1
Hiromichi Shinkawa
Graphisoft
Graphisoft

Hi, You can monitor whether user switches to Window Tool by using ACAPI_Notification_CatchToolChange() command

and also, get the last selected window settings by ACAPI_Element_GetDefaults(), but I'm afraid you're not able to monitor the operation whether user moves the mouse on wall or not.

HTH.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!