AnyCAD Rapid API 2023
Help you to create a better world!
|
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() |
<>
SketchCurve
|
static |
重载 SketchElement .
|
static |
重载 SketchElement .
拖动
pid | 参数ID。 0表示整体移动 |
offset | 偏移 |
to | 终点 |
ClassId SketchCurve.GetClassId | ( | ) |
|
static |
boolean SketchCurve.SetParameter | ( | long | pid, |
double | param | ||
) |
设置参数
pid | 参数ID |
param | 参数的值 |
boolean SketchCurve.SetParameter | ( | long | pid, |
GPnt2d | pt | ||
) |
设置参数
pid | 参数ID |
pt | 参数的值 |
boolean SketchCurve.Validate | ( | ) |
是否有效