2 Star 4 Fork 3

danel996 / AutoCAD-ObjectArx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CEntityUtil.h 750 Bytes
一键复制 编辑 原始数据 按行查看 历史
lysjq 提交于 2018-07-15 15:21 . Some ObjectArx class
#pragma once
class CEntityUtil
{
public:
CEntityUtil();
~CEntityUtil();
//修改实体颜色
static void setColor(AcDbObjectId objectID, int ColorIndex);
//修改实体的图层
static void setLayer(AcDbObjectId objectID, const TCHAR* LayerName);
//修改实体的线性
static void setLineType(AcDbObjectId objectID, const TCHAR* LineType);
//按照指定角度沿一点旋转指定的实体
static Acad::ErrorStatus Rotate(AcDbObjectId objectID, const AcGePoint2d &pBasePoint, double rotationAngle);
//把实体从一点移动到另外一点
static Acad::ErrorStatus Move(AcDbObjectId objectID, AcGePoint3d &pBasePoint, AcGePoint3d &pDest);
//沿一点按比列缩放指定的实体
static Acad::ErrorStatus Scale(AcDbObjectId objectID, const AcGePoint3d &pBasePoint, double scaleSize);
};
1
https://gitee.com/anheihb03dlj/AutoCAD-ObjectArx.git
git@gitee.com:anheihb03dlj/AutoCAD-ObjectArx.git
anheihb03dlj
AutoCAD-ObjectArx
AutoCAD-ObjectArx
master

搜索帮助