import rhinoscriptsyntax as rs
import Rhino
import scriptcontext
def TestScript():
#Create the Object
PointObject = Rhino.Geometry.Point3d(3.3, 4.98, 5.35)
#Get the Document
doc = scriptcontext.doc
#Add the PointObject to the Document
guid = doc.Objects.AddPoint(PointObject)
# call function defined above
# Here we check to see if this file is being executed as the "main" python
# script instead of being used as a module by some other python script
# This allows us to use the module which ever way we want.
if( __name__ == '__main__' ):
TestScript()