AnyCAD Rapid API 2025
Help you to create a better world!
载入中...
搜索中...
未找到
SketchPlane类 参考
类 SketchPlane 继承关系图:
CurveElement DrawableElement EntityElement Element AObject

Public 成员函数

ClassId GetClassId ()
 
GAx3 GetCoordinate ()
 
boolean SetCoordinate (GAx3 val)
 
boolean GetFill ()
 
boolean SetFill (boolean val)
 
ObjectId GetRefShapeId ()
 
boolean SetRefShapeId (ObjectId val)
 
EnumSketchSolverStatus GetSolverStatus ()
 
boolean SetSolverStatus (EnumSketchSolverStatus val)
 
int GetDofs ()
 
boolean SetDofs (int val)
 
boolean GetAlignWCS ()
 
boolean SetAlignWCS (boolean val)
 
boolean GetReversed ()
 
boolean SetReversed (boolean val)
 
boolean GetXReversed ()
 
boolean SetXReversed (boolean val)
 
void CreateCoordinate ()
 
void SetLocation (GPnt position)
 
GPnt GetLocation ()
 
GXYZ GetEulerAngles ()
 
boolean SetEulerAngles (GXYZ angles)
 
void SetDirection (GDir dir)
 
GDir GetDirection ()
 
void SetDirectionX (GDir dir)
 
GDir GetDirectionX ()
 
GTrsf GetLocalTransform ()
 
void SetLocalTransform (GTrsf trf)
 
Plane GetPlane ()
 
boolean Open ()
 
boolean Close ()
 
GPnt2d ToLocalPoint (GPnt pt)
 
GPnt2d ToLocalPoint (Vector3 pt)
 
Vector3 WorldPointOnPlane (Vector3 pt)
 
Vector3d ToWorldPoint (GPnt2d pt, double z)
 
boolean InitializeSolver (ObjectIdSet editingIds)
 
boolean InitializeSolver ()
 
boolean MovePoint (ObjectId id, long pid, GVec2d offset, GPnt2d to, boolean isRelative)
 
boolean MovePoint (ObjectId id, long pid, GVec2d offset, GPnt2d to)
 
boolean MoveShape (SketchGeometry pGemoetry, GVec2d offset, GPnt2d to)
 
boolean Solve ()
 
- Public 成员函数 继承自 CurveElement
TopoShape GetShape ()
 
boolean SetShape (TopoShape val)
 
String GetEditCommand ()
 
boolean SetEditCommand (String val)
 
int GetCreateMethod ()
 
boolean SetCreateMethod (int val)
 
boolean IsClosed ()
 
- Public 成员函数 继承自 DrawableElement
ObjectId GetLayerId ()
 
boolean SetLayerId (ObjectId val)
 
EnumShapeFilter GetDisplayFilter ()
 
boolean SetDisplayFilter (EnumShapeFilter val)
 
ObjectId GetFunctionId ()
 
boolean SetFunctionId (ObjectId val)
 
float GetPickOrder ()
 
boolean SetPickOrder (float val)
 
boolean SetCropable (boolean enabled)
 
boolean GetCropable ()
 
void SetTransformBehaviour (EnumTransformBehaviour behaviour)
 
EnumTransformBehaviour GetTransformBehaviour ()
 
AABox GetWorldBBox ()
 
AABox GetLocalBBox ()
 
TopoShape GetFinalShape (EnumLevelOfDetail lod)
 
TopoShape GetFinalShape ()
 
TopoShape GetFinalShape (PickedId pickedId, GTrsf trf, EnumLevelOfDetail lod)
 
TopoShape GetFinalShape (PickedId pickedId, GTrsf trf)
 
void SetTransform (GTrsf trf)
 
GTrsf GetTransform ()
 
GTrsf GetParentTransform ()
 
DrawableElement CreateInstance (Document pDoc)
 
- Public 成员函数 继承自 EntityElement
long GetState ()
 
boolean SetState (long val)
 
ObjectId GetParentId ()
 
boolean SetParentId (ObjectId val)
 
ObjectId GetDbViewId ()
 
boolean SetDbViewId (ObjectId val)
 
ObjectId GetMaterialId ()
 
boolean SetMaterialId (ObjectId val)
 
Vector3 GetColor ()
 
boolean SetColor (Vector3 val)
 
ObjectId GetLineStyleId ()
 
boolean SetLineStyleId (ObjectId val)
 
ObjectId GetTextStyleId ()
 
boolean SetTextStyleId (ObjectId val)
 
short GetLineWidth ()
 
boolean SetLineWidth (short val)
 
ObjectId GetPartId ()
 
boolean SetPartId (ObjectId val)
 
ObjectId GetPhysicalMaterialId ()
 
boolean SetPhysicalMaterialId (ObjectId val)
 
void SetVisible (boolean bVisible)
 
boolean GetVisible ()
 
int IsCheckable ()
 
void SetEnabled (boolean enabled)
 
boolean GetEnabled ()
 
void SetInfinitSize (boolean infinite)
 
boolean GetInfinitSize ()
 
void SetProvisional (boolean enabled)
 
boolean GetProvisional ()
 
void SetPreviewable (boolean enabled)
 
boolean GetPreviewable ()
 
void SetPickable (boolean bPickable)
 
boolean GetPickable ()
 
void SetLocked (boolean locked)
 
boolean GetLocked ()
 
void SetEditable (boolean editable)
 
boolean GetEditable ()
 
boolean IsEditable ()
 
void SetSectionable (boolean bSectionable)
 
boolean GetSectionable ()
 
void SetBrowserable (boolean browserable)
 
