Using the ECAD_ALT_NAME
ECAD parts may have the same values for ecad_name and different values for ecad_alt_name. For example, the resulting .add file from an import may have the following entries:
Resistors entry 1
Resistors entry 2
Map_objects_by_name->
map_objects_by_name->
ECAD_NAME "Resistors"
ECAD_NAME "Resistors"
ECAD_ALT_NAME "R5K"
ECAD_ALT_NAME "R2K"
ECAD_TYPE ""
ECAD_TYPE ""
MCAD_NAME "RESISTORS_R5K"
MCAD_NAME "RESISTORS_R2K"
MCAD_TYPE "part"
MCAD_TYPE "part"
End
End
In this case, if you have different models for a R5K and a R2K resistor, (for example, they may be of different colors) you can specify the individual .prt names in the ecad_alt_name field. For example, if the Creo Parametric part files are called resistor1_5k.prt and resistor1_2k.prt, use the entries below:
Resistors entry 1
Resistors entry 2
Map_objects_by_name->
map_objects_by_name->
ECAD_NAME "Resistors"
ECAD_NAME "Resistors"
ECAD_ALT_NAME "R5K"
ECAD_ALT_NAME "R2K"
ECAD_TYPE ""
ECAD_TYPE ""
MCAD_NAME "resistor1_5k"
MCAD_NAME "resistor1_2k "
MCAD_TYPE "part"
MCAD_TYPE "part"
End
End