本帖最后由 gzxl 于 2025-8-14 09:06 编辑
 - // 创建引线
- // points 引线点集
- // text 注释
- AcDbObjectId CLeaderUtil::Add(const AcGePoint3dArray& points, const ACHAR* text)
- {
- AcDbLeader *pLeader = new AcDbLeader();
- // 将点集逐个作为引线顶点
- for (int i = 0; i < points.length(); i++)
- {
- pLeader->appendVertex(points);
- }
- // 创建文字注释的ID
- AcDbText *pText = new AcDbText(points[points.length() - 1], text);
- AcDbObjectId textId = CDwgDatabaseUtil::PostToModelSpace(pText);
- pText->close();
- // 将lea
- der的注释对象设置文字的对象
- pLeader->attachAnnotation(textId);
- AcDbObjectId leaderId = CDwgDatabaseUtil::PostToModelSpace(pLeader);
- // 关联引线与注释
- pLeader->evaluateLeader();
- pLeader->close();
- return leaderId;
- }
因为前面已经有人由于语种在吵架了。可能由于别人误解了我在劝架中的留言。
此时此刻去arx版块、我发的arx源码贴说“lisp is good”。在我理解就是故意挑衅,故意在搞小动作!
2010年注册论坛的人,会连 lisp 和 arx 都分不清吗?
针对此事,如果对方不再出来继续搞事,我也不再计较。
|