Setting Crop region

Hello,
am new to dynamo , i was trying to edit crop region by dynamo to use it to
making the crop of a ceiling match that of the associated floor in section view.
i tried by using bounding box of ceiling and floor of room but it set crop region to whole room, but i want to set it up-to that section only.
is there any other way?
Any help appreciated.

I also attached script i tried (using revit 2019).

for better understanding i attached images before and after (want such result) script execution.


@JacobSmall @Kulkul @john_pierson Can you help me on this issue sir ?

Could you share the relevant files. Use wetransfer and drop the link here.

@Kulkul
Sorry sir my fault, these are new link open to all revit and dynamo file…
https://drive.google.com/file/d/1hfYjiC3J7mtAgLL2JsrCrH4X3nmJqbDO/view?usp=sharing
https://drive.google.com/file/d/1a294jTVi0uI5QV7AnK13_ZUdaxf4nRpM/view?usp=sharing

@Snehal25 Try this:

Set_Crop_Region_bb_For Snehal.dyn (69.5 KB)

1 Like

@Kulkul Thank you so much sir… this is exactly what i need…