TheSwamp

Code Red => .NET => Topic started by: sdunn on March 20, 2012, 06:36:31 PM

Title: jig or transient graphics follow crosshairs
Post by: sdunn 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? 
Title: Re: jig or transient graphics follow crosshairs
Post by: It's Alive! on March 20, 2012, 08:23:45 PM
have a lool at PointMonitor
Title: Re: jig or transient graphics follow crosshairs
Post by: TheMaster 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.