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

Public 成员函数

ClassId GetClassId ()
 
TopoShape GetShape ()
 
boolean SetShape (TopoShape val)
 
double GetDeflection ()
 
boolean SetDeflection (double val)
 
boolean GetUseBatch ()
 
boolean SetUseBatch (boolean val)
 
boolean GetChildrenPickable ()
 
boolean SetChildrenPickable (boolean val)
 
void SetFaceColor (long faceId, ObjectId materialId)
 
void ClearFaceColor (long faceId)
 
void ClearFaceColors ()
 
- 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 ShapeElement Cast (AObject obj)
 
static ShapeElement 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 ShapeElement ShapeElement.Cast ( AObject  obj)
static

重载 DrawableElement .

◆ Create()

static ShapeElement ShapeElement.Create ( Document  pDoc)
static

重载 DrawableElement .

◆ GetClassId()

ClassId ShapeElement.GetClassId ( )

获取对象的类型信息

返回
类信息

重载 DrawableElement .

CraftPathFeature, FeatureElement , 以及 PlaneCutFeature 重载.

◆ GetStaticClassId()

static ClassId ShapeElement.GetStaticClassId ( )
static

获取类信息

返回

重载 DrawableElement .

CraftPathFeature, FeatureElement , 以及 PlaneCutFeature 重载.

◆ SetFaceColor()

void ShapeElement.SetFaceColor ( long  faceId,
ObjectId  materialId 
)

设置颜色和透明度

参数
faceId面的ID
materialId材质ID