Author Topic: jig or transient graphics follow crosshairs  (Read 1976 times)

0 Members and 1 Guest are viewing this topic.

sdunn

  • Newt
  • Posts: 90
jig or transient graphics follow crosshairs
« on: March 20, 2012, 06:36:31 PM »
I am thinking about adding graphics similar to the paint brush in the match properties command.  I would want to add the various glyps near the crosshairs during a selection.  An example would be to show a point symbol when the user needs to select a point on screen and then change to another symbol for the next selection type.

I have seen where this was done in lisp with grread, but can it be done in .net? 

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8755
  • AKA Daniel
Re: jig or transient graphics follow crosshairs
« Reply #1 on: March 20, 2012, 08:23:45 PM »
have a lool at PointMonitor

TheMaster

  • Guest
Re: jig or transient graphics follow crosshairs
« Reply #2 on: March 20, 2012, 09:02:41 PM »
I am thinking about adding graphics similar to the paint brush in the match properties command.  I would want to add the various glyps near the crosshairs during a selection.  An example would be to show a point symbol when the user needs to select a point on screen and then change to another symbol for the next selection type.

I have seen where this was done in lisp with grread, but can it be done in .net?

There's an API for setting a 'supplemental' cursor bitmap, and I'm pretty
sure that it's exposed to managed code, so you might want to search or
explore AutoCAD's managed assemblies with Reflector or ILSpy.