Has anyone succesfully used the Lunchbox Structural Framing collector, and might be able to see, what I am doing wrong. I have used the Wall and Floor collectors, so I understand the general concept.
In the example on provingground.io they have used the ‘Structural Framing Types’ drop down menu - but this returns null in my case.
Yeah that seems to be the obvious choice, but unfortunately that doesn’t work to well for me either - but I could be doing it wrong. I’ve tried picking it out as a family parameter as well.
@tmha If you go inside custom node and change line 50 to if faminst.Symbol.Family.Name == UnwrapElement(famname): inside python then you should be fine.
Unfortunately it still doesn’t work, I triede restarting dynamo. It seems that it does not agree with Revit 2018.
Though the output has changed to ‘Empty list’ now.
I need both elements, curves and structural materials - but I have started collecting them seperately (similarly to what you’ve shown in the other example), it would just have been easier to repeat the same work flow as I’ve used for the other element types.
I think I might have figured out, where the problem is. There has been incorporated new company standard families in our templates, when we upgraded from 2017 to 2018 - so you’re right, it doesn’t have anything to do with the Revit version. I can see that I can get some of the functions to work if I import a generic steel beam.
I think it might be our custom structural materials which don’t fit into the script, but I’ll have to test that out. When I run your script on one of our families, it returns an error saying that ‘material’ is not defined.