enum wall type is null…
are there other options to connect walls?
Hi @Scholtke yeah sure here with enum jointypes with pythonNet 3 ..
import clr
# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *
from Autodesk.Revit.DB import Structure
import System
OUT = System.Enum.GetValues(Autodesk.Revit.DB.JoinType)
yes pythonNet 3 package for that one, can be installed from package manager,
i´ve installed it, but the problem persists ![]()
probaly not the right version you have should be 1.1.1 in 25-26
great, then set the node to pythonnet 3
Python agnostic way, doesn’t have to overhead of importing System and works with all flavours of Dynamo Python
import clr
clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import JoinType
OUT = list(filter(lambda v: "__" not in v, vars(JoinType)))
yeah nice @Mike.Buttery
Hi @Mike.Buttery works great…but when i try it gives the join types as string
Oops - try this (CPython returns an int, whereas the others return the JoinType value)
import clr
clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import JoinType
OUT = [getattr(JoinType, i) for i in filter(lambda v: "__" not in v, vars(JoinType))]