Pythons clr (common reference library?) not referencing! Anything I'm missing?


#1

When I create a python node it turns yellow right out of the gates.

But as soon as I delete the lines:

import clr

clr.AddReference(‘ProtoGeometry’)

from Autodesk.DesignScript.Geometry import *

The python script runs… this is an issue as no python node can reference the common libraries and other libraries I think and that is why a lot nodes I’ve been trying to work with have not worked what every I try.

If anyone can help it would be appreciated.


#2

Any ideas? This is the second machine this has happened to me on.

Any help would be greatly appreciated.


#3

http://dynamobim.com/forums/topic/problem-with-python-protogeometry-clr-reference/

 

please see this thread, no solution yet, but it may be the same problem