Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: stao on August 31, 2011, 12:44:03 am

Title: EA_OnRunElementRule is never called
Post by: stao on August 31, 2011, 12:44:03 am
Hi everyone

i started to create an addin for automatic rulechecks.
i began closely to the sparx code example
http://www.sparxsystems.com/enterprise_architect_user_guide/9.0/automation/model_validation_example.html
i created to rules for testing issues.

but for some reason after selecting a simple class in ea and press "validate"
EA_OnRunElementRule event is never triggered.

any ideas where my mistakes are?
Title: Re: EA_OnRunElementRule is never called
Post by: stao on August 31, 2011, 04:25:18 am
solved.

used the wrong error category string to define rules.