AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
*Antoljak, Strahimir
Message 1 of 2 (90 Views)

TIN/VBA

90 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
*Philbrick, Daniel
Message 2 of 2 (90 Views)

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
>
>
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.