|
|
| WaypointElement (global::System.IntPtr cPtr, bool cMemoryOwn) |
| | 仅供内部使用
|
| |
| override ClassId | GetClassId () |
| | 获取对象的类型信息
|
| |
|
GAx3 | GetCoodinate () |
| |
|
bool | SetCoodinate (GAx3 val) |
| |
|
double | GetLength () |
| |
|
bool | SetLength (double val) |
| |
|
EnumWaypointType | GetPointType () |
| |
|
bool | SetPointType (EnumWaypointType val) |
| |
|
bool | SetPosition (GPnt v) |
| | 设置点的位置
|
| |
| GPnt | GetPosition () |
| | 获取位置坐标
|
| |
| bool | SetPoint (GPnt pos, GDir dirX, GDir dirY) |
| | 设置点姿态
|
| |
| GXYZ | GetEulerAngles () |
| | 获取姿态信息:欧拉角
|
| |
| void | UpdatePose (GPnt pos, GXYZ eulerAngles) |
| | 更新姿态
|
| |
|
| VisualElement (global::System.IntPtr cPtr, bool cMemoryOwn) |
| | 仅供内部使用
|
| |
|
ObjectId | GetStorageId () |
| |
|
bool | SetStorageId (ObjectId val) |
| |
|
PrimitiveShape | GetPrimitive () |
| |
|
CompoundShape | GetCompound () |
| |
|
SceneNode | GetNode () |
| |
|
void | SetPrimitive (PrimitiveShape shape) |
| |
|
void | SetCompound (CompoundShape shape) |
| |
|
void | SetNode (SceneNode shape) |
| |
|
void | SetMaterialByName (string name, ObjectId materialId) |
| |
|
ObjectId | GetMaterialByName (string name) |
| |
| override DrawableElement | CreateInstance (Document pDoc, string name, ObjectId id) |
| | 创建实例。
|
| |
| override DrawableElement | CreateInstance (Document pDoc, string name) |
| | 创建实例。
|
| |
| override DrawableElement | CreateInstance (Document pDoc) |
| | 创建实例。
|
| |
| override void | RequestUpdate (uint propId) |
| | 在被添加到文档时候调用,或者手动调用以触发更新。
|
| |
|
| DrawableElement (global::System.IntPtr cPtr, bool cMemoryOwn) |
| | 仅供内部使用
|
| |
|
ObjectId | GetLayerId () |
| |
|
bool | SetLayerId (ObjectId val) |
| |
|
EnumShapeFilter | GetDisplayFilter () |
| |
|
bool | SetDisplayFilter (EnumShapeFilter val) |
| |
|
ObjectId | GetFunctionId () |
| |
|
bool | SetFunctionId (ObjectId val) |
| |
|
float | GetPickOrder () |
| |
|
bool | SetPickOrder (float val) |
| |
| bool | SetCropable (bool enabled) |
| | 是否被视图裁剪框裁剪。默认可被裁剪
|
| |
| bool | GetCropable () |
| | 是否可被裁剪
|
| |
|
void | SetTransformBehaviour (EnumTransformBehaviour behaviour) |
| | 设置矩阵变化的行为。默认相对系统坐标系变换。
|
| |
|
EnumTransformBehaviour | GetTransformBehaviour () |
| |
|
virtual AABox | GetWorldBBox () |
| | 获取全局的包围盒
|
| |
|
AABox | GetLocalBBox () |
| | 局部包围盒。
|
| |
| virtual TopoShape | GetFinalShape (EnumLevelOfDetail lod) |
| | 获取几何对象,可能为空
|
| |
| virtual TopoShape | GetFinalShape () |
| | 获取几何对象,可能为空
|
| |
|
virtual TopoShape | GetFinalShape (PickedId pickedId, GTrsf trf, EnumLevelOfDetail lod) |
| |
|
virtual TopoShape | GetFinalShape (PickedId pickedId, GTrsf trf) |
| |
| virtual void | SetTransform (GTrsf trf) |
| | 设置全局矩阵变换
|
| |
| virtual GTrsf | GetTransform () |
| | 获取全局矩阵变换
|
| |
| GTrsf | GetParentTransform () |
| | 获取父节点的矩阵变换
|
| |
| virtual GTrsf | GetLocalTransform () |
| | 获取局部变换
|
| |
| virtual void | SetLocalTransform (GTrsf trf) |
| | 设置局部变换
|
| |
| virtual bool | Intersect (DrawableElement other, double tol) |
| | 判断是否相交
|
| |
|
| EntityElement (global::System.IntPtr cPtr, bool cMemoryOwn) |
| | 仅供内部使用
|
| |
|
uint | GetState () |
| |
|
bool | SetState (uint val) |
| |
|
ObjectId | GetParentId () |
| |
|
bool | SetParentId (ObjectId val) |
| |
|
ObjectId | GetDbViewId () |
| |
|
bool | SetDbViewId (ObjectId val) |
| |
|
ObjectId | GetMaterialId () |
| |
|
bool | SetMaterialId (ObjectId val) |
| |
|
Vector3 | GetColor () |
| |
|
bool | SetColor (Vector3 val) |
| |
|
ObjectId | GetLineStyleId () |
| |
|
bool | SetLineStyleId (ObjectId val) |
| |
|
ObjectId | GetTextStyleId () |
| |
|
bool | SetTextStyleId (ObjectId val) |
| |
|
byte | GetLineWidth () |
| |
|
bool | SetLineWidth (byte val) |
| |
|
ObjectId | GetPartId () |
| |
|
bool | SetPartId (ObjectId val) |
| |
|
ObjectId | GetPhysicalMaterialId () |
| |
|
bool | SetPhysicalMaterialId (ObjectId val) |
| |
| virtual void | SetVisible (bool bVisible) |
| | 设置可见性
|
| |
|
bool | GetVisible () |
| |
|
int | IsCheckable () |
| |
|
virtual void | SetEnabled (bool enabled) |
| |
|
bool | GetEnabled () |
| |
| void | SetInfinitSize (bool infinite) |
| | 设置是否无限大,默认有限的
|
| |
|
bool | GetInfinitSize () |
| |
| void | SetProvisional (bool enabled) |
| | 设置临时可见性
|
| |
|
bool | GetProvisional () |
| |
| void | SetPreviewable (bool enabled) |
| | 设置是否具有自动预览状态
|
| |
|
bool | GetPreviewable () |
| |
| void | SetPickable (bool bPickable) |
| | 是否可被选择
|
| |
|
bool | GetPickable () |
| |
|
void | SetLocked (bool locked) |
| | 是否锁定,锁定后则无法编辑
|
| |
|
bool | GetLocked () |
| |
| void | SetEditable (bool editable) |
| | 是否可被编辑,与Locked起反作用
|
| |
|
bool | GetEditable () |
| |
|
bool | IsEditable () |
| |
| void | SetSectionable (bool bSectionable) |
| | 是否可用于生成剖切元素
|
| |
|
bool | GetSectionable () |
| |
| void | SetBrowserable (bool browserable) |
| | 是否在默认的目录树上可见
|
| |
|
bool | GetBrowserable () |
| |
|
void | SetInvisible () |
| | 设置在目录树和场景均不可见
|
| |
| void | SetLODEnabled (bool enabled) |
| | 是否支持LoD
|
| |
|
bool | GetLODEnabled () |
| |
| void | SetShadowing (bool enabled) |
| | 是否为影子对象,显示选择的ID为其父ID。删除后,其父亲也会被删除
|
| |
| bool | GetShadowing () |
| | 是否为影子对象
|
| |
| virtual void | SetManaged (bool enabled) |
| | 设置托管状态。
|
| |
| bool | GetManaged () |
| | 获取托管状态
|
| |
| void | SetDynamic (bool enabled) |
| | 是否包含动态内容。
|
| |
| bool | GetDynamic () |
| | 是否包含动态内容
|
| |
| void | SetDraggable (bool enabled) |
| | 是否可被拖拽
|
| |
| bool | GetDraggable () |
| | 是否可被拖拽
|
| |
| void | SetShapeSharable (bool enabled) |
| | 剖面元素是否共享三维对象的GRep
|
| |
|
bool | GetShapeSharable () |
| |
|
void | ClearColor () |
| |
| virtual Component | GetComponent (string className) |
| | 根据类名获取组件
|
| |
| virtual Component | FindComponent (string className, string name) |
| | 根据类名获取组件
|
| |
| virtual void | CollectChildren (ReferenceCollector collector) |
| | 收集子对象
|
| |
| virtual void | CollectPickedId (PickedIdCollector collector) |
| | 收集显示对象ID
|
| |
| virtual ObjectId | GetUsedMaterialId () |
| | 自定义查找材质的顺序
|
| |
| virtual ObjectId | GetUsedLineStyleId () |
| | 自定义查找线样式的顺序
|
| |
| virtual ObjectId | GetUsedTextStyleId () |
| | 自定义查找文字样式的顺序
|
| |
| bool | Execute (string action, ParameterDict pParams) |
| | 执行自定义的命令。已经在事务内
|
| |
| int | CloneComponents (EntityElement pEntity) |
| | 从pEntity克隆Component
|
| |
|
| Element (global::System.IntPtr cPtr, bool cMemoryOwn) |
| | 仅供内部使用
|
| |
|
uint | GetUserId () |
| |
|
bool | SetUserId (uint val) |
| |
|
string | GetName () |
| |
|
bool | SetName (string val) |
| |
|
string | GetSchemaName () |
| |
|
bool | SetSchemaName (string val) |
| |
|
uint | GetUserFlags () |
| |
|
void | SetUserFlags (uint val) |
| |
|
ObjectId | GetId () |
| |
|
string | GetAliasName () |
| |
|
bool | SetAliasName (string val) |
| |
|
string | GetCategory () |
| |
|
bool | SetCategory (string val) |
| |
|
ObjectId | GetPrototypeId () |
| |
|
bool | SetPrototypeId (ObjectId val) |
| |
|
int | GetOrderNumber () |
| |
|
bool | SetOrderNumber (int val) |
| |
|
Document | GetDocument () |
| |
| void | SetNameW (string name) |
| | 设置名称
|
| |
|
string | GetNameW () |
| |
| virtual string | GetUIName () |
| | 组合Name和AliasName用于在UI上显示的名称
|
| |
|
string | GetUINameW () |
| |
| virtual string | GetToolTip (PickedItem item) |
| | 根据选择信息显示提示信息
|
| |
|
string | GetToolTipW (PickedItem item) |
| |
| void | MakeUniqueName (string baseName) |
| | 设置唯一的名称
|
| |
|
void | MakeUniqueNameW (string baseName) |
| |
|
void | MakeUniqueNameByBase (string baseName) |
| |
| void | MakeUniqueAliasName (string baseName, bool continuous) |
| | 设置唯一别名
|
| |
| void | MakeUniqueAliasName (string baseName) |
| | 设置唯一别名
|
| |
|
void | MakeUniqueAliasNameW (string baseName, bool continuous) |
| |
|
void | MakeUniqueAliasNameW (string baseName) |
| |
|
void | MakeUniqueName () |
| | 根据ElementNames配置生成唯一名称。
|
| |
|
void | MakeUniqueNameByConfig () |
| |
|
void | MakeUniqueAliasNameByConfig (bool continuous) |
| |
|
void | MakeUniqueAliasNameByConfig () |
| |
| virtual void | ListParameters (ParameterDict parameters) |
| | 列出界面可见的参数
|
| |
| virtual bool | SetParameter (ParameterDict parameters, string key) |
| | 根据参数修改属性
|
| |
| virtual string | GetModifyCommand () |
| | 获取自定义修改命令。
|
| |
| Element | GetPrototype () |
| | 获取原型对象。
|
| |
|
| AObject (global::System.IntPtr cPtr, bool cMemoryOwn) |
| | 仅供内部使用
|
| |
|
void | Dispose () |
| |
| virtual bool | IsEqual (AObject other) |
| | 对象是否相同,或同一个对象
|
| |