CPoint class module

Discussion in 'AutoCAD' started by acrctba, Dec 9, 2004.

  1. acrctba

    acrctba Guest

    I have a CPoint class module that helps me work with the coordinates of the elements. I don't have to work with arrays. I made something like that:

    ' change the insertion point of an AcadText
    Dim pPoint as CPoint
    pPoint = EGUtil.PointFromArray3d(pText.InsertionPoint)

    ' change coordinates
    pPoint.X = 5 : pPoint.Y = 10: pPoint>X = 0#

    ' save back to original element
    pText.InsertionPoint = EGUtil.Array3dFromPoint(pPoint)

    If anyone has interest in that contacts me.

    Ari C. Raimundo
    Engefoto S/A
    Curitiba-PR-Brazil
     
    acrctba, Dec 9, 2004
    #1
  2. Why not post it?
     
    Allen Johnson, Dec 9, 2004
    #2
  3. acrctba

    acrctba Guest

    It's too big to be posted...

    I can send you by e-mail...
     
    acrctba, Dec 15, 2004
    #3
  4. You have a class that represents a point and it's too big to be posted???
    I'd love to have a look at it.
     
    Bobby C. Jones, Dec 17, 2004
    #4
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.