I am trying to write a python node that checks the orientation of a coordinate system and if the z-axis is not facing in the same up direction (0,0,1) as the world coordinate system, it should flip the z axis accordingly. However I receive this error message:
AttributeError: can’t assign to read-only property Z of type ‘Vector’
Essentially, looking for the correct syntax to manipulate the CoordinateSystem class and cannot find any documentation for it (or any of the dynamo classes for that matter).
Any help would be appreciated - thanks!