查看单个帖子
旧 2009-04-18, 08:30 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】请教如何修改线型?

请教如何修改线型?
请教如何修改线型?
acdbcircle *pcir1;
acgepoint3d point1;
acgevector3d nrm1=acgevector3d(0,0,1);
point1.x=500;point1.y=500;point1.z=0;
pcir1=new acdbcircle(point1,nrm1,da);
pblocktablerecord->appendacdbentity(objid,pcir1);
pcir1->close();
怎样把这个圆的线型改成虚线或者点划线
麻烦说具体点,小弟是新学的
用以下的函数:
virtual acad::errorstatus
setlinetype(
const char* newval,
adesk::boolean dosubents = adesk::ktrue);
newval input name of the linetypetablerecord to be referenced by the entity
dosubents input boolean indicating whether to propagate the change to any subentities the entity may own
不过要注意你要设置的线型要存在才有正确结果.
江苏昆山小城,欢迎交流
本职工作五金模具设计及加工
及cad软件开发
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)