Create parameter for InstanceElement Category

Hello everyone,
i tryed to create a shared parameter for a category that comes from the ImportInstance.ByGeometries that i previously created on Dynamo but its not working.


Does anyone ever tried to do it? Any suggestion
Thanks in advance
Elisabetta

Import instances do not belong to a built-in category and can not have any parameters. You have to use direct shapes or the familyinstance.bygeometry node from spring nodes.

Thank you very much.
I tried to do what you suggested to me but with no result.


inside the phyton is


As i red in other posts maybe “As for adding a parameter to it, if you first add a project parameter in Revit to match the category then you can use the Element.SetParameterByName node to add whatever value you want as the new family gets loaded.”
But i don’t understand. Should i create a new project parameter in Revit but wich category i have to choose? A generic one?
Thank you very much
Elisabetta

The file path node is most likely adding some garbage to your path’s empty spaces. I have the same problem on some PCs and have to resort to feeding in the path as a string:

1 Like

thanks!!! it works! :dizzy_face:

Hi Dimitar,

Is this working in a family environment?

Thanks