Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

autoid374ceb4990
en respuesta a: leeminardi

Lee:

Thanks for the LISP code.  When I load it in to AutoCAD I get an error: "ACAD error: invalid character".  I found some LISP code in the AutoLISP forum  that purports to do something similar to yours, but it gave me the same error.

Perhaps this error is because I am using an ancient (R14) version.  Most of my code is written in "C" and I haven't written any LISP code for many years, so I will have to try to convert your code to "C" .  I already have functions for manipulating the 3DFACE's in a TIN, like calculating the X,Y,Z coordinates by picking a random point, plotting the profile of a POLYLINE path across the TIN,  and calculating the volumes between TIN's.  I have "C" code to calculate the face normal vector of a a given 3DFACE, so hopefully all I need is the cross product code to calculate the water drop path.

Thanks again,

Charles