Trans or other?

Discussion in 'AutoCAD' started by Rudy Tovar, Sep 13, 2004.

  1. Rudy Tovar

    Rudy Tovar Guest

    I've got to admit I haven't looked, but is there a trans function to Take an
    Xref line startpoint and endpoint, and have it converted to the current
    modelspace location.

    This must also take into consideration that the xref can be rotated,
    mirrored or moved.

    I know that I'd have to take the xref insertion, rotation and existing
    condition layout to calculate any selected xref line and have it
    repositioned for point in current drawing model space location.

    Has anyone created anything similar?
     
    Rudy Tovar, Sep 13, 2004
    #1
  2. Rudy Tovar

    Joe Burke Guest

    Rudy,

    Take a look at the John Uhden functions posted by BillZ under thread, "How to trans
    WCS to OCS" 9/12/2004. It contains functions to go both ways. You'd be interested in
    the @PTrans function, which does OCS to WCS.

    Most of the code you'll find there (by Larry Leuallen) is devoted to going the other
    way, WCS to OCS. IOW, it's not used by @PTrans. @PTrans only depends on John's
    4x3->4x4 function.

    Joe Burke
     
    Joe Burke, Sep 14, 2004
    #2
  3. Rudy Tovar

    David Allen Guest

    what's wrong with ncopy?
    rudy the keyin is NC :)



    "Rudy Tovar" <>
    |>I've got to admit I haven't looked, but is there a trans function to Take an
    |>Xref line startpoint and endpoint, and have it converted to the current
    |>modelspace location.
    |>
    |>This must also take into consideration that the xref can be rotated,
    |>mirrored or moved.
    |>
    |>I know that I'd have to take the xref insertion, rotation and existing
    |>condition layout to calculate any selected xref line and have it
    |>repositioned for point in current drawing model space location.
    |>
    |>Has anyone created anything similar?
    |>


    David
     
    David Allen, Sep 14, 2004
    #3
  4. Rudy Tovar

    Rudy Tovar Guest

    Thanks Joe, I'll take a look.

     
    Rudy Tovar, Sep 14, 2004
    #4
  5. Rudy Tovar

    Rudy Tovar Guest

    Gracias Luis por tu consejo.
     
    Rudy Tovar, Sep 14, 2004
    #5
  6. Rudy Tovar

    Rudy Tovar Guest

    Thanks David, but you don't see the whole picture.

    I'll illustrate it to you later.

    Thanks anyway.
     
    Rudy Tovar, Sep 14, 2004
    #6
  7. Rudy Tovar

    Rudy Tovar Guest

    Thanks Luis... but it would be a killer utility to incorporate all the other
    factors.
     
    Rudy Tovar, Sep 14, 2004
    #7
  8. Rudy Tovar

    Rudy Tovar Guest

    That and much more.

    You nailed it.

     
    Rudy Tovar, Sep 14, 2004
    #8
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.