Hi to] "e" is the name of a variable. In this case it represent a single "intersection event". Each event has a bunch of properties (fields), and m_PointA is one of those. This is how all Object Oriented Programming works. In order to write code in DotNET, you must understand this concept. It is very different from RhinoScript. For example, in RhinoScript you'd use the following:
d = Rhino.Distance(PointA, PointB) All the functions are stored under a single 'namespace': Rhino. In DotNET on the other hand, you'd use: d = PointA.DistanceTo(PointB) As you can see the function is part of the On3dPoint class, not some global namespace. There are still global functions even in DotNET, but usually they are available through the class definition. -- David Rutten [email protected] Robert McNeel & Associates On Feb 24, 11:01 am, "to]" <[email protected]> wrote: > i am also not clear with (e.m_..... ?? > what does the e.m mean > > Dim ptA As New On3dPoint(e.m_pointA(0)) > Dim ptB As New On3dPoint(e.m_pointB(0)) > > and with > > AddPointObject(ptB) > line.from = ptA > line.To = ptB > AddCurveObject(line) > > thanx david for explanation
