Hey everyone,
Floorplans and Details are different in their Z value. A detail has Far Clip Offset and a floorplan has View Depth.
I want to draw Section Boxes in a 3D view based on the crop box and the Z value. But how do I get the correct Z value parameter? I was thinking of filtering on ViewType. But I am already filtering on whether the Sheet or the View is the Active view…
I am just a bit stuck
2D naar 3D Sectionbox.dyn (100.4 KB)
That’s not what I need as I already built that within the script.
I am looking to filter based on ViewType as they have a different need for Z value
That is not your original question.
Yes it is as I stated this. I think you need to read more carefully.
I’m not looking for a value, I am looking for the correct parameter based on the ViewType as they are different
Well, you know what the correct Parameters are already.
So you could use something like this.
Never used a Code block as a If node. Can I use it for multiple Tests?
I want categorize in 4 ways:
Detail / Section → far clip offset
FloorPlan / AreaPlan → View Depth
CeilingPlan → View Depth reversed
Sheet as active view → find the view on it and qualify for the previously named 3 types.
Wow if I only knew in the beginning you can write nested ‘If(’ statements (excel formula style) this way. This is so powerful!
1 Like