Jump to content

iLogic And Browser Components


Recommended Posts

Posted

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?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...