How to set the CAD system variables

The main use of Function:


MxDrawXCustomFunction::Mx_SetSysVar


Set system variables. Details are as follows:


parameter Explanation

CString sVarName

System variable names

Value

The value to be set


DYNINPUT system variable set value 0:


1
2
3
4
5
Dim param As MxDrawResbuf
Set param = New MxDrawResbuf
param.AddString "DYNINPUT"
param.AddLong 0, 5010 '5010 = RTLONG
MxDrawX1.CallEx "Mx_SetSysVar" , param

Guess you like

Origin www.cnblogs.com/yzy0224/p/10966383.html