Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next


EA_OnPostNewAttribute notifies Add-Ins that a new attribute has been created on a diagram. It enables Add-Ins to modify the attribute upon creation.

This event occurs when a user creates a new attribute on an element by either drag-and-dropping from the Project Browser, using the 'Attributes' tab of the 'Features' dialog, or using the in-place editor on the diagram. The notification is provided immediately after the attribute is created.


Function EA_OnPostNewAttribute (Repository As EA.Repository, Info As EA.EventProperties) As Boolean

The EA_OnPostNewAttribute function syntax contains these parameters.



See also



Direction: IN

Description: Contains this EventProperty object for the new attribute:

  • AttributeID: A long value corresponding to Attribute.AttributeID
EventProperties Class



Direction: IN

Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information.

Repository Class

Return Value

Return True if the attribute has been updated during this notification. Return False otherwise.

Learn more