Hatch Style angle behaves funny when adding break out operations via API

Hatch Style angle behaves funny when adding break out operations via API

jonas.hoffmeisterFYFHQ
Enthusiast Enthusiast
237 Views
1 Reply
Message 1 of 2

Hatch Style angle behaves funny when adding break out operations via API

jonas.hoffmeisterFYFHQ
Enthusiast
Enthusiast

Hi guys

 

I am adding break out operations to a drawing for certain parts within an assembly. Generally works ok. In the drawing template idw I have defined a certain Hatch Style. The pattern is correct. However, the angle for the break out operations is not as defined and even changes from part to part.

 

jonashoffmeisterFYFHQ_0-1689165062350.png

 

Can I update the angle within my rule and hence set it explicitly other than via whats saved in my template? I did not find anything suitable within the product documentation.

 

Many thanks

Jonas

 

0 Likes
Accepted solutions (1)
238 Views
1 Reply
Reply (1)
Message 2 of 2

jonas.hoffmeisterFYFHQ
Enthusiast
Enthusiast
Accepted solution

Hi all,

 

8 months later ...

 

so I found this which explains the behaviour: https://www.autodesk.de/support/technical/article/caas/sfdcarticles/sfdcarticles/DEU/The-hatch-patte...

 

I also found a solution for my application. If you have Inventor 2022  or newer this should do:

 

For Each oHatchR As DrawingViewHatchRegion In oSideView.HatchRegions
     oHatchR.Angle = 0.0
Next

 

 

0 Likes