To iLogic or not to iLogic – Drawings

To iLogic or not to iLogic – Drawings

Let’s take a look at what we can do with drawings in iLogic.

If you insert a few views into an Inventor drawing and dimension it, it looks neat and tidy. What happens when we change the model through the iLogic rules?

The model might move. So how do we stop this?

We can use iLogic rules to make sure that the position of the lower left hand view is always a certain distance from the bottom left hand corner or 0,0.

In the left hand column, scroll down and you will see drawing. Click on the + button to open up the drop down. These are the snippets that we will use in our 2d drawings.

Below we will see the command we will be using to anchor a particular view a certain distance from the bottom left of the page (0,0) to the centre of the view we specify.

iLogic Rules

Below you will see the view being placed at the top of the page and once the rule has been run you will see that it jumps to the bottom of the page.

iLogic Rules - moving view rule iLogic Rules - moving view

If I change the length parameter to 1400 mm you can see that the chamfer has been added. Please note that the chamfer note needs to be put in. It will not insert itself automatically but once you have it, it will display for all the models that have a chamfer.

iLogic Chamfer

If I change the length parameter to 2000 mm you can see that the fillet has now been added and the chamfer and chamfer note has disappeared. Once again I have included the radius dimension. You only need to do this once and it will occur for all the other models that have a radius. My next problem is that the top right view is too big so we have to scale it down.

iLogic Chamfer View

I am going to write a rule that states the following:

If the length is equal to and greater than 1000 mm and less than, but not equal to 1800 mm then the scale is x. Anything else the scale is y.

The code looks like this.

iLogic Rules Coding

After the rule runs you get the following.

Running iLogic Rules

So with just these 2 rules we can greatly control exactly what our model is doing in the 2d drawing environment even though the model undergoes changes.

In conclusion with just these few iLogic commands, we have greatly increased the power and versatility of Inventor.

I will keep on posting about iLogic as I go along and learn more but to answer the question – to iLogic or not to iLogic?

Me thinks – ILOGIC!


By | 2017-05-24T12:12:55+00:00 January 27th, 2015|

About the Author:

A cup of tea. Well a cup of tea would be very nice. -Solutions Consultant/Engineer-