I’ve tried the FamilyDocument.GetParameterValueByName(), but my code outputs a Autodesk.Revit.DB.Document, and it requires an Application.Revit.Document
If using the python node is acceptable to you, this thread maybe gives some pointers…
I am not an expert on design script, but I think part of the reason people jump to these other languages is the control they offer for working with the api (and other dlls).
I think you’re correct, that this should be done i python or similar - I do C# plugins as well, and because of the connection with the API it’s solved pretty easy with that, however this was a challenge I was told to try and solve in Dynamo.
I’ll give the link threads you found a good read.
If it doesn’t work, I might just write a short custom node with C# to solve it - I haven’t dived into python yet, but maybe this was a good time to start as well.
Thanks for the input, I’ll get back with my solution :)!
@Mark.Ackerley is right. Python may be the best way to go. Given your background with the API makes this a lot easier. In python, use “import” to leverage the majority of the Revit API references.