ScrCorrectValChkErrorsWarnings

Used after ScrRunValidationCheck and ScrRunValidationCheckWithOptions to apply autofixes to errors and warnings found during checks.
UI Command:   None.
Syntax:   obj.ScrCorrectValChkErrorsWarnings (<fixOptionArray>)
Parameters:  

ARRAY fixOptionsArray (0 - deselects an option, 1 - selects an option)

Autofixes, as follows:

  • 0 - disjoint errors
  • 1 - overlapping via errors
  • 2 - bondwire orientation errors
  • 3- misalignment warnings
  • 4 - bondwire misalignment warnings
  • 5 - floating node errors
Return Value:  

System.Int16 object at 0x000000000000002E [0]

(0 indicates successful completion of the command)

VB Example:  

dim fixOptionArray(6)

fixOptionArray=Array("1","1","1","1","1","1")

obj.ScrCorrectValChkErrorsWarnings(fixOptionArray)

IPY Example:  

oDoc.ScrCorrectValChkErrorsWarnings(['1','1','1','1','1','1'])