Community
Fusion Electronics
Working an electronics project and need help with the schematic, the PCB, or making your components? Join the discussion as our community of electronic design specialists and industry experts provide you their insight and best practices.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change package on multiple components

1 REPLY 1
Reply
Message 1 of 2
infinitemach
138 Views, 1 Reply

Change package on multiple components

I have a design where I need to bulk change the package from 0402 to 0603. In the PCB designer, I selected all the 0402 capacitors in Design Manager, 183 of them, and when I right click on one of the capacitors, I can only change the package on the part I clicked on. 

 

Looking over in Inspector, I don't see a quick action for changing the package. It only has an action for replacing the part, which doesn't seem optimal to me.

1 REPLY 1
Message 2 of 2
mtl.asm
in reply to: infinitemach

i dont think there is a way without making a script. 

 

but its easy enough to do... for example just group the caps you want to change then run something like this. Just change the string variable "target_package" to be whatever the package you want to change to is called. 

 

// change package for group example
// by scott monk mtl.asm@gmail.com
// no warranty. no attribution.

#usage "changes package of components in group to target string"

string target_package = "C_CHIP-0603(1608-METRIC)";

string cmd;
string temp;

if(board){
	board(B){
		B.elements(E){
			if(ingroup(E)){
				sprintf(temp, "change package %s %s;", E.name, target_package);
				cmd += temp;
			}
		}
	}
}else{

	dlgMessageBox("run from board view");
}

exit(cmd);

 

 

mtlasm_0-1683057767157.png

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums