OkieWolf Posted February 15, 2011 Posted February 15, 2011 Inventor 2011. OS = Windows 7. In an assembly, I want to create an iLogic rule that will look through all components in the browser, select certain ones, then return their full browser name. For example, let's say I want to find all 150# flanges in an assembly and then return their full browser names. I would think you could do this in a simple loop until nil such as below. compo = "-" Do While compo nil And compo "" compo = Component.InventorComponent() MessageBox.show(compo,"test",MessageBoxButtons.OK) Loop But, you can see that iLogic doesn't know what to do because there is nothing between the () in the line "compo = Component.InventorComponent()". I'm not sure how to proceed. Any suggestions? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.