AnyCAD Rapid API 2026
Help you to create a better world!
载入中...
搜索中...
未找到
AnyCAD.Drawing.DbLine类 参考

直线实体 更多...

类 AnyCAD.Drawing.DbLine 继承关系图:
AnyCAD.Drawing.DbEntity AnyCAD.Drawing.DbObject

Public 成员函数

 DbLine (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
DbLine clone (DbObject obj, DbDatabase db)
 
- Public 成员函数 继承自 AnyCAD.Drawing.DbEntity
 DbEntity (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
- Public 成员函数 继承自 AnyCAD.Drawing.DbObject
 DbObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
void Dispose ()
 
virtual string getObjectName ()
 获取对象名称
 
virtual EnumDbObjectType getObjectType ()
 获取对象类型枚举
 
virtual string getSubclassMarker ()
 获取子类标记
 
virtual bool hasDynamicSubclass ()
 是否有动态子类
 
string toString ()
 转换为字符串格式
 
DbXData getXData ()
 获取扩展数据
 
virtual bool copy (DbObject obj)
 复制对象
 

静态 Public 成员函数

static DbLine Cast (DbObject obj)
 
static DbLine create (DbDatabase db, ObjectId handle)
 
static DbLine create (DbDatabase db)
 
static DbLine create (DbBlockTableRecord block)
 

属性

DbXYZ StartPoint [get, set]
 起点坐标
 
DbXYZ EndPoint [get, set]
 终点坐标
 
- 属性 继承自 AnyCAD.Drawing.DbEntity
string LayerName [get, set]
 图层名称
 
ObjectId LayerHandle [get, set]
 图层对象ID
 
string LineTypeName [get, set]
 线型名称
 
ObjectId LineTypeHandle [get, set]
 线型对象ID
 
DbColor EntityColor [get, set]
 颜色(统一处理索引颜色和真彩色)
 
string BookColorName [get, set]
 颜色名称
 
EnumLineWeightType LineWeight [get, set]
 线宽
 
double LineTypeScale [get, set]
 线型比例
 
bool IsInvisible [get, set]
 是否可见
 
DbTransparency TransparencyValue [get, set]
 透明度
 
ObjectId MaterialHandle [get, set]
 材质对象ID
 
double Thickness [get, set]
 厚度
 
DbXYZ Normal [get, set]
 法向量
 
- 属性 继承自 AnyCAD.Drawing.DbObject
DbDatabase Document [get, set]
 所属文档
 
ObjectId Handle [get, set]
 对象ID
 
DbObject Owner [get, set]
 所有者对象指针
 

详细描述

直线实体