Hi,
I'm trying to retrieve cut geometry for a link file that was sectioned by scope box.
Please suggest some RevitAPI method to rectify this issue.
Thank you in Advance.
Maybe this article by The Building Coder on Retrieving Section View Intersection Cut Geometry will provide some hints for you?
Hi Jeremy_tammik
Thanks for your response. I tried using it but I couldn't get the cut geometry.
Actual scenario is this.
My host RVT document contains a link doc with mesh geometry in it. With help of section box I cut the mesh geometry and now I need to retrieve the cut geometry of the mesh. Can you pls help me with this for past one month I am trying to solve this.
Thanks in advance.
Here is one possible approach:
Quote: Answer: You can easily extract the cross section shapes from the element geometry by defining appropriate section views in Revit and asking the floor for its geometry in that specific view, as described in the note above on section view geometry.
Do you see the desired cut geometry in the section view?
Hi Jeremy_tammik
Actually I got full geometry only when passing view section to options
If it is non linked file then I get cropped geometry but for linked file it was not working
Hi Jeremy_tammik
Actually I got full geometry only when passing view section to options
Hi Jeremy _tammik, Actually I'm trying to retrieve the visible geometry which resides inside the scope box especially for linked file(mesh geometry) and is there any other possible way to get that clipped geometry using Directcontext3D namespace or suggest any other methods also ?
Thank you
Here is information on DirectContext3D:
It enables you to add non-database-resident geometry to the Revit UI for visualisation purposes.
Afaik, the method of choice to obtain cut geometry is to set up an appropriate section view and retrieve what you need from that.
Can't find what you're looking for? Ask the community or share your knowledge.