ILOGIC- ASSEMBLY, SUBASSEMBLY, COMPONENT PATTERN

ILOGIC- ASSEMBLY, SUBASSEMBLY, COMPONENT PATTERN

BDUB2012
Enthusiast Enthusiast
733 Views
1 Reply
Message 1 of 2

ILOGIC- ASSEMBLY, SUBASSEMBLY, COMPONENT PATTERN

BDUB2012
Enthusiast
Enthusiast

I have a top level assembly that has a subassembly placed in it. The subassembly has a component pattern that includes a bolt, nut and a washer.

 

I am pulling values from an excel spreadsheet into the top level assembly. The quantity for the pattern quantity and the angle for the pattern angle changes from 6 @ 60 deg, 8 @ 45 deg and 12 @ 30 deg.

 

When I use ilogic to pull these values from the excel spreadsheet into the top level assembly and then push these parameter values to the subassembly everything is ok if I start at the highest quantity for the patter and go down but the top level assembly requires a manual rebuild if I start at the lowest quantity and go up.

 

So if I start with the 12 @ 30 deg in th excel spreadsheet and run the ilogic code to push the parameter values to the subassembly everything is ok. Then go back to the excel sheet and go to 8 @ 45 deg in the excel spreadsheet and run the ilogic code to push the parameter values to the subasssembly everything is ok, and soforth.

 

If I start with the 6 @ 60 deg in the escel spreadsheet and run the ilogic code to push the parameter values to the subassembly everything seems ok but if I then go back to the excel spreadsheet and go up to 8 @ 45 deg in the excel spreadsheet and run the ilogic code to push the parameter values to the subassembly the top level assembly requires a manual rebuild.

 

As long a the values are the same or lower each time everything is ok, if the values are above the last values a manual rebuild is required.

 

How can this be handled or corrected.

 

Thanks in advance.

0 Likes
734 Views
1 Reply
Reply (1)
Message 2 of 2

Vladimir.Ananyev
Alumni
Alumni

You mean Rebuild or Update?  Update should be faster.

Add to your rule the following line 
  iLogicVb.UpdateWhenDone = True
This will update the current document after running the rule and  
is equivalent to the Inventor.Document.Update.

Hope this helps.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

0 Likes