Error using ipart.findrow when member not out of vault

Error using ipart.findrow when member not out of vault

Anonymous
Not applicable
296 Views
1 Reply
Message 1 of 2

Error using ipart.findrow when member not out of vault

Anonymous
Not applicable

Hi All,

I have a very simple illogic rule with one line of Code.

 

i = iPart.FindRow ("Drive_Pulley-IL", "BELT_WIDTH", "=", BELT_WIDTH, "OD" "=", PULLEY_DIA)

 

This works great unless the member row it is trying to find and activated is not gotten out of vault.  An error (attached) occurs.  Normally if you manually activate a member row outside of ilogics it will either automatically get it out of vault or give you a message that it is missing would you like to get from vault.  However when using the illogic code the message is much more obscure and you have to know what your looking for in order to get the file from vault.  Once the files our out of vault everything works fine.

 

Is there a solution to this so that the selected member is automatically retrieved from inventor if it is missing during the i-logic selection process?

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

clutsa
Collaborator
Collaborator

 Has the iPart member you're trying to find never been generated? In other words is it that the member it self not in vault? 

This is a total shot in the dark but can you use the "iParentFileName" instead of the "iComponentName"? I'm really not sure what the difference is but they're listed as two separate FindRow methods in the snippets list so I assume they exist for some reason.

 

If I've helped you, please help me by supporting this idea.
Mass Override for Each Model State

Custom Glyph Icon for iMates

0 Likes