Model parameters cannot be found

Model parameters cannot be found

Daan_M
Collaborator Collaborator
375 Views
1 Reply
Message 1 of 2

Model parameters cannot be found

Daan_M
Collaborator
Collaborator
  • Hi,

 

Im using iLogic in my assembly to place .ipt files and change parameters inside these partfiles.

For some reason this works fine on 1 specific part, but for another part it tells me the parameter cannot be found.

 

See below the error message of iLogic inside my assembly, as well as the partfile and the parameters inside the part file. iLogic does place the partfile correctly but for some reason it can't find the parameters, when i check i can clearly see the parameter is there.... what am i missing?

 

 

ThanksDaan_M_0-1655883097827.png

 

If item = pHuis
	Parameter(pHuis & ".ipt", "Hoekklemmenkast") = eWartel 'works fine
Else If item = pAchterschild And eRem = 1
	Parameter(pAchterschild & ".ipt", "HoekHR") = eHRPos 'cant find parameter???
End If
0 Likes
Accepted solutions (1)
376 Views
1 Reply
Reply (1)
Message 2 of 2

Daan_M
Collaborator
Collaborator
Accepted solution

Addition 1:

 

When i open the part that gives an error from my assembly i see it does NOT contain the parameter.

When i add it again and save it, it sais the following:

 

Daan_M_0-1655883871388.png

 

There is only 1 part inside my folder, but somehow Inventor creates 2 versions or something?

I'm confused to why this is happening.

 

Addition 2:

 

Found the solution. It seems Inventor didn't like me editing the file in 1 session, while placing it and adjusting parameters in another session.

 

Somehow it created another version of the same partfile, so there is still 1 file, but there are two versions.

 

After closing both sessions and re-opening them, everything worked fine again.

 

0 Likes