Split Column Python Script Doenst work in revit 2019


#1

Hi there,
I have created a script to split column by level using Python (Python created from others) it works fine except for Revit 2019 version. I’ ve attached the Dyn here please if any one know what happened.
Thanks

SplitColumns.dyn (53.2 KB)


#2

@Tamn what’s the error?


#3

@Tamn there are also some custom nodes which are not annotated. I won’t be able to test it.


#4

@salvatoredragotta
The packages are missing in your screen shot are: Clock Work and Synthesize toolkit please.
The errors are as shown below from
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 106, in
File “”, line 38, in GetColumnCentreline
File “”, line 106, in
File “”, line 38, in GetColumnCentreline
File “”, line 106, in
File “”, line 38, in GetColumnCentreline
File “”, line 106, in
File “”, line 38, in GetColumnCentreline
File “”, line 106, in
File “”, line 38, in GetColumnCentreline
File “”, line 106, in
File “”, line 38, in GetColumnCentreline
SystemError: The type initializer for ‘Autodesk.LibG.LibGPINVOKE’ threw an exception.

error


#5

@Tamn

I didn’t manage to replicate your error but I manage to make it work with the following modifications.

I’m still getting some errors but the columns are split. i didn’t have time to go into the details of the Python code.

image


#6

@salvatoredragotta, thanks Sal, Ive checked on other machine and It works but still doensnt work on mine. Ive tried reinstall dynamo but still doesn’t help.