My code reads an excel document and creates a bunch of sheets in Revit.
I thought it’d be useful to add a check to make sure they have our official company title blocks in their project… But I can’t get it to work!
The sheet DOES exist… but I get the error each time. Any idea why?
Looked it over and decided that until Sol is back we’ll keep stuff related to C# development in the Developers category. Utilize the tags for CSharp, Zero Touch, Node Model, etc. as applicable.
Went ahead and added CSharp and ZeoTouch for you so this can be an example.
But when I click on it in Revit I get the titleblock error… Suggesting I don’t have those title blocks.
I tried putting in the family and type name, that didn’t work.
I tried swearing at it, that didn’t work.
I assume I maybe have to loop through the titleblocks instead?
But actually I want the family name not the type name… so have to work out how to tweak that now. But that’s Monday’s problem cos I’m on leave today. Whoooo.
It’s called the rubber duck test. Put a rubber duck (or similar small friend) on your desk. When you get stuck and can’t figure out why, ask them for an assist. Then explain every. Single. Line. In. Your. Code. To. Them. Out loud.
Bob is from Liverpool in England so has a strong scouse accent. He’s really rude and swears a lot too.
Tbh, I’m not sure how much help he’s gunna be unless I find him some worms to eat…