Call the
PART::update method when an entity has been updated. The part itself doesn't really care, but this triggers the
entity_callback mechanism with a
pm_Update_Entity so that observers know that something interesting has occurred. During a later rollback, the
entity_callback mechanism is triggered with a
pm_Roll_Update_Entity.
|
|
PART::update does change the model and therefore starts a new
DELTA_STATE if one is not already open. The reason for the model change is to create a change bulletin on the
ID_ATTRIB (and the
DISPLAY_ATTRIB if using the
GI tool). This change bulletin is noticed during rollback and is used keep the
PART (and display) in sync with the active state of the model.
|
|
PART::update should be called after each change to the model. Call
PART::update and then
api_part_note_state inside the delta state where the changes occurred. There is no need to call
PART::update after roll.
|