I have been 2/3 weeks working with the Revit API and I need some help.
I am creating an external command that creates a shared parameter file and binds it to the OST_Sheets category and I want to add a string value to one of the parameters i have just created.
I am struggling with this as most of the solutions are regarding rfa files.
I created a filteredElementCollector collecting the sheets in my file and I do not know where to go from there... can somebody please help me with solution or a link that might me of use? I am a c# coder.
Much appreciated, Thank you.
I tried the get_Parameter method, theres a problem with using it because it is asking for a BuiltInParameter and i am uising one i created in a shared parameters .txt file :(.
I think i might have found a solution on jeremy's github 🙂
Revit 2015 added LookupParameter method to elements.
Use it like so:
viewSheet.LookupParameter("MyParam").Set("TestValue");
Can't find what you're looking for? Ask the community or share your knowledge.