AnyCAD Rapid API 2023
Help you to create a better world!
ShapeElement Class Reference
Inheritance diagram for ShapeElement:
DrawableElement Element AObject ShapeInstance FeatureElement CraftPathFeature PlaneCutFeature

Public Member Functions

ClassId GetClassId ()
 
ElementId GetMaterialId ()
 
boolean SetMaterialId (ElementId val)
 
TopoShape GetShape ()
 
boolean SetShape (TopoShape val)
 
double GetDeflection ()
 
boolean SetDeflection (double val)
 
void SetFaceColor (long faceId, Vector3 color)
 
void ClearFaceColor (long faceId)
 
- Public Member Functions inherited from DrawableElement
ElementId GetReferencePlane ()
 
boolean SetReferencePlane (ElementId val)
 
long GetState ()
 
boolean SetState (long val)
 
long GetDisplayFilter ()
 
boolean SetDisplayFilter (long val)
 
AxisAlignedBox GetWorldBBox ()
 
void SetVisible (boolean bVisible)
 
boolean GetVisible ()
 
void SetPickable (boolean bPickable)
 
boolean GetPickable ()
 
TopoShape GetFinalShape ()
 
SceneNode ToNode ()
 
- Public Member Functions inherited from Element
ElementId GetId ()
 
void SetId (ElementId val)
 
long GetUserId ()
 
boolean SetUserId (long val)
 
String GetName ()
 
boolean SetName (String val)
 
String GetSchemaName ()
 
boolean SetSchemaName (String val)
 
ParameterDict GetParameterDict ()
 
boolean AddParameter (String name, ParameterValue val)
 
void SetParameter (String name, ParameterValue val)
 
void RemoveParameter (String name)
 
ParameterIterator CreateParameterIterator ()
 
ParameterValue FindParameter (String name)
 
- Public Member Functions inherited from AObject
boolean IsEqual (AObject other)
 

Static Public Member Functions

static ShapeElement Cast (AObject obj)
 
static ClassId GetStaticClassId ()
 

Detailed Description

Member Function Documentation

◆ Cast()

static ShapeElement ShapeElement.Cast ( AObject  obj)
static

Reimplemented from DrawableElement.

◆ GetClassId()

ClassId ShapeElement.GetClassId ( )

Reimplemented from DrawableElement.

◆ GetStaticClassId()

static ClassId ShapeElement.GetStaticClassId ( )
static

Reimplemented from DrawableElement.