Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Realtion Error?

proDfunc

New member
Ladies& Gents - I have the following relation error



INST_NAME = LOOKUP_INST ("A_F.PRT",0,"A_F_T_T_01")
errorInvalid data type combination at right side of expression
smiley19.gif



I want to exchange a family part in an assembly which is dependant on the value of an parameter I created a_f_t_t_01


Thanks


Rodger
 
You must specify the value of A_F_T_T_01 to look for and that will match the expected value:


INST_NAME = LOOKUP_INST ("A_F.PRT",0,"A_F_T_T_01", VALUE)


Olivier
 
I ran across this post while trying to figure out the same error using the LOOKUP_INST function. I had the syntax correct, but still got the error.

It turns out you will also get this error if the assembled component you are trying to lookup is suppressed. Due to the way my Pro/PROGRAM was structured, the part I was looking up was suppressed but I was still running the relation in my RELATIONS section.

The way around this was to wrap the RELATION with the same condition as the PRO/PROGRAM code used to suppress the part. This allowed Pro/E to bypass the LOOKUP_INST command unless the part was unsuppressed.

I just thought I'd add this in case someone down the road runs across this same problem.

Jim
 

Sponsor

Back
Top