AcMapDMStyle::Enable Method

Land Desktop Development ARX CPP SDK

AcMapDMStyle:: Enable Method
 

Enables or disables the style for the specified topology.

virtual Acad::ErrorStatus Enable(
    void*& pCookie, 
    const ACHAR* pTopoName, 
    Adesk::IntDbId lTopoElemId, 
    bool bEnable, 
    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.  
bEnable 
Input true to enable the style.  
flag 
Reserved. For internal use only.  
Returns

Returns Acad::eOk if successful; otherwise, returns a different error code.

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].