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

    .NET

    Reply
    *Maksim Sestic

    Temporary graphic entity (disappears after REGEN)

    138 Views, 3 Replies
    08-11-2005 12:24 AM

    Dear all,

     

    I have noticed that some AutoCAD verticals (maybe
    even ACAD itself) use some sort of temporary graphic entities. They are commonly
    used as error markers during topology creation (Map), for example. When user
    issues REGEN command, they simply disappear. Just like they were never actually
    written into the database (DWG).

     

    What's the common ACAD term for such
    "temporary" entities and does ObjectARX (2005/2006) expose some sort of function
    for drawing/deleting them? Are there .NET examples available?

     

    Regards,

    Maksim Sestic
    Please use plain text.
    *Mike Tuersley

    Re: Temporary graphic entity (disappears after REGEN)

    08-11-2005 07:09 AM in reply to: *Maksim Sestic
    Maksim - it sounds like you are referring to "jigging" for which there is
    an example in the ObjectARX 2006 SDK called EllipseJig

    -- Mike
    ___________________________
    Mike Tuersley
    ___________________________
    the trick is to realize that there is no spoon...
    Please use plain text.
    Distinguished Contributor
    Posts: 1,691
    Registered: ‎12-15-2003

    Re: Temporary graphic entity (disappears after REGEN)

    08-11-2005 04:43 PM in reply to: *Maksim Sestic
    In lisp there is GRDRAW & GRVECS. I don't know if there is a .NET API equivalent.

    Regards - Nathan
    Please use plain text.
    *Maksim Sestic

    Re: Temporary graphic entity (disappears after REGEN)

    08-12-2005 12:00 AM in reply to: *Maksim Sestic

    Nathan, you're
    right. I recall using these two Lisp functions years ago to
    achieve described effect. Mike mentioned AcEdJig .NET API class exposed in
    ObjectARX 2006, and I guess this is a topic to start researching further
    (although still not sure if this is the right thing). Jig
    enables a "rubber band" (ghosting) effect.


    size=2>
     

    Nathan, Mike - thanks a lot for your
    suggestions.

     

    Regards,

    Maksim Sestic

     

    In lisp there is GRDRAW &
    GRVECS. I don't know if there is a .NET API equivalent.

    Regards -
    Nathan
    Please use plain text.