boolean GetBrowserable ()
 
void SetInvisible ()
 
void SetLODEnabled (boolean enabled)
 
boolean GetLODEnabled ()
 
void SetShadowing (boolean enabled)
 
boolean GetShadowing ()
 
void SetManaged (boolean enabled)
 
boolean GetManaged ()
 
void SetDynamic (boolean enabled)
 
boolean GetDynamic ()
 
void SetDraggable (boolean enabled)
 
boolean GetDraggable ()
 
void SetShapeSharable (boolean enabled)
 
boolean GetShapeSharable ()
 
void ClearColor ()
 
Component GetComponent (String className)
 
Component FindComponent (String className, String name)
 
void CollectChildren (ReferenceCollector collector)
 
void CollectPickedId (PickedIdCollector collector)
 
ObjectId GetUsedMaterialId ()
 
ObjectId GetUsedLineStyleId ()
 
ObjectId GetUsedTextStyleId ()
 
boolean Execute (String action, ParameterDict pParams)
 
int CloneComponents (EntityElement pEntity)
 
- Public 成员函数 继承自 Element
long GetUserId ()
 
boolean SetUserId (long val)
 
String GetName ()
 
boolean SetName (String val)
 
String GetSchemaName ()
 
boolean SetSchemaName (String val)
 
long GetUserFlags ()
 
void SetUserFlags (long val)
 
ObjectId GetId ()
 
String GetAliasName ()
 
boolean SetAliasName (String val)
 
String GetCategory ()
 
boolean SetCategory (String val)
 
ObjectId GetPrototypeId ()
 
boolean SetPrototypeId (ObjectId val)
 
int GetOrderNumber ()
 
boolean SetOrderNumber (int val)
 
Document GetDocument ()
 
void SetNameW (String name)
 
String GetNameW ()
 
String GetUIName ()
 
String GetUINameW ()
 
String GetToolTip (PickedItem item)
 
String GetToolTipW (PickedItem item)
 
void MakeUniqueName (String base)
 
void MakeUniqueNameW (String base)
 
void MakeUniqueNameByBase (String base)
 
void MakeUniqueAliasName (String base, boolean continuous)
 
void MakeUniqueAliasName (String base)
 
void MakeUniqueAliasNameW (String base, boolean continuous)
 
void MakeUniqueAliasNameW (String base)
 
void MakeUniqueName ()
 
void MakeUniqueNameByConfig ()
 
void MakeUniqueAliasNameByConfig (boolean continuous)
 
void MakeUniqueAliasNameByConfig ()
 
void RequestUpdate (long propId)
 
void ListParameters (ParameterDict parameters)
 
boolean SetParameter (ParameterDict parameters, String key)
 
String GetModifyCommand ()
 
Element GetPrototype ()
 
- Public 成员函数 继承自 AObject
boolean IsEqual (AObject other)
 

静态 Public 成员函数

static ClassId GetStaticClassId ()
 
static SketchPlane Cast (AObject obj)
 
static SketchPlane Create (Document pDoc)
 

额外继承的成员函数

- 静态 Public 属性 继承自 DrawableElement
static final long PID_UpdateTransform = AnyCADJNI.DrawableElement_PID_UpdateTransform_get()
 
static final long PID_RegenParameter = AnyCADJNI.DrawableElement_PID_RegenParameter_get()
 
static final long PID_UpdateGraphics = AnyCADJNI.DrawableElement_PID_UpdateGraphics_get()
 
static final long PID_UpdateGeometry = AnyCADJNI.DrawableElement_PID_UpdateGeometry_get()
 
static final long PID_GeometryUpdated = AnyCADJNI.DrawableElement_PID_GeometryUpdated_get()
 
static final long PID_GeometryCreated = AnyCADJNI.DrawableElement_PID_GeometryCreated_get()
 
- 静态 Public 属性 继承自 Element
static final long PID_UpdateBrowerItem = AnyCADJNI.Element_PID_UpdateBrowerItem_get()
 
static final long PID_UpdateBrowerLayout = AnyCADJNI.Element_PID_UpdateBrowerLayout_get()
 

详细描述

<> 草图平面对象

成员函数说明

◆ Cast()

static SketchPlane SketchPlane.Cast ( AObject obj)
static

重载 CurveElement .

◆ Create()

static SketchPlane SketchPlane.Create ( Document pDoc)
static

重载 CurveElement .

◆ GetClassId()

ClassId SketchPlane.GetClassId ( )

获取对象的类型信息

返回
类信息

重载 CurveElement .

◆ GetDirection()

GDir SketchPlane.GetDirection ( )

获取方向

返回

◆ GetDirectionX()

GDir SketchPlane.GetDirectionX ( )

获取X方向

返回
X方向

◆ GetEulerAngles()

GXYZ SketchPlane.GetEulerAngles ( )

设置方向

返回

◆ GetLocalTransform()

GTrsf SketchPlane.GetLocalTransform ( )

获取局部变换

返回
变换

重载 DrawableElement .

◆ GetStaticClassId()

static ClassId SketchPlane.GetStaticClassId ( )
static

获取类信息

返回

重载 CurveElement .

◆ SetDirection()

void SketchPlane.SetDirection ( GDir dir)

设置方向

参数
dir

◆ SetDirectionX()

void SketchPlane.SetDirectionX ( GDir dir)

设置X方向

参数
dirX方向

◆ SetLocalTransform()

void SketchPlane.SetLocalTransform ( GTrsf trf)

设置局部变换

参数
trf变换

重载 DrawableElement .

◆ SetLocation()

void SketchPlane.SetLocation ( GPnt position)

设置位置

参数
position位置