Accessing hatch angle with ilogic

Accessing hatch angle with ilogic

Anonymous
Not applicable
840 Views
2 Replies
Message 1 of 3

Accessing hatch angle with ilogic

Anonymous
Not applicable

Hi all,

 

In a drawing, I create a bunch of section views with different angles of a cylinder with ilogic code. Then I rotate the views and then I place them on the sheet. The problem is that the hatch angle is different on all the section views, for example, if the section angle is 45 deg, then the hatch angle is 0 deg, and if the section angle is 135 deg, then the hatch angle is 90 deg, and so on.

 

So I want, for each section view I create, to set the hatch angle to 45 degrees. I have looked in the API help file, but all I can find is the "set/get" the preset values of the hatch angles.

 

Any help on this topic is much appreciated!

 

I am using inventor 2016.

Accepted solutions (1)
841 Views
2 Replies
Replies (2)
Message 2 of 3

HermJan.Otterman
Advisor
Advisor
Accepted solution

hello espengl,

 

I don't think it is supported by the API.

If you select the hatch, and then look at the SelectSet, you see 1 item with the value of nothing.

If this answers your question then please select "Accept as Solution"
Kudo's are also appreciated Smiley Wink

Succes on your project, and have a nice day

Herm Jan


0 Likes
Message 3 of 3

brianM328K
Enthusiast
Enthusiast

Hello @Anonymous 

I know its been a long time since you posted this message. 

If you or anyone are still looking for a solution to this I have found one.

Please see my link below it may help you.

I have also attached the ilogic code.

 

Link to another page. 

 

Regards Brian