找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 1675|回复: 3

[求助] 用API怎么改 Leader 的箭头样式

[复制链接]

已领礼包: 1268个

财富等级: 财源广进

发表于 2013-11-29 23:50:08 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
Leader 的其他 DIM 属性没有加入
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!

已领礼包: 145个

财富等级: 日进斗金

发表于 2013-11-30 08:38:23 | 显示全部楼层
命令: (xdrx_getpropertyvalue e)

Class AcDbLeader:

    ├─AnnoHeight
    ├─AnnotationObjId
    ├─AnnotationOffset
    ├─AnnoType
    ├─AnnoWidth
    ├─DimensionStyle
    ├─FirstVertex
    ├─HasArrowHead
    ├─HasHookLine
    ├─IsSplined
    ├─LastVertex
    ├─Normal
    ├─NumVertices

setpropertyvalue

Class AcDbLeader:
├─AppendVertex (3d Point)
  ├─AttachAnnotation (Ename)
  ├─DetachAnnotation (T)
  ├─DisableArrowHead (T)
  ├─EnableArrowHead (T)
  ├─RemoveLastVertex (T)
  ├─SetAnnotationOffset (3d Point)
  ├─SetVertexAt (Int 3d Point)


  ├─Dimasz (Int or Real)
  ├─Dimclrd (Int OR RGB LIST)
  ├─DimensionStyle (ENAME OR STR)
  ├─DimGap (Int or Real)
  ├─Dimldrblk (STR)
  ├─Dimlwd (Int)
  ├─Dimsah (T or NIL)
  ├─Dimscale (Int or Real)
  ├─DimstyleData (Ename or STR)
  ├─Dimtad (Int)
  ├─Dimtxsty (Ename or STR)
  ├─Dimtxt (Int OR REAL)


  ├─SetPlane (3d Point and 3d Point(vector))
  ├─SetToSplineLeader (T)

  ├─SetToStraightLeader (T)


你看看缺哪个?


论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

已领礼包: 1268个

财富等级: 财源广进

 楼主| 发表于 2013-11-30 09:17:54 | 显示全部楼层
看的是 2014 的ARX help,这三个属性有吗?

setColorIndex
Returns the result of calling AcDbEntity::setColorIndex() for the object.

This method is obsolete and will not be in future releases.

setDimVars
Sets the leader to use the dimStyle and dim overrides that are currently the default within the AutoCAD editor. This method is obsolete and will not be in future releases. Use a call to setDimensionStyle() followed by a call to setDimstyleData() instead.


vertexAt
Returns the AcGePoint3d that is the vertex at the location index (0 based) in this leader's vertex array.
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

已领礼包: 1268个

财富等级: 财源广进

 楼主| 发表于 2013-11-30 09:18:57 | 显示全部楼层
本帖最后由 st788796 于 2013-11-30 09:25 编辑

晕倒,这防水墙太水了吧!
E 文帖扔回收站了!
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-5-11 00:01 , Processed in 0.204167 second(s), 34 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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