Get the Geometry (Curves especially) which cut by Section View

Get the Geometry (Curves especially) which cut by Section View

zefreestijl
Advocate Advocate
1,407 Views
2 Replies
Message 1 of 3

Get the Geometry (Curves especially) which cut by Section View

zefreestijl
Advocate
Advocate

Hi everyone, I've referenced this post to select elements cut

by the section view and then changed their graphic styles,

https://forums.autodesk.com/t5/revit-api-forum/select-elements-witch-cut-by-the-view/td-p/6793155

 

 

but this method only get the whole elements,

 

is it possible to get the resulting outline

(as the example in below image: the girders)

zefreestijl_0-1636351867067.png

 

so that I can use the CurveLoop to create customized Filled Pattern later?

 

or how get I make the ViewSection's plane to intersect the elements I choose to get the curves?

 

 

Thanks in advance.

0 Likes
Accepted solutions (1)
1,408 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni
Accepted solution

Here are some articles on setting up section views:

 

https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.38

 

If you retrieve the geometry specific to a section view, it should include the subelements generated by the section view cut plane. If you identify all the geometry fragments that lie in the cut plane itself, that ought to return the curves you seek.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 3

zefreestijl
Advocate
Advocate

Hi Jeremy, thanks for your reply,

 

I've tried to use all the dependent elements of Section View but none of them could cut the Framing Elements...

zefreestijl_0-1636447400976.png

 

 

though I couldn't get anything related to Geometry Cut topic in the link,

 

 

at least I found that SectionView's cropbox boundary helps me create a temporary  wall to cut the Structural Framing...

Now I finally got the Section Cut CurveLoop I want..

 

(I'm still wondering how Revit works to create the cutting edges for the Elevation tags, Dimensions, Filled Patterns...etc.)

 

Thanks for your help anyway :]

0 Likes