Getting section direction

Getting section direction

NachoShaw
Advisor Advisor
360 Views
1 Reply
Message 1 of 2

Getting section direction

NachoShaw
Advisor
Advisor

hey

 

I have managed to get the section line object in code from the DrawingView to add some sketch symbols. What i cant seem to do is get which direction the section is. Is that obtainable? If not, any other solution?

 

 

Thanks

 

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
361 Views
1 Reply
Reply (1)
Message 2 of 2

omartin
Advocate
Advocate

Seems like the sectioned view's camera.eye property is dependent on the section line. looks like the center point of the section line is the eye's origin point(for a complex line not sure) and then the sign of the Y position is the direction of the arrow (at least on the simple test I did). I haven't had time look into if this is always true or how the eye relates to the model orientation & drawing view orientation. You can maybe start there to see if you can find any correlation.

Was my reply Helpful ? send a Kudos or accept as solution
0 Likes