Hi all,
Is there any way using iLogic or other method to automatically control the size of the 'break' in a drawing view? I have built a model which uses iLogic to control virtually everything, however the large variations in the length of the product mean that there are some interesting results when it comes to the broken drawing views updating.
Ideally, it would be nice to locate the break at the absolute center of the view and then size it as a percentage of the view size along one axis or perhaps according to some other length based rule.
Any ideas are greatly appreciated!
Cheers.
Solved! Go to Solution.
Solved by MjDeck. Go to Solution.
Here's online help for the BreakOperation object. You can also find this documentation in Inventor. Look at the Help dropdown on the top of the window and select using the Help > Programming/API Help.
The length I'm talking about is the amount of the view that's removed by the break. Yes, you would adjust that by dragging the break lines, similar to a slider.
It sounds like you want to be able to preview the break, and maybe suppress and unsuppress it like a part feature. You could post a request for this in the Ideas forum.
Oh! There it's! thanks didn't ever though it was there.
Ok I understand now, I was talking of a different thing (see the attached image), no, for me I don't need that control, but thanks anyway.
Ok so there isn't a solution yet, good to know, sometimes I trying and trying and I never know if I'm doing wrong or not, at least now I know 🙂
I will search if someone as already posted that idea.
Thanks for the help
Hello Experts,
This thread is very helpful to get understanding on the Breakline via iLogic
But I need help to understand some behavior
Here is what I am trying :
Based on a sketch line entity in the Part sketch, I am trying to define startpoint, endpoint of the breakview location in drawing.
Issue which I am running into
I am not able to find a way to convert part level sketch point locations translating based on the drawings coordinate system.
I believe this is possible I am missing something here. Any help will be appreciated.
Please find the test files with ilogic rule attached in a compressed folder
Thank you
@Ktelang , driving the break line from sketch parameters seems like a good idea.
Here's a version of your rule that (I think) does what you want.
The points for BreakOperations.Add have to be in sheet space. So the first thing is to add the X coordinate of the left edge of the view. That's on the line
Dim viewXPos = view.Center.X - view.Width / 2
You also have to account for the view scale. I combined that and converting from inch to cm into a scale factor:
Dim factorX = view.Scale * 2.54
I also converted the MsgBox calls to Logger.Info. That's a good way to see output from the rule without having to hit OK on each message.
You can make the iLogic Log window visible with the command: View > Windows > User Interface dropdown > iLogic Log.