Message 1 of 11
How to get length of spline in vba?

Not applicable
01-15-2008
02:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm writing a small script in vba and need to get the length of a spline for some calculations. I see that length is not a property of AcadSpline linetype. Does anyone know how I can go about doing this in my script?
Dim MyLine As AcadLine
MyLineLength = MyLine.Length(intellisense has length listed for line)
but when I go to do this for my spline:
Dim MySpline As AcadSpline
MyLineLength = MySpline. (intellisense doesn't have length listed for spline)
Dim MyLine As AcadLine
MyLineLength = MyLine.Length(intellisense has length listed for line)
but when I go to do this for my spline:
Dim MySpline As AcadSpline
MyLineLength = MySpline. (intellisense doesn't have length listed for spline)