Hello,
I found a problem in ACAD 2022.1 (R 25.0.43.3) that didn’t exist in ACAD 2021.1.1 (R24.0.30.17).
I declare a transparent command (acedDefun) : click 4 points and the command calculate the intersection point. But, if a command is running, the point is sent to the current command.
Execute (TestPntInt2L) to run the command.
- No current running command : the coordinates of the point are displayed in the command line.
- But if you are currently drawing a polyline, the intersection point is sent to the polyline (as a new vertex), and you can continue the « POLYLINE » command.
The problem now is that the usual rubber band line is not displayed when you click the 4 points during a command.
I post the source files (cpp and vcxproj)
Thank you.
Olivier BERRIER
www.geo-media.com