iLogic/ Rule Help

iLogic/ Rule Help

KevinGreenhouse
Enthusiast Enthusiast
629 Views
6 Replies
Message 1 of 7

iLogic/ Rule Help

KevinGreenhouse
Enthusiast
Enthusiast

Hello All,

 

 

I'm  new to iLogic and this is/will be my first attempt and was hoping you can let me know if what I want is possible before I spend time trying.....

 

I have drawn the below and used an excel spread sheet to drive the parameters.

 

 

 

Truss Bar.PNG

Truss Bar xls.PNG

 

I'm hopeful that I can set up some rules/ ilogic to make the vertical flat plates grow or shrink in quantity when the length of the horizontal tube grows or shrinks in length (If that makes sense).

 

I'm hoping that when that is complete our workshop manager should be able to specify the length of a bar and it will generate a drawing for him.

 

In the past its always been a 2D Autocad drawing using a matrix so i'm trying to replicate this but the actual drawing is drawn/ done as well.

 

If it's possible I will persevere.

 

Thanks In advance.

 

Kevin

 

 

0 Likes
Accepted solutions (1)
630 Views
6 Replies
Replies (6)
Message 2 of 7

mwighton
Collaborator
Collaborator
It is definitely possible to make the model adapt to different length. However, getting a drawing for each adaptation is going to be tough. There are line segments being added and removed when changing the length of your part so having an automated drawing will be tough, but may be possible. Im not an expert in iLogic but I know a little. I have done the model update part of your problem, but not automated drawing for them.
Did this post help out? Hope it did.
If so please use the 'Accept as Solution' or 'Kudos' Button below.
God Bless

Mwighton
0 Likes
Message 3 of 7

KevinGreenhouse
Enthusiast
Enthusiast

Thanks MW,

 

I will persevere and watch a few youtube videos etc in the hope I can come up with I require!

 

In the mean time, if anyone else has a more definitive input it would be appreciated.

0 Likes
Message 4 of 7

MechMachineMan
Advisor
Advisor
Accepted solution

1. Create a model/drawing of the most complex case (the one with the most bars if possible)

2. Use this drawing as a template and replace model reference with code. Delete orphaned dimensions.

 

This should give you a pretty good shot.

 

Patterns are also your friend.


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
0 Likes
Message 5 of 7

mcgyvr
Consultant
Consultant

Yes you can do that with ilogic..

You can also do it with an ipart (assuming this is a part file).. or an iassembly..

And doing so doesn't require any coding..



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes
Message 6 of 7

Mark.Lancaster
Consultant
Consultant

Another option I will throw out there that may work for this is called iCopy.  The only issue may be related to number of components being patterned based on the size.  But here's an article about it.  Granted there is some up-front work to be done but when its all complied you can create new models and related drawings from it.   Anyhow just a thought.  Smiley Wink

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes
Message 7 of 7

KevinGreenhouse
Enthusiast
Enthusiast

Thanks All,

 

They all seem to be good responses and different ways of performing the same out come.

 

I will just work at it and hope to get the final product I require soon 🙂

0 Likes