I think it is only possible for the line pattern override to be reset. You can do so like this:
sys.LinePatternId = ElementId.InvalidElementId
Color and Lineweight cannot be reset as far as I know.
I think it is only possible for the line pattern override to be reset. You can do so like this:
sys.LinePatternId = ElementId.InvalidElementId
Color and Lineweight cannot be reset as far as I know.
Actually you can clear all of them like this:
for st in systemTypes:
st.LineColor = Autodesk.Revit.DB.Color.InvalidColorValue
st.LineWeight = -1
st.LinePatternId = ElementId.InvalidElementId
Hi,
I use this script.
How can I change it to change every lineweight to 2 without writing for every system type like {2,2,2,2,2,2,2,2…} ?