Section Marker Rotation Angle

Section Marker Rotation Angle

Dale.Bartlett
Collaborator Collaborator
668 Views
4 Replies
Message 1 of 5

Section Marker Rotation Angle

Dale.Bartlett
Collaborator
Collaborator

Am I correct in the assumption that Section and Elevation Markers do not have a Rotation Angle property? My research is showing that I can calculate and set the Section Box, and this achieves the desired result. Is this correct?

http://thebuildingcoder.typepad.com/blog/2012/06/create-section-view-parallel-to-wall.html 




______________
Yes, I'm Satoshi.
0 Likes
Accepted solutions (1)
669 Views
4 Replies
Replies (4)
Message 2 of 5

jeremytammik
Autodesk
Autodesk

Dear Dale,

 

Thank you for your query.

 

I'm checking with the development team...

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 5

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Dale,

 

Thank you for your patience.

 

The development team reply:

 

I don't think there's a Rotation Angle property.

The mapping of Section Box properties to how the view is set up is described pretty well in the remarks for ViewSection.Create():

Create a section whose view volume corresponds geometrically with the specified sectionBox. The view direction of the resulting section will be sectionBox.Transform.BasisZ and the up direction will be sectionBox.Transform.BasisY. The right hand direction will be computed so that (right, up, view direction) form a left handed coordinate system. The resulting view will be cropped, and far clipping will be active. The crop region will correspond to the projections of BoundingBoxXYZ.Min and BoundingBoxXYZ.Max onto the view's cut plane. The far clip distance will be equal to the difference of the z-coordinates of BoundingBoxXYZ.Min and BoundingBoxXYZ.Max.

 

I hope this helps.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 4 of 5

Dale.Bartlett
Collaborator
Collaborator

Thanks Jeremy. I'll translate all that to: "the Section Box defines the angle" and guess the same applies to Elevation Markers. Much appreciated.




______________
Yes, I'm Satoshi.
0 Likes
Message 5 of 5

jeremytammik
Autodesk
Autodesk

Dear Dale,

 

Thank you for your appreciation.

 

My pleasure entirely.

 

Have fun 🙂

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes