AcMapDMStyle::Refresh Method

Land Desktop Development ARX CPP SDK

AcMapDMStyle:: Refresh Method
 

Refreshes topology stylization information for later regeneration.

virtual Acad::ErrorStatus Refresh(
    void*& pCookie, 
    const ACHAR* pTopoName, 
    Adesk::IntDbId lTopoElemId, 
    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.  
pTopoName 
Input topology name.  
lTopoElemId 
Input topology element 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 topology. 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].