new to ilogic trying to add, remove and resize

new to ilogic trying to add, remove and resize

Anonymous
Not applicable
620 Views
5 Replies
Message 1 of 6

new to ilogic trying to add, remove and resize

Anonymous
Not applicable

i am looking to give a part a length range 

so what i am trying to do is... lets say i have a part (partA) and it can not exceed 120in but i am working with a  140in space. 

i wiould like to make a code that will place 2 (partA) parts in but one at 120in and one at 20in.

 so anytime i get over my set limit it will add another part and size it based in the remaining space..

 

 

also trying to center a pattern based on a length of a part but also need to add and remove pattern part count based on length of  the same part 

0 Likes
Accepted solutions (1)
621 Views
5 Replies
Replies (5)
Message 2 of 6

Mark.Lancaster
Consultant
Consultant

@Anonymous 

 

Programming needs should be raised in the Inventor Customization forum for best results.

 

https://forums.autodesk.com/t5/inventor-customization/bd-p/120

 

I will have the moderator relocate your posting there for best results.

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 3 of 6

Curtis_Waguespack
Consultant
Consultant
Accepted solution

Hi @Anonymous 

 

As mentioned you'll likely want to ask ilogic and programming questions on the Inventor Customization forum:
http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120

 

But here is a simple assembly in a zip file from a past posting that has an example file set that you can look at, it does something very similar to what you request. Download the zip file and extract the files to a folder of your choice , then open the file called Panel Fill.iam, then run the iLogic rule in that file called "Pattern"

https://forums.autodesk.com/autodesk/attachments/autodesk/78/459819/1/i%20Logic-%20Assembly%20Pattern.ziphttps://forums.autodesk.com/t5/inventor-forum/i-logic-assembly-pattern/m-p/3763544#M459819

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

Message 4 of 6

Anonymous
Not applicable

Hello thanks for your help... there is one thing am trying to figure out the coding i just cant find where Len1 and Len2 are coming from

0 Likes
Message 5 of 6

Curtis_Waguespack
Consultant
Consultant

Hi @Anonymous ,

 

Those are user parameters in the Assembly.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

444.PNG

EESignature

0 Likes
Message 6 of 6

Curtis_Waguespack
Consultant
Consultant

@vutresvik 

 

there is another version of the example at this link:

Panel Fill_2015.zip ‏259 KB    

 

from this previous discussion

https://forums.autodesk.com/t5/inventor-forum/conditional-rectanglar-patterns/m-p/6810973#M627496

 

 

 

 

 

EESignature

0 Likes