|
调用acad标准对话框
线型选择
AcDbObjectId new_linetypeId;
char * new_linetypename = NULL;
if (acedLinetypeDialog(acdbCurDwg()->celtype(),true,new_linetypename,new_linetypeId) && new_linetypename) {
acutPrintf("/nLinetype selected: %s",new_linetypename);
free(new_linetypename);
} else {
acutPrintf("/nLinetype not selected!");
}
线宽选择
AcDb::LineWeight w;
acedLineWeightDialog(AcDb::LineWeight::kLnWt000,false,w);
颜色选择
acedSetColorDialog(i,TRUE,256); |
|