call family table instance with pro/programs
hello everyone,
i want to replace *.prt with pro/programm from family table
but this *.prt is generic it have a family table
how can i replace?


Best Regards,
Cömert YILMAZ
hello everyone,
i want to replace *.prt with pro/programm from family table
but this *.prt is generic it have a family table
how can i replace?


Best Regards,
Cömert YILMAZ
If you know the name of the instance you want to place, it's easy...
Put this in your RELATIONS (or use an INPUT PARAMETER)
MY_INSTANCE = "510FB0158_1"
Then open your PRO/PROGRAM and look where the current part is being placed.
ADD PART 510FB0_158_159_160
...
END ADD
Now replace "510FB0_158_159_160" with "(MY_INSTANCE)"
ADD PART (MY_INSTANCE)
..
END ADD
Now change the value of MY_INSTANCE 🙂
When this succeeds, you could also look into the "lookup_inst" function...but that's a whole different ballgame
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.