What is the most useful iLogic code?

What is the most useful iLogic code?

Formsprag
Advocate Advocate
2,381 Views
4 Replies
Message 1 of 5

What is the most useful iLogic code?

Formsprag
Advocate
Advocate

Just wondering, what is the most useful iLogic code you use?

 

What does it do?

How does it work?

 

2,382 Views
4 Replies
Replies (4)
Message 2 of 5

doug.johnston
Advocate
Advocate

I have quite a few ilogic rules that I use at work and most were created to reduce the time required to generate a model, drawing and print the drawing for production.  All of the rules have reduced the workflow time from days / hours to sometimes minutes.

 

My top ones:

1.   Passing parameters and iproperties from a model to a drawing to populate the titleblock and parts lists.  A very simple rule that saves a ton of time.

2.  "Save / Print / Close" - Saves the drawing, creates a PDF copy in different folder locations, picks the correct printer based on sheet size and prints the file, then closes the drawing file;  all with one click of the mouse.

3.  Drawing update rule / template - multiple rules inside the drawing templates to update the views, scales the views, positions the views and places (2) different parts list ... again with one click of the mouse.

 

 

Of course, I am not an ilogic expert so most of the rules were created by an outside Inventor consultant / expert that I have been working with over the last few years, who has accomplished everything that has been asked from me.


---------------------------------------------------
It's not easy maintaining this level of insanity !!!!!
0 Likes
Message 3 of 5

Darkforce_the_ilogic_guy
Advisor
Advisor

I have made many code .

 

I have just made one that make an PDF of all Drawing and add am Draft make on it

 

an other new one is make an JPG files by one click (and add  an extra number on the filename so you fast can make multi picture of the same assambly/part 

 

I also have one that add colour to part  or  assamle on all View with the coulor of chose

 

and many more 

 

 

0 Likes
Message 4 of 5

byzkc54
Contributor
Contributor
hello,

can you share me 3.rule 🙂
Message 5 of 5

WCrihfield
Mentor
Mentor

One of my favorite time saving rules is one that actually does a lot of its own stuff, but also runs several other rules too.  I use it on old, pre-existing drawing documents, that may have been created by other users over the years, and totally updates everything about it up to our newest standards.  I would likely need a bullet list to attempt to describe all the things it does in one run.

  • purges drawing of old title blocks, borders, sketched symbols, etc.
  • purges all old or unused styles, and updates any that are being used for something that remains
  • changes sheet size, adds new border, title block, & other similar things to fit new sheet size
  • sets new standard style for the whole drawing to use
  • updates all existing individual dimensions, notes, labels, etc, etc, to the new styles
    • (because they do not change their style just because you changed the standard style)

...and some other stuff.  It's a 'living' rule(s), because...stuff happens.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes