AcMapDMStyle:: Refresh Method
Refreshes stylization information for later regeneration.
virtual Acad::ErrorStatus Refresh( void*& pCookie, AcDbObjectId entityId, Adesk::UInt32 flag = 0 );
Parameters |
Description |
pCookie |
Input memory value used by styles to transfer cached data across time from one stylization method to another. Cookie memory is considered to be opaque for existing styles, and should not be modified by the caller. |
entityId |
Input object ID. |
flag |
Reserved. For internal use only. |
Returns
Returns Acad::eOk if successful; otherwise, returns a different error code.
Remarks
Derived classes can reevaluate any Update()-time actions here. An example would be to rebuild a stylization entity in response to changes in the target entity. If the Style populated the cookie during Update, the appropriate cookie will be provided for the target entity. It is acceptable for this method to be a no-op.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].