With Dynamo I can get the column height dimensions in this manner, which worked great;
However I have the preference to use Python instead, so I made this script (Note, this is RevitPythonShell and not the Python Node, hence the minor differences);
options=Options()
options.View = doc.ActiveView
#options.OtherOptions = other values
structural_column_collector = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_StructuralColumns)
structural_column_instances = structural_column_collector.OfCategory(BuiltInCategory.OST_StructuralColumns).WhereElementIsNotElementType()
options.ComputeReferences
for i in structural_column_instances:
element_type = doc.GetElement(i.GetTypeId())
parameters = element_type.Parameters
print i.GetOriginalGeometry(options)
Now at this part I got stuck where to acces the faces and topology etc. At this moment I thought there might be an easier way to acces the dimensions of a column. If I select a column in Revit it shows me the length dimension of the column.
Now I am completely clueless how to acces this dimension through the Revit API or for that manner if it’s even possible?
Hi @jacob.small, System family columns doesn’t have the Height parameter.
My column extends from Level to Level. Sometimes, there is a Top Offset and Bottom Offset in some of the columns.
TEST_ColumnHeight.rvt (4.7 MB)
here is a Revit sample model with Column Varying Height but extends from Level to Level but with varying Top and Bottom Offsets
I am using Revit 2021 and this is my Dynamo version:
I don’t have 2021, but will try 2022 (installed Friday to test a tool which is being updated).
You’re 2 years outside the support window and as such it’s a security risk. It’s like you are running windows XP… And before you ask, yes, the project can be updated. You might not be able to push that envelope but you can make the person who is holding up the update aware of the issues they’re causing and the risks they’re causing for the entire project team.