这是我的第一个自定义对象
万岁**** Hidden Message *****
它是干什么的? 试试看
我明白了,还不错
第一次尝试时,我打开AutoCAD 2009并加载DBX,然后打开图纸1.dwg,但没有显示任何内容,直到我更改了名称,但后来我再次尝试时,它显示在您的原始图纸1.dwg上
谢谢,我想我应该给这幅画命名。
我花了一点时间才弄清楚如何操纵手柄,所有示例都使用
虚拟Acad::ErrorStatus moveGripPointsAt(const AcDbIntArray&index,const AcGeVector3d&offset)显示;
我不得不覆盖并返回Acad::eNot在此功能
虚拟Acad::ErrorStatus moveGripPointsAt( const AcDbVoidPtrArray& gripAppData,const AcGeVector3d& offset, const int bitflags);
让我的握把使用旧方法工作
您的自定义对象是否派生自AcDbPolyline?
如果是,您可以使用:
Acad::ErrorStatus XXXXXXXXX::moveGripPointsAt (
const AcDbVoidPtrArray &gripAppData, const AcGeVector3d &offset,
const int bitflags
) {
assertWriteEnabled () ;
//----- If you return eNotImplemented here, that will force AutoCAD to call
//----- the older getGripPoints() implementation. The call below may return
//----- eNotImplemented depending of your base class.
return (AcDbCurve::moveGripPointsAt (gripAppData, offset, bitflags)) ;
}
嘿,LE,
你有没有看到任何使用新方法的例子?我不确定如何跟踪索引,弄乱字形也可能很酷,(小快乐的脸或其他东西)
这是自定义对象的源代码,尚未完成
完成的版本将为应用程序提供特殊的构造函数和内容
随着几条路径的改变
你是da'man Danielito......
(不知道他们也有自定义对象......好)
页:
[1]
2