我这个旋转Text结果怎么不对?
<p> foreach(ObjectId id in btr)<br/> {<br/> Entity ent = (Entity)myT.GetObject(id,OpenMode.ForWrite);<br/> if(ent.GetType() == typeof(Text))<br/> {<br/> Text et=(Text)ent;<br/> et.Rotation=45.0;<br/> //Autodesk.AutoCAD.Geometry.Matrix3d m3d =new Matrix3d();<br/> //m3d.SetToRotation(2,new Vector3d(0,0,0),ent.Position);<br/> //ent.TransformBy(m3d);<br/> et.RecordGraphicsModified(true);<br/> }<br/> }</p><p>运行过后没有反应。。怎么回事??谢谢!</p>
页:
[1]