Réserver une Démo
Pré. Proc.

ModelWatcher Class

The ModelWatcher object enables an automation client to track changes in a particular model.

ModelWatcher Attributes

Attribute

Remarks

See also

ObjectType

ObjectType

Notes: Read only

Distinguishes objects referenced through a Dispatch interface.

ObjectType

ModelWatcher Methods

Methods

Remarks

See also

GetReloadItem (object Item)

ReloadType

Notes: The object that must be reloaded in order to see all changes is returned through the Item parameter. If there are no changes or the entire model must be reloaded, this value is returned as null (C#) or Nothing (VB).

Calling this method clears the records so that the next time it is called the return values refer only to new changes.

Returns a value from the ReloadType enumeration that specifies which type of change, if any, has occurred.

Parameters:

  • Item: Object

PeekReloadItem

ReloadType

Notes: This method behaves identically to 'GetReloadItem()' but does not clear the change record.

Notes

  • After your model has been loaded, you only create the ModelWatcher once; if you reload the model, or load another model, the created ModelWatcher is still valid

Learn more