AcMapDMMap::SetCurrentScale Method

Land Desktop Development ARX CPP SDK

AcMapDMMap:: SetCurrentScale Method
 

Sets the current scale of this map, affects BOTH the arbitrary scale and the classic Threshold.

Acad::ErrorStatus SetCurrentScale(
    double dScale, 
    bool bRegen = true
);
Parameters 
Description 
dScale 
Input arbitrary scale.  
bRegen 
Input whether to have Elements regen their acquired entities, regardless of whether a threshold change is occurring.  
Returns

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

Remarks

This method sets two internal values, an arbitrary "user scale" and the appropriate "map threshold scale", the latter being a threshold value corresponding to scale thresholds available for classic DM Elements. If the change in arbitrary scale does not require a threshold change, no threshold change will occur. Changing the current threshold is not allowed if stylization is on. If the Threshold will change, the caller is required to bracket this call with DismissSylization/UpdateStylization, which will requery the elements of the map.

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