Trying to develop a script in Dynamo for Revit 2019, to replace Detail Items with another detail item. I want the new Item to maintain the original items Instance parameter. I can get this to work in R20, but in R19, the parameters are listed as read-only.
Any suggestions on a workaround to get this working?
First error: You want to fill both parameters “Family name” and “Type name” with the same value. (You use a list of parameter names, instead of parameter name). (Typ value/name can’t be equal to family value/name).
You maybe also need to use other nodes to get a correct input value. (object to string isn’t suitable i think).
I think you need 2 nodes. 1x for setting the family and 1x for setting the type of the family.
I think you try to get a value from a family type instead of an instance object of a family type, so maybe the value for depth is empty.
I actually can’t take a closer look on it in dynamo, so it’s a bit a guess (i am writing on my smartphone and can’t take a look what object.type the nodes need ).