Eplan P8 2.0 Validation Codel Hot! Now

Suggested next steps (practical)

Build failed. Error logged: Wrong potential name: 24V_AUX at Page 47 / I/O Rack 3 Eplan P8 2.0 Validation Codel

// Validation rule: All 24V DC potential definitions must have same name foreach (var potential in project.Potentials) Suggested next steps (practical) Build failed

The validation code in Eplan P8 2.0 offers numerous benefits to electrical engineers and designers, including: Eplan P8 2.0 Validation Codel

Structure of Validation Codes

Sub ValidateDeviceTags() Dim project As Eplan.EplApi.DataModel.Project Set project = Eplan.EplApi.DataModel.ProjectManager.CurrentProject Dim func As Eplan.EplApi.DataModel.Function Dim tags As Object Set tags = CreateObject("Scripting.Dictionary")

string targetName = "PE_24V_MAIN"; if (potential.Name != targetName) throw new ValidationException($"Wrong potential name: potential.Name at potential.Location");