AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
*Antoljak, Strahimir
Post 1 of 2

TIN/VBA

94 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
Post 2 of 2

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
>
>
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!