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

    .NET

    Reply
    Contributor
    joshua.prettyman
    Posts: 14
    Registered: ‎01-26-2012
    Accepted Solution

    Temporary Line

    144 Views, 2 Replies
    03-13-2012 06:40 PM

    I'm working on a little command that would be really nice to have a temporary line drawn between some points while you're picking them.  Something akin to the little line that's drawn in the Measure Distance command.  The thing is, I don't really know what this is... can anybody point me in the right direction?

    Please use plain text.
    Valued Mentor
    KerryBrown
    Posts: 259
    Registered: ‎11-29-2008

    Re: Temporary Line

    03-13-2012 07:50 PM in reply to: joshua.prettyman

     

    If I understand correctly you want a rubberband line whwn selecting the second point.

     

    In the PromptPointOptions set

     .UseBasePoint = true;

     .BasePoint = firstPoint;

     

     

    see if that helps.

    Regards

     

    //-------------------------------------------------------

    class keyThumper<T> : Lazy<T>;      another  Swamper


    I do not endorse the social media app links below:smileyembarrassed:

    Please use plain text.
    Contributor
    joshua.prettyman
    Posts: 14
    Registered: ‎01-26-2012

    Re: Temporary Line

    03-22-2012 10:11 AM in reply to: KerryBrown

    Sorry for the wait, I thought I'd checked this but apparently it didn't catch.  That solution was exactly what I was looking for, thanks.

    Please use plain text.