@bayowindapo in cases of a namespace collision where you have more than one class named
Curve, the engine cannot infer which class you’re referring to unless you prefix the class name with its full name, i.e. including its namespace. In order to make it easy which namespaces are available for you to use, code block node autocomplete should assist you in doing so. When you type
Curve in the code block node, it should prompt you with all the namespaces available with the type
Curve. For example in this screenshot you can see there are two classes named
Mesh but they are prefixed by different namespaces to identify them uniquely. If you know which namespace to use, you can pick the appropriate one from the list.
Typically all builtin Dynamo classes have their namespaces include
DesignScript. You can choose an option that has either or both of these as a prefix if you intend to use the native Dynamo types.