TheSwamp
Code Red => .NET => Topic started by: sdunn on December 23, 2021, 05:16:38 PM
-
I need to add an onscreen indicator of the state of a selection. The user is selecting a point on the screen and the state can be toggled from x-axis to y-axis.
I am jigging a polyline along the crosshair to represent the axis and when the selection is toggled, I rotate the polyline to the opposing axis. This works unless someone uses the crosshairs at 100% size. The jig is then covered up by the crosshairs. I can set a width on the polyline jig, but the width is static to the current space and not relative to the screen.
Is there a way to make the jig appear above the crosshairs or be sized relative to the screen?
Is there a better option to represent the axis that can be changed during an on-screen selection?
Thank you,
Stacy
-
Maybe you can custom draw your own crosshair, or representation of the axis?
In Arx I would derive my jig from Jig AcEdJig and AcDbEntity, to use world draw, I think .NET already has such a jig