Newbie question about arcs

Discussion in 'AutoCAD' started by CADmike, Aug 20, 2004.

  1. CADmike

    CADmike Guest

    I'm trying to teach myself VBA. Please be patient with me.
    I'm trying an exercise to draw an arc based on user picks.
    After the user picks the center point, I'm stuck on how to
    achieve both the start point and radius with one pick. I'm probably over-thinking this, but I'm not coming up with an answer. I can't decide if I want to use GetPoint, GetDistance, GetAngle or what. It seems like these options give me either the point or the radius, but not both. Thanks for your help.
     
    CADmike, Aug 20, 2004
    #1
  2. The radius you can get using simple math.
    R=sqr(dx^2+dy^2)

    --
    Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica

    over-thinking this, but I'm not coming up with an answer. I can't decide if
    I want to use GetPoint, GetDistance, GetAngle or what. It seems like these
    options give me either the point or the radius, but not both. Thanks for
    your help.
     
    Jorge Jimenez, Aug 20, 2004
    #2
  3. CADmike

    greg hoyt Guest

    use GetPoint, then compute the distance between the first point and the
    second point to get the radius.

    greg
     
    greg hoyt, Aug 20, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.