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

Public 成员函数

ClassId GetClassId ()
 
TopoShape GetShape ()
 
boolean SetShape (TopoShape val)
 
boolean Validate ()
 
boolean SetParameter (long pid, GPnt2d pt)
 
GPnt2d GetParameter (long pid)
 
boolean SetParameter (long pid, double param)
 
boolean Drag (long pid, GVec2d offset, GPnt2d to)
 
- Public 成员函数 继承自 SketchElement
ClassId GetClassId ()
 
 SketchElement (ObjectId sketchId)
 
ObjectId GetSketchId ()
 
boolean SetSketchId (ObjectId val)
 
- Public 成员函数 继承自 DrawableElement
ClassId GetClassId ()
 
ObjectId GetLayerId ()
 
boolean SetLayerId (ObjectId val)
 
long GetDisplayFilter ()
 
boolean SetDisplayFilter (long val)
 
ObjectId GetMaterialId ()
 
boolean SetMaterialId (ObjectId val)
 
boolean GetManaged ()
 
boolean SetManaged (boolean val)
 
ObjectId GetFunctionId ()
 
boolean SetFunctionId (ObjectId val)
 
AABox GetLocalBBox ()
 
void SetTransformBehaviour (EnumTransformBehaviour behaviour)
 
EnumTransformBehaviour GetTransformBehaviour ()
 
AABox GetWorldBBox ()
 
TopoShape GetFinalShape (EnumLevelOfDetail lod)
 
TopoShape GetFinalShape ()
 
void SetTransform (GTrsf trf)
 
GTrsf GetTransform ()
 
GTrsf GetParentTransform ()
 
GTrsf GetLocalTransform ()
 
void SetLocalTransform (GTrsf trf)
 
ObjectId GetUsedMaterialId ()
 
void RequestUpdate ()
 
- Public 成员函数 继承自 EntityElement
ClassId GetClassId ()
 
long GetState ()
 
boolean SetState (long val)
 
ObjectId GetParentId ()
 
boolean SetParentId (ObjectId val)
 
ObjectId GetDbViewId ()
 
boolean SetDbViewId (ObjectId val)
 
void SetVisible (boolean bVisible)
 
boolean GetVisible ()
 
void SetProvisional (boolean enabled)
 
boolean GetProvisional ()
 
void SetPickable (boolean bPickable)
 
boolean GetPickable ()
 
void SetSectionable (boolean bSectionable)
 
boolean GetSectionable ()
 
void SetBrowserable (boolean browserable)
 
boolean GetBrowserable ()
 
void SetEditable (boolean editable)
 
boolean GetEditable ()
 
void SetLODEnabled (boolean enabled)
 
boolean GetLODEnabled ()
 
Component GetComponent (String className)
 
Component FindComponent (String className, String name)
 
void CollectChildren (ReferenceCollector collector)
 
void ListParameters (ParameterDict parameters)
 
boolean SetParameter (ParameterDict parameters, String key)
 
- Public 成员函数 继承自 Element
ClassId GetClassId ()
 
ObjectId GetId ()
 
long GetUserId ()
 
boolean SetUserId (long val)
 
String GetName ()
 
boolean SetName (String val)
 
String GetSchemaName ()
 
boolean SetSchemaName (String val)
 
long GetUserFlags ()
 
void SetUserFlags (long val)
 
void MakeUniqueName (String base)
 
void MakeUniqueName ()
 
void RequestUpdate ()
 
void ListParameters (ParameterDict parameters)
 
boolean SetParameter (ParameterDict parameters, String key)
 
- Public 成员函数 继承自 AObject
ClassId GetClassId ()
 
boolean IsEqual (AObject other)
 

静态 Public 成员函数

static ClassId GetStaticClassId ()
 
static SketchCurve Cast (AObject obj)
 
static SketchCurve Create (Document pDoc)
 
static ClassId GetStaticClassId ()
 
static SketchElement Cast (AObject obj)
 
static SketchElement Create (Document pDoc)
 
static ClassId GetStaticClassId ()
 
static DrawableElement Cast (AObject obj)
 
static DrawableElement Create (Document pDoc)
 
static ClassId GetStaticClassId ()
 
static EntityElement Cast (AObject obj)
 
static EntityElement Create (Document pDoc)
 
static ClassId GetStaticClassId ()
 
static Element Cast (AObject obj)
 
static ClassId GetStaticClassId ()
 

额外继承的成员函数

- 静态 Public 属性 继承自 DrawableElement
static final long PID_Transform = AnyCADJNI.DrawableElement_PID_Transform_get()
 
static final long PID_RegenParameter = AnyCADJNI.DrawableElement_PID_RegenParameter_get()
 
static final long PID_Graphics = AnyCADJNI.DrawableElement_PID_Graphics_get()
 
static final long PID_RegenSection = AnyCADJNI.DrawableElement_PID_RegenSection_get()
 
- 静态 Public 属性 继承自 EntityElement
static final long PID_Visibility = AnyCADJNI.EntityElement_PID_Visibility_get()
 

详细描述

成员函数说明

◆ Cast()

static SketchCurve SketchCurve.Cast ( AObject  obj)
static

重载 SketchElement .

◆ Create()

static SketchCurve SketchCurve.Create ( Document  pDoc)
static

重载 SketchElement .

◆ Drag()

boolean SketchCurve.Drag ( long  pid,
GVec2d  offset,
GPnt2d  to 
)

拖动

参数
pid参数ID。 0表示整体移动
offset偏移
to终点
返回
是否成功

◆ GetClassId()

ClassId SketchCurve.GetClassId ( )

获取对象的类型信息

返回
类信息

重载 SketchElement .

◆ GetStaticClassId()

static ClassId SketchCurve.GetStaticClassId ( )
static

获取类信息

返回

重载 SketchElement .

◆ SetParameter() [1/2]

boolean SketchCurve.SetParameter ( long  pid,
double  param 
)

设置参数

参数
pid参数ID
param参数的值

◆ SetParameter() [2/2]

boolean SketchCurve.SetParameter ( long  pid,
GPnt2d  pt 
)

设置参数

参数
pid参数ID
pt参数的值

◆ Validate()

boolean SketchCurve.Validate ( )

是否有效

返回