I want to make macro which will catch measured distances values to external console/window.
The built-in window of measuring tools is not working very well. For example there is wrong or no measuring history in that window.
I have an issue with macro programming. While the command of measuring is running I can't get any object of measuring (for applying own measuring by macro), or the results of measuring.
I tried HighlightSet.AddSelected for catching the measured objects, but it works only when the measuring distance is not running.
I also try to catch object through the mousedown event, but the same, it works only when no command is runnig.
Is there any way, how to read the results of measuring? Or, generally how to read outputs and used objects during the running command?
It may make more sense to report the measure command problem to GTAC.
Seems to me that the new Measure commmand does a great job of measuring, and capturing the information even after the command is terminated.
I think your idea will require a fair amount of work.
Did you look at the sample here?
C:\Program Files\Solid Edge ST9\Custom\MouseEvents
Hello, thank you for idea about copying text to clipboard. I'll try, just for fun, to copy the text from that window automatically through the UI Automation. It seems to possible.
It's my own personally, non-commercial project. I like as smooth work as possible, and this measuring console would help me. But it's not critical.