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

带姿态的点 更多...

类 AnyCAD.Manufacturing.WaypointElement 继承关系图:
AnyCAD.Platform.VisualElement AnyCAD.Platform.DrawableElement AnyCAD.Platform.EntityElement AnyCAD.Foundation.Element AnyCAD.Foundation.AObject

Public 成员函数

 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)
 更新姿态
 
- Public 成员函数 继承自 AnyCAD.Platform.VisualElement
 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)
 在被添加到文档时候调用,或者手动调用以触发更新。
 
- Public 成员函数 继承自 AnyCAD.Platform.DrawableElement
 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)
 判断是否相交
 
- Public 成员函数 继承自 AnyCAD.Platform.EntityElement
 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
 
- Public 成员函数 继承自 AnyCAD.Foundation.Element
 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 ()
 获取原型对象。
 
- Public 成员函数 继承自 AnyCAD.Foundation.AObject
 AObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
void Dispose ()
 
virtual bool IsEqual (AObject other)
 对象是否相同,或同一个对象
 

静态 Public 成员函数

static new ClassId GetStaticClassId ()
 
static new WaypointElement Cast (AObject obj)
 
static new WaypointElement Create (Document pDoc)
 
static new WaypointElement _Create (Document pDoc, ObjectId id, string name)
 
- 静态 Public 成员函数 继承自 AnyCAD.Platform.VisualElement
static new ClassId GetStaticClassId ()
 
static new VisualElement Cast (AObject obj)
 
static new VisualElement Create (Document pDoc)
 
static new VisualElement _Create (Document pDoc, ObjectId id, string name)
 
- 静态 Public 成员函数 继承自 AnyCAD.Platform.DrawableElement
static new ClassId GetStaticClassId ()
 
static new DrawableElement Cast (AObject obj)
 
static new DrawableElement Create (Document pDoc)
 
- 静态 Public 成员函数 继承自 AnyCAD.Platform.EntityElement
static new ClassId GetStaticClassId ()
 
static new EntityElement Cast (AObject obj)
 
static EntityElement Create (Document pDoc)
 
static EntityElement _Create (Document pDoc, ObjectId id, string name)
 
- 静态 Public 成员函数 继承自 AnyCAD.Foundation.Element
static new ClassId GetStaticClassId ()
 
static Element Cast (AObject obj)
 
- 静态 Public 成员函数 继承自 AnyCAD.Foundation.AObject
static ClassId GetStaticClassId ()
 获取类信息
 

额外继承的成员函数

- 静态 Public 属性 继承自 AnyCAD.Platform.DrawableElement
static readonly uint PID_UpdateTransform = AnyCADPINVOKE.DrawableElement_PID_UpdateTransform_get()
 通知更新矩阵
 
static readonly uint PID_RegenParameter = AnyCADPINVOKE.DrawableElement_PID_RegenParameter_get()
 
static readonly uint PID_UpdateGraphics = AnyCADPINVOKE.DrawableElement_PID_UpdateGraphics_get()
 通知更新图形
 
static readonly uint PID_UpdateGeometry = AnyCADPINVOKE.DrawableElement_PID_UpdateGeometry_get()
 通知更新几何
 
static readonly uint PID_GeometryCreated = AnyCADPINVOKE.DrawableElement_PID_GeometryCreated_get()
 几何已经创建
 
- 静态 Public 属性 继承自 AnyCAD.Foundation.Element
static readonly uint PID_UpdateBrowerItem = AnyCADPINVOKE.Element_PID_UpdateBrowerItem_get()
 仅更新某一项的内容
 
static readonly uint PID_UpdateBrowerLayout = AnyCADPINVOKE.Element_PID_UpdateBrowerLayout_get()
 更新布局
 

详细描述

带姿态的点

Group: Simulate

成员函数说明

◆ GetClassId()

override ClassId AnyCAD.Manufacturing.WaypointElement.GetClassId ( )
virtual

获取对象的类型信息

返回
类信息

重载 AnyCAD.Platform.VisualElement .

◆ GetEulerAngles()

GXYZ AnyCAD.Manufacturing.WaypointElement.GetEulerAngles ( )

获取姿态信息:欧拉角

返回
得到欧拉角

◆ GetPosition()

GPnt AnyCAD.Manufacturing.WaypointElement.GetPosition ( )

获取位置坐标

返回
XYZ坐标

◆ SetPoint()

bool AnyCAD.Manufacturing.WaypointElement.SetPoint ( GPnt pos,
GDir dirX,
GDir dirY )

设置点姿态

参数
pos位置
dirXX轴
dirYY轴
返回
是否成功

◆ UpdatePose()

void AnyCAD.Manufacturing.WaypointElement.UpdatePose ( GPnt pos,
GXYZ eulerAngles )

更新姿态

参数
pos位置
eulerAngles欧拉角