AnyCAD Rapid API 2025
Help you to create a better world!
|
Public 成员函数 | |
ClassId | GetClassId () |
String | ToJSON () |
boolean | FromJSON (String json) |
boolean | LoadFile (String fileName) |
boolean | SaveFile (String fileName) |
ParameterValue | Find (String name) |
void | Remove (String name) |
boolean | IsExist (String name) |
void | Clear () |
float | Get (String name, float failback) |
FloatList | Get (String name, FloatList failback) |
double | Get (String name, double failback) |
DoubleList | Get (String name, DoubleList failback) |
int | Get (String name, int failback) |
Int32List | Get (String name, Int32List failback) |
boolean | Get (String name, boolean failback) |
ObjectId | Get (String name, ObjectId failback) |
ObjectIdList | Get (String name, ObjectIdList failback) |
String | Get (String name, String failback) |
StringList | Get (String name, StringList failback) |
Vector3 | Get (String name, Vector3 failback) |
Vector3d | Get (String name, Vector3d failback) |
GXYZ | Get (String name, GXYZ failback) |
GPnt | Get (String name, GPnt failback) |
GPntList | Get (String name, GPntList failback) |
GVec | Get (String name, GVec failback) |
GDir | Get (String name, GDir failback) |
GAx1 | Get (String name, GAx1 failback) |
GAx2 | Get (String name, GAx2 failback) |
GAx3 | Get (String name, GAx3 failback) |
GPnt2d | Get (String name, GPnt2d failback) |
GVec2d | Get (String name, GVec2d failback) |
GDir2d | Get (String name, GDir2d failback) |
float | GetFloat (String name, float failback) |
FloatList | GetFloatList (String name, FloatList failback) |
double | GetDouble (String name, double failback) |
DoubleList | GetDoubleList (String name, DoubleList failback) |
int | GetInt32 (String name, int failback) |
Int32List | GetInt32List (String name, Int32List failback) |
boolean | GetBool (String name, boolean failback) |
ObjectId | GetObjectId (String name, ObjectId failback) |
ObjectIdList | GetObjectIdList (String name, ObjectIdList failback) |
String | GetString (String name, String failback) |
StringList | GetStringList (String name, StringList failback) |
Vector3 | GetVector3f (String name, Vector3 failback) |
GPnt | GetGPnt (String name, GPnt failback) |
GPntList | GetGPntList (String name, GPntList failback) |
GVec | GetGVec (String name, GVec failback) |
GDir | GetGDir (String name, GDir failback) |
GAx1 | GetGAx1 (String name, GAx1 failback) |
GAx2 | GetGAx2 (String name, GAx2 failback) |
GAx3 | GetGAx3 (String name, GAx3 failback) |
GPnt2d | GetGPnt2d (String name, GPnt2d failback) |
GVec2d | GetGVec2d (String name, GVec2d failback) |
GDir2d | GetGDir2d (String name, GDir2d failback) |
void | Add (String name, float val) |
void | Add (String name, FloatList val) |
void | Add (String name, double val) |
void | Add (String name, DoubleList val) |
void | Add (String name, int val) |
void | Add (String name, Int32List val) |
void | Add (String name, boolean val) |
void | Add (String name, ObjectId val) |
void | Add (String name, ObjectIdList val) |
void | Add (String name, ObjectIdSet val) |
void | Add (String name, String val) |
void | Add (String name, StringList val) |
void | Add (String name, Vector3 val) |
void | Add (String name, GXYZ val) |
void | Add (String name, GPnt val) |
void | Add (String name, GPntList val) |
void | Add (String name, GVec val) |
void | Add (String name, GDir val) |
void | Add (String name, GAx1 val) |
void | Add (String name, GAx2 val) |
void | Add (String name, GAx3 val) |
void | Add (String name, GTrsf val) |
void | Add (String name, GPnt2d val) |
void | Add (String name, GVec2d val) |
void | Add (String name, GDir2d val) |
void | AddFloat (String name, float val) |
void | AddFloatList (String name, FloatList val) |
void | AddDouble (String name, double val) |
void | AddDoubleList (String name, DoubleList val) |
void | AddInt32 (String name, int val) |
void | AddInt32List (String name, Int32List val) |
void | AddBool (String name, boolean val) |
void | AddObjectId (String name, ObjectId val) |
void | AddObjectIdList (String name, ObjectIdList val) |
void | AddString (String name, String val) |
void | AddStringList (String name, StringList val) |
void | AddVector3f (String name, Vector3 val) |
void | AddGPnt (String name, GPnt val) |
void | AddGPntList (String name, GPntList val) |
void | AddGVec (String name, GVec val) |
void | AddGDir (String name, GDir val) |
void | AddGAx1 (String name, GAx1 val) |
void | AddGAx2 (String name, GAx2 val) |
void | AddGAx3 (String name, GAx3 val) |
void | AddGPnt2d (String name, GPnt2d val) |
void | AddGVec2d (String name, GVec2d val) |
void | AddGDir2d (String name, GDir2d val) |
Public 成员函数 继承自 AObject | |
boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
static ClassId | GetStaticClassId () |
static ParameterDict | Cast (AObject obj) |
<> ParameterDict 参数集合对象,支持多种类型的参数,支持动态添加、删除、修改、查找。
boolean ParameterDict.FromJSON | ( | String | json | ) |
从JSON字符串反序列化
boolean ParameterDict.LoadFile | ( | String | fileName | ) |
从文件加载
boolean ParameterDict.SaveFile | ( | String | fileName | ) |
保存到文件
String ParameterDict.ToJSON | ( | ) |
序列化到JSON字符串