Parameters
- oObject1
- This object is to be checked.
public override void Execute(Eplan.EplApi.MasterData.MDPartsDatabaseItem oItem) { if (this.VerificationState == IVerification.VerificationState.RestrictiveState) { Rectangle oRectangle = oObject as Rectangle; if (oRectangle != null) { if (oRectangle.Page != null) { if (oRectangle.Page.Properties.DESIGNATION_FULLPLANT == "ETH") { DoErrorMessage(oRectangle, oRectangle.Page.Name); } } } } }