Im trying to pass a Brep geometry into Revit through Directshape and at the same time create a family from it. The geometry it passes well into Revit but not into the family. When I open the family it seems to be empty. What Im missing or doing wrong? Thank you in advance!
I have tried to follow your instructions. I have created a new (generic model template) family and add the direct shape, parameters, etc. Thats how it looks.
After running GH, It seems the geometry got passed and the new parameters for area created in the family types. However I cant see them in the properties tab and in addition the native materials parameter disappeared. (the last I guess it is because Im passing a Directshape geometry - What could I do different to keep the material parameter?)
It seems to me that when Im pushing the geometry into the family, the “Element parameter” is not passing the area value for any reason I cant really figure it out.
When I skip the family and push the geometry from GH directly into the main model, then the “Element parameter” gets activated and the area values are passing and showing in the property tab.
I have created the family in Revit and just when inside the family I have pushed the GH to bring the geometry in. I see you have done it all in GH.
However I have used directshape geometry (image of the gh above) and not the component family form, which it is probably why the materials parameter disappears.
I have also tried with the AddForm component and I get the material parameter to work well in Revit as you are showing - even if I dont query materials in gh, but the Area parameter doesnt. Only when deployed directly in the main model…
Thank you for taking some time to look into it. Really appreciated
When adding a material to a directshape its always going to via Paint, not a material parameter. You can add a custom material parameter for scheduling purposes but it won’t control the material on the direct shape.
Adding the parameters into the Family.
Then modifying the Element Instance and Element Type in the Project.
One more question, which I hope we give me some input on.
Im having difficulties to pass the new area parameter into the IFC. I wonder if the Area parameter in Revit is a read-only parameter or if it can be overwritten by the new area value?
For now the area parameter it does show in the element properties, but not at all when I export the IFC.
Actually not and the reason was to filter out other parameters that are not needed in the IFC (as well as reduce the size of the file) . It is the only way?
It’s been a long time since I last exported an Ifc with parameters from Revit but as far as I remember you can load your own property sets into the Ifc settings.