Hello All, especially Erfajo
I have created now a Script for adding shared Parameters to my Families. Therefore i have 2 User Interfaces that are shown in the Pictrue where the User has to select the folder of the families, the Shared parameter file and after processing this information also the Parameters by name that the user wants to add.
With this Name i search for the Parameter Type in the text File that this is automatically selected and noone can make a mistake. This works quite fine as you can see in the yellow marked areas.
By adding them now in the Families with the FamilyDocument,AddSharedParameter something strage happens. It creates all parameters that i selected (in this case 9) with the Parameter Type Area except the Weight which is a Number. This one is correct, but all others that are not Area are also added with type area and i dont know why.
Do you have any idea why this happens?