ModelStateEvents.OnActivateModelState Event

Parent Object: ModelStateEvents

Description

Event that fires when a model state is activated.

Syntax

ModelStateEvents.OnActivateModelState( DocumentObject As Document, ModelState As ModelState, BeforeOrAfter As EventTimingEnum, Context As NameValueMap, HandlingCode As HandlingCodeEnum )

Parameters

Name Type Description
DocumentObject Document The Document object the model state is being activated within.
ModelState ModelState The model state that is being activated.
BeforeOrAfter EventTimingEnum Input EventTimingEnum indicating when the event is being fired. Notification is sent before and after the model state has been activated.
Context NameValueMap Input NameValueMap object that can be used to determine the context of why the event fired. No context information is provided for this event.
HandlingCode HandlingCodeEnum Output HandlingCodeEnum that indicates how you are handling the event. The value of this argument is currently ignored for this event.

Version

Introduced in version 2022