Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TIN/VBA

1 REPLY 1
Reply
Message 1 of 2
Anonymous
288 Views, 1 Reply

TIN/VBA

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
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

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
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report