I’m trying to create new floor plans from some existing levels. I’ve seeing some trainings videos on LinkedIn, about a startup project, and it have help me a lot. I’ve being trying to modify it, but I have some trouble with getting it to work without creating new levels as well.
I have try to add in another script for the “create Revit Floor plan” part, but it still comes up with some errors. Are there someone who can explain to me, what I need to change here?
The first error is “Null value cannot be cast to double”
Look at what’s coming out of your Excel node. You’re pulling data from the wrong sheet. You need to get the data from Levels so that you have the proper information for creating levels and floor plans. Switching to the correct sheet name should be all you need.
Thanks for the answer. But I don’t want to create new Levels, I’m only interested in making floorplan and sheets. So, I thought that it would duplicate the floorplans from the Excel Node “Floorplan” but it needed “Levels” to find out where it has to create the new floorplans from.
But I try to change the setup as you said, and I could see it want to create new levels as well.
So, I think I need to build the script up in another way.
If you already have the levels in your project you’ll need to query them from a list to get the appropriate level for each view. Filtering by the level name should get you what you want.