chpmould 发表于 2011-5-19 19:29:15

C++中设置当前颜色

C++中如何设置当前颜色和当前线型,就对应LISP中(setvar "cecolor" 6)

松竹 发表于 2011-5-19 21:13:27

Acad::ErrorStatus AcDbDatabase::setCecolor(const AcCmColor& color);

color Input AcCmColor object containing the AutoCAD color index desired for the CECOLOR system variable

Sets the AutoCAD color index in color to be the CECOLOR value for the database.

See the System Variables section of the AutoCAD Command Reference for information on CECOLOR.

Returns Acad::eOk if successful.

chpmould 发表于 2011-5-19 22:26:56

刚接触,还不懂如何用,能否将此句写出来...
页: [1]
查看完整版本: C++中设置当前颜色