Martin
09-14-2010, 08:52 AM
Hi,
I was wondering how to call a function with empty optional parameters in Python
Example:
strNewLayerName = = Rhino.AddLayer ("ChildLayer",currentRGB,,,"ParentLayer")
'This Works
strNewLayerName = rs.AddLayer("ChildLayer",currentRGB,,,"ParentLayer")
#This way of writing it, throws an error in Python
Thanks for your help
Martin
I was wondering how to call a function with empty optional parameters in Python
Example:
strNewLayerName = = Rhino.AddLayer ("ChildLayer",currentRGB,,,"ParentLayer")
'This Works
strNewLayerName = rs.AddLayer("ChildLayer",currentRGB,,,"ParentLayer")
#This way of writing it, throws an error in Python
Thanks for your help
Martin