调用线型设置对话框
//隐形函数,需要自己定义 bool acedLinetypeDialog( AcDbObjectId old_linetypeId, // ObjectId for current linetype: acdbCurDwg()->celtype(); bool IncludeByBlockByLayer, // Posibility of selecting "bylayer" or "byblock" TCHAR *&new_linetypeName, // Name of selected linetype AcDbObjectId &new_linetypeId // ObjectId for selected linetype ); //调用 AcDbObjectId new_linetypeId; TCHAR * new_linetypename = NULL; if(!acedLinetypeDialog(acdbCurDwg()->celtype(),false,new_linetypename,new_linetypeId)) { return; }查看完整版本: 调用线型设置对话框
Tags: