Setting displayValue for Revit specific speckle objects

Hi speckle community. Please is it possible to set the displayValue for one of the Revit specific speckle objects in gh? I am trying to view a family instance in the speckle viewer but it only shows it’s a point. When i try to create a new speckle object with the displayValue set to the mesh and a custom data containing the familyinstance object, it shows up in the viewer. However when i try to receive it in Revit, it brings in the display mesh not the family instance.

Any help will be appreciated.

Thanks.

Hi @Zubi ,

I’m afraid the way these components have been designed does not allow for that, but you could probably modify the original FamilyInstance object via C# and add the displayValue prop that way: Grasshopper | Speckle Docs

Curious, what’s your workflow?

Cc @clrkng @Nikos as they might have better ideas!

Thanks @teocomi. I did what you said and went the c# route. works great!

1 Like