toolman2
Mechanical
- Mar 6, 2003
- 8
I can't figure out why a simple program for a two part assy won't work. The second part is part of a family table. I get no errors but Pro tells me that the model didn't change. Could someone please look at my code and see what I am doing wrong? I've tried multiple variations of code with errors in some cases and no luck in the rest. I am using ver 2001 and we are also using Intralink.
INPUT
HOLDER STRING
"Enter holder number"
END INPUT
RELATIONS
IF HOLDER == "1"
comp = "vfem50013<cat50>.prt"
ENDIF
IF HOLDER == "2"
comp = "vfem50014<cat50>.prt"
ENDIF
IF HOLDER == "3"
comp = "vfem50015<cat50>.prt"
ENDIF
END RELATIONS
.
.
.
ADD PART MS46597_RETENTION_KNOB
INTERNAL COMPONENT ID 50
END ADD
ADD PART comp
INTERNAL COMPONENT ID 53
END ADD
INPUT
HOLDER STRING
"Enter holder number"
END INPUT
RELATIONS
IF HOLDER == "1"
comp = "vfem50013<cat50>.prt"
ENDIF
IF HOLDER == "2"
comp = "vfem50014<cat50>.prt"
ENDIF
IF HOLDER == "3"
comp = "vfem50015<cat50>.prt"
ENDIF
END RELATIONS
.
.
.
ADD PART MS46597_RETENTION_KNOB
INTERNAL COMPONENT ID 50
END ADD
ADD PART comp
INTERNAL COMPONENT ID 53
END ADD