MKI_PenSetBaseMode (Elements) Changed in Version 2022.2

www.CAD6.com

C++ Syntax

bool

MKI_PenSetBaseMode(

 __int32 f_nMode );

 

Sets a new base mode for pens in the current drawing window.

 

Parameters

Mode

[__int32] This value determines the way all pens behave. It can be a bit-wise OR combination of multiple modes (see MKI_BASEMODE_*).

 

Return Value

Returns true if successful, false if not.

 

Comment

When switching pens to passive by means of MKI_BASEMODE_PASSIVE, you might want to switch all property and extended property dialogs to their small version by calling MKI_SettingSet twice for modes MKI_SETTING_SMALLDLG_PROP and MKI_SETTING_SMALLDLG_XPROP and a value of true. The application lets the user permanently block changes by those modes, so do not rely on such a change to have an effect!

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH