AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
ClassId | GetClassId () |
ObjectIdList | GetOutputs () |
boolean | SetOutputs (ObjectIdList val) |
StringList | GetInputKeys () |
ObjectIdList | GetInput (String key) |
ObjectId | GetInputId (String key) |
void | AddInput (String key, ObjectIdList ids) |
void | SetInputId (String key, ObjectId id) |
void | RemoveInput (String key) |
boolean | IsEqual (String key, ObjectIdList ids) |
boolean | Contains (String key) |
ObjectIdList | ListVisualChildren () |
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) |
void | SetVisible (boolean bVisible) |
boolean | GetVisible () |
void | SetProvisional (boolean enabled) |
boolean | GetProvisional () |
void | SetPickable (boolean bPickable) |
boolean | GetPickable () |
void | SetLocked (boolean locked) |
boolean | GetLocked () |
void | SetSectionable (boolean bSectionable) |
boolean | GetSectionable () |
void | SetBrowserable (boolean browserable) |
boolean | GetBrowserable () |
void | SetEditable (boolean editable) |
boolean | GetEditable () |
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 | 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) |
void | ListParameters (ParameterDict parameters) |
boolean | SetParameter (ParameterDict parameters, String key) |
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) |
ObjectId | GetSourceId () |
boolean | SetSourceId (ObjectId val) |
String | GetCategory () |
boolean | SetCategory (String val) |
Document | GetDocument () |
void | MakeUniqueName (String base) |
void | MakeUniqueNameByBase (String base) |
void | MakeUniqueName () |
void | MakeUniqueNameByConfig () |
void | RequestUpdate (EnumUpdateElementFlag mode) |
void | RequestUpdate () |
String | GetModifyCommand () |
Public 成员函数 继承自 AObject | |
boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
static ClassId | GetStaticClassId () |
static FunctionElement | Cast (AObject obj) |
static FunctionElement | Create (Document pDoc) |
<>
FunctionElement
根据一个或多个输入经过计算,生成新的对象。
void FunctionElement.AddInput | ( | String | key, |
ObjectIdList | ids ) |
增加输入对象
key | 标识 |
ids | 对象ID |
|
static |
重载 EntityElement .
boolean FunctionElement.Contains | ( | String | key | ) |
是否存在Key
key | Key |
|
static |
重载 EntityElement .
ClassId FunctionElement.GetClassId | ( | ) |
ObjectIdList FunctionElement.GetInput | ( | String | key | ) |
获取输入对象
key | 标识 |
ObjectId FunctionElement.GetInputId | ( | String | key | ) |
获取ID,简单写法。方便只有一个ID的情况获取。
key | 标识 |
StringList FunctionElement.GetInputKeys | ( | ) |
获取输入的Key列表
|
static |
boolean FunctionElement.IsEqual | ( | String | key, |
ObjectIdList | ids ) |
是否与已有的相同
key | 标识 |
ids | 比较的对象ID |
ObjectIdList FunctionElement.ListVisualChildren | ( | ) |
收集可视化对象
void FunctionElement.RemoveInput | ( | String | key | ) |
移除输入
key | 标识 |
void FunctionElement.SetInputId | ( | String | key, |
ObjectId | id ) |
设置只需要一个Id的输入。简单写法
key | 标识 |
id | ID |