• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • AutoCAD Civil 3D

    Reply
    *Antoljak, Strahimir

    TIN/VBA

    72 Views, 1 Replies
    11-04-2003 12:11 AM
    Is there a way to programmatically
    (VBA or somehow else) get
    the coordinates of endpoints
    for TIN lines?

    I understand FindElevationAtXY
    surface object's method detects
    Z for given XY, but I'd like to get
    XYZ for TIN vertices (the endpoints
    of TIN lines).

    thanks

    --
    Strah @ Langan
    Please use plain text.
    *Philbrick, Daniel

    Re: TIN/VBA

    11-05-2003 10:25 PM in reply to: *Antoljak, Strahimir
    Strah,

    To get an array of the entire list of XYZ coordinates for the TIN surface
    you can use the Property:

    AeccTinSurface.OutputTriangles

    This will give you an array of all the vertices of the triangle edges for
    the TIN surface. It looks like we should extend this and add a method to
    FindTriangleAtXY, which would return the edge vertices for a specific
    triangle. That method has not been exposed.

    Daniel Philbrick
    Autodesk, Inc.

    "Strahimir Antoljak" wrote in message
    news:468C71CEFBF37ED773454E3516B629AF@in.WebX.maYIadrTaRb...
    > Is there a way to programmatically
    > (VBA or somehow else) get
    > the coordinates of endpoints
    > for TIN lines?
    >
    > I understand FindElevationAtXY
    > surface object's method detects
    > Z for given XY, but I'd like to get
    > XYZ for TIN vertices (the endpoints
    > of TIN lines).
    >
    > thanks
    >
    > --
    > Strah @ Langan
    >
    >
    Please use plain text.