调用线型设置对话框

//隐形函数,需要自己定义

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;

}

此条目发表在ObjectArx分类目录。将固定链接加入收藏夹。

发表评论