Stefan Bender Posted September 29, 2021 Share Posted September 29, 2021 Dear developers, depending on the activated snapping modes, VW displays horizontal or vertical guidelines starting at the cursor position along with the preview of the window while our window tool is in insert mode. However, as soon as the cursor is over a wall, these guidelines disappear. We noticed that VW window still does show a guideline along the wall when the cursor is over a wall so we would like to have the same behavior. How can we make the cursor display these guidelines, too? Is it some special flag or call we need to make somewhere? Or do the guidelines disappear as side effect of some SDK call? Thanks for any help, Stefan Bender Quote Link to comment
Guest SteveJ Posted September 29, 2021 Share Posted September 29, 2021 @Stefan Bender Are you asking about the "Full Screen Cursor" when you mention horizontal and vertical guidelines? Perhaps a quick movie to confirm? Quote Link to comment
Stefan Bender Posted September 29, 2021 Author Share Posted September 29, 2021 125069_test_video.m4v Quote Link to comment
Guest SteveJ Posted September 29, 2021 Share Posted September 29, 2021 Got it. Understand. I will ask @Vlado about the Insertion tool code path you are using. Quote Link to comment
Guest SteveJ Posted September 29, 2021 Share Posted September 29, 2021 Is this a regression? Quote Link to comment
Stefan Bender Posted September 29, 2021 Author Share Posted September 29, 2021 According to the movie, it was reported for VW 2021, SP 2. Don't know if it existed before. I'm just going through some old bugs trying to evaluate them. Quote Link to comment
Guest SteveJ Posted September 29, 2021 Share Posted September 29, 2021 A great example of a shortfall in user experience. I would think this should not be a job for the Window tool. I would expect this be a fix in for the main application/SDK to make. I will look for a way to get hold of the CW Window tool. Or, @Vlado, Perhaps we can find a sample tool that shows the same behavior Quote Link to comment
Maarten DE Posted September 29, 2021 Share Posted September 29, 2021 Not sure if it helps, but we had something alike several years ago, and the reason for it was that we adjusted our dashed preview when the user hoovered over a wall (for example, for some configurations, the frame should use the same thickness of its parent wall, so when the user hoovered over that wall, dashed preview was adjusted so the frame got the same thickness as the wall). Is see in your video that your dashed preview does change too when the user hovers over the wall (and at that moment, that red dashed line is gone too). We had to take the code that adjusted the object while hoovering over the wall out to fix the issue. I had a look in our repository but I couldn't find the fix anymore. Quote Link to comment
Stefan Bender Posted September 30, 2021 Author Share Posted September 30, 2021 Yes, if the cursor hovers over a wall, the window data are recalculated based on that wall's thickness and cavities and the preview is replaced using the CallDefaultTool mechanism. Quote Link to comment
Maarten DE Posted September 30, 2021 Share Posted September 30, 2021 It might be a long shot, but if you take that part out, does the restriction work again? Because in our case, it fixed several issues (but again, I'm talking about several years ago, VW changed a lot since then). Quote Link to comment
Guest SteveJ Posted September 30, 2021 Share Posted September 30, 2021 Thanks for the insight Maarten. We can look at CallDefaultTool mechanism if this turns out to be the issue. @Stefan Bender We may need to get hold of the Window and the info that lets us run in debug mode. Perhaps this info and attachments are attached to a previous build? Anyway, thanks for digging in on this. Quote Link to comment
Stefan Bender Posted October 5, 2021 Author Share Posted October 5, 2021 Hi Steve, here's the plug-in built with 27.0.1, CL 617382. Fenster CW.vwlibrary.zip Fenster CW.vwlibrary.dSYM.zip Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.