How to get the world z axis in RhinoCommon SDK?

Hi guys,
Since there is very few examples of RhinoCommon SDK, I have to ask lots of silly questions. How to get the world z axis  or worldxy plane in RhinoCommon SDK? 
Cheers,
Daniel
  • up

    David Rutten

    Dim wxy As Plane = Plane.WorldXY
    Dim zax As Vector3d = Vector3d.ZAxis


    or you could initialize them by hand:

    Dim zax As New Vector3d(0,0,1)

    --
    David Rutten
    david@mcneel.com
    Poprad, Slovakia
    1