I’m trying to manage element visibility settings for a Revit object using Rhino.Inside but I can’t quite figure it out. To be more specific I’m trying to hide a Revit family instance in a the default 3d view from inside rhino. Does anyone know if this is possible at this point?
Thank you for your reply. When I tried this, the Element.GetParameter component wouldn’t recognise ‘Viz’ as a parameter name for my family. Is this a default name or is it something that is specific to your project?
I then tried to find if there could be the same type of parameter in my project byt with a different name. The only parameter that I could find to have anything to do with the visibility was the Visibility/Graphics overrides parameter, but when I try to set this parameter, the element automatically loses the reference from the revit document without being hidden first.
Do you thing this is the correct parameter I’m working with or should it always be called Viz?
Hello,
I am aware this has been marked as “Solved”, but my question is very related to this thread.
What if we wanted to make a family using RiR, and expected to control the Graphics (Visibility of the family, independent from RiR methods?
For example, here: RiR Graphics TEST.gh (31.3 KB)
the highlighted Extrusion is a Revit Native Family, and it already has the Graphics parameters.
Hi Japhy,
Thanks for the links,
I want to create a Revit Family that has multiple parts and, depending on the occasion, I could switch the visibility of one part.
Now, using a Boolean parameter in Revit, this can be done for Revit Native Families.
But for Rhino-Generated objects that are imported by RiR, the Graphics panel in the properties is not available.
The issue is to assign “Visibility/Graphics Overrides” to DirectShapes. The object on the left is a Revit Native Family and, has a valid parameter of “Visibility/Graphics Overrides” once inspected.
The DirectSHape Objects on the right, once inspected, do not show such a parameter.
Appreciate it @Japhy.
Last question; The Switch (Check Box) cannot be displayed just like “Visible” under “Graphics” on the Properties Panel. It is only accessible through Family Types. Correct?
Is there any identical component to add form that permits the modification of graphics for Mesh-based families after the family has been created? RiR Mesh Graphics Parameter.gh (43.9 KB)
When using “Add Form” component, there seems to be a glitch when visualizing the object as Hidden Line under “Graphic Display Options” menu. Hidden Line Display Glitch.gh (9.9 KB)
In this instance, the pipe is partially invisible in Hidden Line, as opposed to its other visualization modes, (i.e. Shaded, realistic, etc.)
Also in certain pipe radius the add form throws this error: Some problematic faces were removed from the output
The confusing part is it does not happen in smaller or larger radii.
@Japhy
Thank you,
I just wanted to add that the issue with “Hidden Line” appears to occur with Breps only, regardless of the size of the objects and tolerance parameters.
It says “As shown in the example above, you can use the Construct Visibility component to create visibility options for the generated geometry” but I don’t see how the component is used in the example.