Author Topic: what is a way to represent axis during jig  (Read 470 times)

0 Members and 1 Guest are viewing this topic.


  • Newt
  • Posts: 75
what is a way to represent axis during jig
« 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,

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 7283
  • AKA Daniel
Re: what is a way to represent axis during jig
« Reply #1 on: December 23, 2021, 06:28:41 PM »
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