Edit crop region

All I can find are nodes into SteamNodes, Rhythm, Bakery and Clockwork packages. Once those loaded, you’ll find them easily by typing “crop view” in the search field…

they only work with 3d crop region
but thank you alot for your concern i really appreciate it
i hope that some one could develop custom node to this issue soon

View.ResizeCropBox from Clockwork works for me in section view too, it could be a good start to reach what you need. See here to get started:
http://dynamoprimer.com/en/09_Custom-Nodes/9-4_Python.html

Why not just make a scope box with the right dimensions and then set the scope box for each view with dynamo?

I just added the node ‘View.SetCropBoxCurves’ to my package ‘MEPover’ that will let you set the crop view regions by a list of curves. The curves need to be in a closed loop ofcourse.

10 Likes

Thank you T_Pover
can you make a screen about how it works ?
i tried but i failed
thank you in advance

2 Likes

If you look at the picture in my previous reply you’ll see that I’m feeding a list of curves per view into the node.
Now that I mention it: the node might not work with only a single view with a single list of lines… I’ll take a look at that asap.

Edit: I just published a new version that should work with single or multiple input curves and also with polycurves instead of a collection of lines or curves.

2 Likes

Thank you!!! It works Fine

Just what I needed, It works great!! Thank you very much! :smiley:

@Thomas_Perkov Next time start a new thread please.

I’ll do… I’m a bit confused … I couldn’t see the answers/solution before… :-S

This is fantastic and exactly what I was looking for. Works perfectly for making the crop of a ceiling plan match that of the associated floor plan. Well done!

1 Like

Not sure I get what was done here exactly?

I am currently having an issue where I have section views automatically created, but now I want to adjust the crop region of those views. I have included pictures below of what my section views look like currently, and another of how I would like it to look when I “run” my workspace.

Pic #1 - How it looks now:

Pic #2 - How I’d like it to look:

Is there a node or python script or something which will let me get my section view to look like picture #2, rather than #1?

Here is my current post on this topic below, hoping someone may have more info about it here in this post

Dears,
the script is not working for me. Please see script and photo for information.
What might be reason for that? Curve is closed.

Thanks
Section.dyn (11.0 KB)

Dear T_Pover,
Could you please help me. Everythings seems ok but script does not change crop box curves values.
Thanks.

Son.dyn (11.1 KB)

Hi @kvusal

If you want to assign same boundary to all the views then you can use @List Levels.

image

3 Likes

@Kulkul @T_Pover, first of all, thanks so much for your contribution and help.

Sorry to stir this thread up, but I have read it and searched but I can´t find an answer, does the View.SetCropBoxCurves works with 3D views?

I have tried matching the length of the views list and the curves list and I had some other foolish goes but they don´t seen to work.

Thanks!

@DyNewby that would be another topic of the day. This topic is already solved.

1 Like

Hi @T_Pover
i used the your node to duplicate section but iam not able to move the duplicated sections crop box to the second level. is it possible??
i cannot use resize crop box node to move the crop box to the next level (level 2)
thanks a lot

lot

I Wrote something similar. take a look

https://www.linkedin.com/pulse/methods-fitting-crop-region-elements-revit-using-dynamo-ashwin-kumar-/

1 Like