Point.ByCoordinates in Python Node

Hi Dynamo gurus,

Have anyone from you any idea, why the python node return me this traceback = AttributeError: ‘type’ object has no attribute 'ByCoordinates’

It seems that I’ve used wrong method for creating a point. I’ve tried to use Autodesk.Point.ByCoordnates(x,y,z) but I’ve got the same traceback but the wrong attribute was Autrodesk.

I am using the Dynamo core 2.3.0.

Thank for any help.


1 Like

This is most likely a namespace conflict with the class of the same name from the Revit API (Point). As you are exclusively using classes from Autodesk.DesignScript.Geometry, I would remove the rest of the imports below line 4.

Edit: See this post from @Jonathan.Olesen for additional reference.


You’re right cgartland, thanks a lot for explaining how it works.


1 Like