ScrSetPowerGroundNetsFromFile

Selects nets to be designated power and ground nets.

UI Command:   Power/Ground Identification in Nets window.
Syntax:   obj.ScrSetPowerGroundNetsFromFile(<filePath>, <appendToCurrentNetsSelected>)
Parameters:  

BSTR filePath

BOOL appendToCurrentNetsSelected (TRUE = nets already set to power/ground remain power/ground; FALSE = all nets not in the file are set to non-power/ground.)

Return Value:  

None.

VB Example:  

obj.ScrSetPowerGroundNetsFromFile("C:/Files/power_ground_nets.txt", TRUE)

IPY Example:  

oDoc.ScrSetPowerGroundNetsFromFile('C:/Files/power_ground_nets.txt',1)