I had to recreate the custom nodes in the script using the python code provided in a previous post. However, it’s reaching the final node in the script, and giving null from there. I tried messing with the lacing and the levels of the inputs, but it’s all resulting in different amounts of nulls.
I have included the script, the custom nodes, and a simple revit file to make it easier to take a look at what’s happening. The dynamo files are version 2, and the revit file is 2019 (but can be replicated on any version using a series of grids and 2 lines passing through them).
I make some change in your last node call Set Grid Length.
Please check this out and see if it work!
And this is the python script
I suggest you copy the script directly from the node.
import clr
clr.AddReference(‘ProtoGeometry’)
from Autodesk.DesignScript.Geometry import *
#Import DocumentManager and TransactionManager
clr.AddReference(“RevitServices”)
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
#Import RevitAPI
clr.AddReference(“RevitAPI”)
import Autodesk
from Autodesk.Revit.DB import *
Well, I run the script and all the nodes run smoothly except this node: Set Grid Length.dyf.
So I take a look at my own node and decide to make some changes
And viola, I got the problems.
import clr
clr.AddReference(‘ProtoGeometry’)
from Autodesk.DesignScript.Geometry import *
#Import DocumentManager and TransactionManager
clr.AddReference(“RevitServices”)
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
#Import RevitAPI
clr.AddReference(“RevitAPI”)
import Autodesk
from Autodesk.Revit.DB import *
Hi…@mscottM6C4C…Do we need to download any custom packages because the script shows custom nodes not loaded…Can you tell me the required packages to be downloaded…Thanks in advance