Hi,
Simple Python code to create a model line in Revit. Logic worked in 6.3 but not in 7.4 - 7.6. I know it can be done within Dynamo nodes but I need to get it working in Python.
Thanks,
Dan
Hi,
Simple Python code to create a model line in Revit. Logic worked in 6.3 but not in 7.4 - 7.6. I know it can be done within Dynamo nodes but I need to get it working in Python.
Thanks,
Dan
Any chance you’re working with Revit 2015?
Because that method you’re using has been deprecated in the Revit API…
Look for NewModelCurve in the Revit API documentation.
Hi Andreas,
I should have mentioned which version, I’m using; Revit 2014. I just checked the help file and this method is also in Revit 2014.
Thanks for the help,
Dan