Hello, we are working on a project where most of our infrastructure is imported from Revit through Datasmith into Unreal Engine for visualization and simulation purposes. We are trying to create a blueprint in Unreal that allows us to visualize and isolate an entire conduit run or pipe run based on what system it is connected to. Revit keeps track of these connections because, easy way to check is we can highlight an entire conduit or pipe run by using TAB, as long as it's all connected in the same system and the System Browser confirms this as well.
There is a lot of metadata contained within these families and looking through the filters during Datasmith's export, the "systems" is not part of it. Is there a way to export this information as metadata or how can we access the code of the exporter to control what gets exported?
PS: the current project is controlled information, so I will not be sharing any of that, but I can recreate the export process and screenshot reference images from a dummy project if needed.
The AdnRme MEP add-in sample was originally implemented before the advent of any dedicated MEP API support from Revit. Therefore, it uses pure generic parameter access and data from the duct and pipe elements to keep track of connectivity, systems, etc. Maybe that can provide all you need:
You might also want to check out the Revit SDK MEP samples, e.g., TraverseSystem.
Can't find what you're looking for? Ask the community or share your knowledge.