- UID
- 211285
- 积分
- 0
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2005-1-14
- 最后登录
- 1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
我在编程序时遇到对一个AcDb2dPolyline实体进行旋转地情况,可是transformBy函数不能用,有哪位高手做过相关的工作烦劳指点菜鸟一下,谢谢
transformBy()函数只适合于AcDbCircle, AcDbLine, AcDbArc, AcDb2dPolyline外的实体类型的操作下面是对这个函数的帮助文档
This function provides a means by which AutoCAD and ObjectARX applications can ask the entity to apply a transformation matrix (xform) to itself.
Each entity class must implement this function, so restrictions on what types of transformations are supported are up to the implementor of the entity class. The AutoCAD built-in entity classes for entity types that existed before R13 (that is, all the classes listed in the header file dbents.h such as AcDbCircle, AcDbLine, AcDbArc, AcDb2dPolyline, etc.) require that the transformation matrix represent a uniformly scaling orthogonal transformation (if it is not, then Acad::eCannotScaleNonUniformly will be returned). Other AutoCAD built-in classes have no restrictions.
怎么办,里面说了这四种类型的实体都不行,请问我改怎么做,望高手指点 |
|