  | | | Spline lenght ? | Spline lenght ? 2004-03-09 - By Sebastian Faber
Back You can calculate the length of the curve:
set oCurve=Application.Selection(0) logmessage "length of the Curve: " & oCurve.ActivePrimitive.Geometry.Curves(0).Length
-- --Original Message-- -- From: owner-xsi@(protected) [mailto:owner-xsi@(protected)]On Behalf Of Harry Bardak Sent: Tuesday, March 09, 2004 5:48 PM To: XSI@(protected) Subject: [Animation] Spline lenght ?
hi everyone.
Are there any way to know the lenght of a spline or a path ? I was thinking to calculate the distance between every knots and add them..
Thanks.
Harry.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1" http-equiv=Content-Type> <META content="MSHTML 5.00.3502.4373" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#c0c0c0> <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=937280317-09032004>You can calculate the length of the curve:</SPAN></FONT></DIV> <DIV> </DIV> <DIV><FONT color=#0000ff face=Arial size=2> set oCurve=Application.Selection(0)<BR> logmessage "length of the Curve: " & oCurve.ActivePrimitive.Geometry.Curves(0).Length<BR></DIV></FONT> <BLOCKQUOTE style="MARGIN-RIGHT: 0px"> <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma size=2>-- --Original Message-- --<BR><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)]<B>On Behalf Of </B>Harry Bardak<BR><B>Sent:</B> Tuesday, March 09, 2004 5:48 PM<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> [Animation] Spline lenght ?<BR><BR></DIV></FONT> <DIV><FONT face=Arial size=2>hi everyone. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Are there any way to know the lenght of a spline or a path ? </FONT></DIV> <DIV><FONT face=Arial size=2>I was thinking to calculate the distance between every knots and add them.. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Thanks. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Harry.</FONT></DIV></BLOCKQUOTE></BODY></HTML>
|
|
 |