查看单个帖子
旧 2009-04-21, 01:51 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】我这个旋转text结果怎么不对?

我这个旋转text结果怎么不对?
www.dimcax.com
我这个旋转text结果怎么不对?
foreach(objectid id in btr)
{
entity ent = (entity)myt.getobject(id,openmode.forwrite);
if(ent.gettype() == typeof(text))
{
text et=(text)ent;
et.rotation=45.0;
//autodesk.autocad.geometry.matrix3d m3d =new matrix3d();
//m3d.settorotation(2,new vector3d(0,0,0),ent.position);
//ent.transformby(m3d);
et.recordgraphicsmodified(true);
}
}
运行过后没有反应。。怎么回事??谢谢!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)