Hi!
I tested the first “TEST06.dyn” you uploaded.
Here you are a modified version:
mR_TEST06-1_by erfajo.dyn (10.6 KB)
Well, as usual I have some question to point out:
- something strange happens when I use the “familytype.getfamilydocument” node:
IN = N°3 familytypes --> OUT = N°9 family documents
Is it normal?
- I tried to feed all inputs of the “FamilyDocument.AddSharedParameter” node with some lists.
I realized that:
-
parameter name and parameter group works as a corss product lacing: I obtained N°4 shared parameters in the txt file;
-
type, group and instance takes only the first item of the list, in fact all parameters are “numbers” and have been added to the family into “model property” group as “instace” parameter.
I expected something like this:

- I get this strange error, but everything seems to work anyway.
“The referenced object is not valid, possibly because it has been deleted from the database, or its creation was undone.” Can’t anybody explain this?
Finally, the reason why in my work in progress “mR_CreateSharedParameters - 0.1.dyn” I decided to divide the 3 tasks (create shared parameters, add to categories, add to families), is to reduce the possibility of input mistake.
In adding shared parameter to categories or families, I’d like to feed the node only with family list, parameter name and parameter group, the shared parameter has been created first and alredy has a type, group and “instance boolean” (unique for categorie!).
What do you think about???
And another question, maybe I miss something: how do you solve in your script the wrong parameter group issue???
Thanks for your help.
Bye.