• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk ObjectARX

    Reply
    Valued Contributor
    maisoui
    Posts: 56
    Registered: ‎12-07-2009

    How to draw a custom glyph near the AutoCAD crosshair cursor?

    101 Views, 1 Replies
    12-06-2012 02:56 AM

    Hi,

     

    I have complex custom entities and I'd like to implement advanced manipulation like grip points of Polyline. I'm looking for how to draw a custom glyph neer the AutoCAD crosshair cursor, like AutoCAD does when you convert a polyline segment to an arc or you add a vertex (look at the image below).

     

    glyph_cursor.png

     

    All suggestions are welcomed.

    Best regards,

    Jonathan

     

    Please use plain text.
    Moderator
    Alexander.Rivilis
    Posts: 1,177
    Registered: ‎04-09-2008

    Re: How to draw a custom glyph near the AutoCAD crosshair cursor?

    12-06-2012 04:34 AM in reply to: maisoui

    For example with help of AcEdInputPointMonitor::monitorInputPoint.

    Using AcGiViewportDraw* drawContext parameter you can draw yours own graphics. 


    Пожалуйста не забывайте про Утвердить в качестве решения!Утвердить в качестве решения и Give Kudos!Баллы
    Please remember to Accept Solution!Accept as Solution and Give Kudos!Kudos

    Please use plain text.