ObjectArx develop

1. 在CAD下框输出信息:
            acutPrintf (_T("\nYou selected pt : %ld"), sizeof(pt) ) ;

posted on 2007-05-08 09:55 麦斯维尔 阅读(234) 评论(1)  编辑 收藏 引用

评论

# re: ObjectArx develop 2007-05-08 10:00 麦斯维尔

2.选择某实体 输出其id:
static void AsdkStep02_mySelect(void)
{
// Add your code for command
AsdkStep02._mySelect here
ads_name en ;
ads_point pt ;
if ( acedEntSel (NULL, en, pt) != RTNORM )
return ;
acutPrintf (_T("\nYou selected entity ID: %ld"), en [0]) ;
acutPrintf (_T("\nYou selected entity ID: %ld"), en [1]) ;
}  回复  更多评论   


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理


导航

<2007年5月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

统计

常用链接

留言簿(1)

随笔档案

搜索

最新评论

阅读排行榜

评论排行榜