iLogic Component.Replace only works with Vaulted parts, not assemblies.

iLogic Component.Replace only works with Vaulted parts, not assemblies.

Anonymous
Not applicable
1,741 Views
2 Replies
Message 1 of 3

iLogic Component.Replace only works with Vaulted parts, not assemblies.

Anonymous
Not applicable

In an iLogic rule I do some file replacement like this:

 Component.Replace("MyPart", "1.ipt", True)
Component.Replace("MyAssembly","2.iam", True)

1.ipt and 2.iam are Vaulted files. If they are missing in my working folder iLogic knows to look in the Vault before the rule fails. This is a nice feature - but for the assembly, 2.iam, it will only get the assembly itself from Vault. Not any parts referenced by the assembly. So the rule fails anyway.

Has anyone found a way around this problem?

0 Likes
1,742 Views
2 Replies
Replies (2)
Message 2 of 3

DeerSpotter
Collaborator
Collaborator

I know i know, last year...

 

But i got here this year regardless.

 

You said Vault will look for the missing parts in assembly? Then thats what the issue is. Its not the Component replace rule failing. It's your .iam 

What you need to do is Ilogic Update it at the end that will refresh all .ipt's and .iam's in current .iam

 

 

Image and video hosting by TinyPic
..........................................................................................................................
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
..........................................................................................................................


See My LinkedIn Profile
0 Likes
Message 3 of 3

Skadborg.NTI
Advocate
Advocate
2013 couldn't do it. It's fixed in 2014.
0 Likes