How Does SectionView.ByCoordinate…Trouble

In the past I asked the following question, but I had to put the graph aside.

Now I picked it up again but i run into some issues / have some follow up questions.

  1. Only 4 sections are created. Why?
  2. For the correct offset i have to fill in the Z but after the Sections are created Z is then Y?
  3. What does the warning mean?

I am a bit confused. I guess i don’t fully understand how the SectionView.ByCoordinateSystemMinPointMaxPoint node works yet


image

What i want is;
Create (in this case) 10 sections with an offset of 2000mm all with a height of 3000mm
a view depth of also 3000mm and a length of 20000mm
(I know values in my screenshot are a little different).

Who can help me and shed a little light?

I thought this would work but no.
Thinking you have to create a box by min.Point and max.Point for each Section
minPoint allways being x=0, y=offset (0,2000,4000 etc.), z=0 and maxPoint
x=length (20000) of the section, y=viewdepth (offset+2000) and z=height (3000)

I almost figured it out using this :point_down:.

Only question is how to control the View Direction. In other words I need the Sections to be flipped.

EDIT
Figured out the flipping. Will post my graph later.

1 Like

The follow up as promised.

I figured it out with the help of this topic.

For each Section you need a Coordinate for the
CoordinateSystem.ByOriginVectors node.

image

This :point_up: will create a Vertical Section.

In the end i didn’t figure out the flipping (of a section).

I thought this :point_down: would do the trick…,

image

but with Vector.Reverse my View got upside down and I don’t really know how
Plane.ByOriginNormal works and if it would help.

I found this :point_down: topic with a Python code for the mirroring.

I do wonder if and how you can flip Section without Python?
Maybbe one of you can answer that? @jacob.small @Nick_Boyts @john_pierson.

3 Likes

Perhaps? I am not aware of a node to do so, but it may exist. That said, instead of flipping, why not define the coordinate system with the Z axis inverted?

Can you explain what you mean by this? Or better how to do this?

The coordinate system you’ve built points vertically - look at it in the geometry preview you’ll see the Y axis (green line on the gimbal) of the CoordinateSystem.ByOriginVectors goes vertically as you’re providing that as the Y input. If you used the inverse of the Z axis (Vector.ByCoordaintes(0,0,-1) you should see a view going the other direction.

1 Like

Yes, you are right.
I really thought i tried this

image

…but tried so much so might have missed this

Now I have some tidy up to do :broom: :rofl:

1 Like

I believe I talked over creation of sections views pretty well in one of the Dynamo Office Hours on creating and documenting a complex stair form, but I don’t recall which. Somewhere between 40 and 42. https://www.youtube.com/playlist?list=PLdlF7MirPEC2yNFTGymESd3t7Xosfk9c2

@jacob.small

I wasn’t looking good enough at first. Using -1 results in in my View upside down.

image
image

Yes - isn’t that what you meant by ‘flipping’ the view?

No. Like using the :arrow_down: :arrow_up: on a Section.

Ah. Flip the ‘facing direction’, which is the Z axis of the coordinate system.

I believe that requires rotating the previous coordinate system about it’s Y axis by 180 degrees.

Any chance you can show an example how to do that? :innocent:

There was an example and explanation of sorts in the video series I linked above. Sadly I won’t be at the PC which has access to Revit for awhile so I can’t build a sample graph.

No worries. I’ll have a look at the video when i have time.
Thanks for your time and support regardless (as allways)!

1 Like

Hi @bvs1982 probably a mirror could flip the section…

Revit_vUmtPyaM7A

2 Likes

TYVM! This is very helpful and have me some
better insight how planes works!

1 Like

guees synthezise have a flip section node as well :wink: