Recently I wanted to create a connector parameters file for designating any-number-of-pins connectors faster. This is what my .con looks like for a 4pin connector:
This one works as long as my model's name is 123456. But, if I have another 4way connector with a different model name it doen't work. Is there a way to fill the MODEL_NAME automatically based on the part you selected?
No, you need to have a *.con file for each model used as a connector. It's useful when you designating multiple instances of the same model. The first instance designated will get the REF_DES defined in the fill, subsequent instances that are designated will suffix identifier added to the REF_DES.