Hey guys,
A lot of my work is editing families. I have used a lot of DanEdu scripts to add parameters and values etc. in .rfa files, but now I am trying to remove some parameters.
I used the node “FamilyDocument.GetParameterByName” to first see if the parameter exists and after this i want to use the node “FamilyDocument.RemoveParameter”. This workflow because the family needs to exist for the removeparameter node to work.
The GetParameter node returns everything “null” if at least one of the parameters is not in 1 of the documents, instead of null for only that parameter.
The given parameters all exist in 2 of the documents and some in the other 4 documents.
Any ideas how to fix this or work around it ?