Question about why or how Revit Exposes specific Geometry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
(Note: all my testing is from Revit 2023 and only some has been verified to act the same in 2021) Sorry about how vague the title is. First, context, when viewing an element's geometry within the active view, including non-visibile objects, which geometry maintains its references differs based on element category and subtype. For example, an element, of category "Pipe Fitting" may have its geometry presented differently than the same element with the "Generic Models" category. And at the same time, an element with the "Pipe Fitting" category will present / expose different geometry based on the "Part Type". I could not find documentation regarding this so I made a post here.
Steps to reproduce, I have an "Pipe Fitting" element of Part Type of "Multiport" ( attached below ). Its is made up of a single revolve with a static radius with its length being constrained to two Reference Planes ( where the distance between is determined by an instance variable "Distance" ). There is a single Model Line with the Subcategory "Center line" set as a "Weak Reference", it is constrained to have each end point be at the intersection of the two outside Reference Planes and the "Center (Front/Back)" Reference Plane.
But if I change that same element to have the PartType "Transition", the exposed geometry within the active view changes.
It isn't just the geometry in the active view, but the geometry presented in the Undefined View can change as well.
In a more advanced model ( I cannot provide as it is company property ) with faces that can move ( such as a Pipe Fitting with the PartType Tee with a PlanarFace at a variable angle ), within an undefined view, the faces and edges are just absent in the symbol geometry and instance geometry. But if I change the PartType to something else like Mutiport, those geometries reappear. I can't link the file, but I provided the picture of the lack of a solid containing valid face and edge geometries with references.
What determines this? I can tell that having parametric geometry can cause certain geometries to be exposed differently, but I don't quite understand why the geometries are exposed differently based on PartType. I assume this is why I am unable to dimension to any Pipe Fitting Tees' Center lines directly. Using API calls, I am able to create dimensions. But if I change the Tee to a different PartType, I can now manually create dimensions. I can work around it by nesting my centerline within a component element of either a Generic Model or a Pipe Fitting (with something other than the Tee PartType), and dimensioning to that instead also works will maintaining Routing Preferences and such. Any help is appreciated, thanks.