明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1890|回复: 2

请问:如何旋转AcDb2dPolyline类型的实体

[复制链接]
发表于 2005-6-14 21:53:00 | 显示全部楼层 |阅读模式
如题, 我在编程序时遇到对一个AcDb2dPolyline实体进行旋转地情况,可是transformBy函数不能用,有哪位高手做过相关的工作烦劳指点菜鸟一下,谢谢
发表于 2005-6-14 22:52:00 | 显示全部楼层
 楼主| 发表于 2005-6-14 23:36:00 | 显示全部楼层
那个函数我也有,不过transformBy()函数只适合于MSITStore:C:\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbCircle/AcDbCircle.htm" target="_blank" >AcDbCircle, MSITStore:C:\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbLine/AcDbLine.htm" target="_blank" >AcDbLine, MSITStore:C:\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbArc/AcDbArc.htm" target="_blank" >AcDbArc, MSITStore:C:\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDb2dPolyline/AcDb2dPolyline.htm" target="_blank" >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 MSITStore:C:\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbCircle/AcDbCircle.htm" target="_blank" >AcDbCircle, MSITStore:C:\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbLine/AcDbLine.htm" target="_blank" >AcDbLine, MSITStore:C:\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDbArc/AcDbArc.htm" target="_blank" >AcDbArc, MSITStore:C:\ObjectARX%202002\docs\arxref.chm::/AcDb/AcDb2dPolyline/AcDb2dPolyline.htm" target="_blank" >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. 怎么办,里面说了这四种类型的实体都不行,请问我改怎么做,望高手指点
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-11-26 06:21 , Processed in 0.170156 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表