AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
ClassId | GetClassId () |
ObjectId | GetReferencePlane () |
boolean | SetReferencePlane (ObjectId val) |
ObjectId | GetPropertyId () |
boolean | SetPropertyId (ObjectId val) |
ObjectId | GetActiveLayerId () |
boolean | SetActiveLayerId (ObjectId val) |
EnumDbViewType | GetViewType () |
boolean | SetViewType (EnumDbViewType val) |
EnumLevelOfDetail | GetLevelOfDetail () |
boolean | SetLevelOfDetail (EnumLevelOfDetail val) |
AABox | GetBoundingBox () |
ObjectIdSet | GetFrozenObjectIds () |
boolean | GetFreezeType () |
void | SetFreezeType (boolean val) |
boolean | GetHiddenType () |
void | SetHiddenType (boolean val) |
ObjectIdSet | GetProvisionalIds () |
double | GetViewScale () |
void | SaveCamera (Camera pCamera) |
boolean | RestoreCamera (Camera pCamera) |
boolean | IsVisible (DrawableElement pElement) |
boolean | CanShow (DrawableElement pElement) |
void | FreezeObjects (ObjectIdSet ids) |
void | HideObjects (ObjectIdSet ids) |
void | ShowObjects (ObjectIdSet ids) |
boolean | SetProvisionalObjects (ObjectIdSet ids) |
AABox | GetBoundingBox (ObjectIdSet ids) |
AABox | GetBoundingBox (PickedIdList ids) |
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 () |
void | ListParameters (ParameterDict parameters) |
boolean | SetParameter (ParameterDict parameters, String key) |
String | GetModifyCommand () |
Public 成员函数 继承自 AObject | |
boolean | IsEqual (AObject other) |
静态 Public 成员函数 | |
static ClassId | GetStaticClassId () |
static DbViewBase | Cast (AObject obj) |
static DbViewBase | Create (Document pDoc) |
<>
DbViewBase:View基类
boolean DbViewBase.CanShow | ( | DrawableElement | pElement | ) |
是否能够在当前DbView中显示
pElement | 对象 |
|
static |
重载 Element .
void DbViewBase.FreezeObjects | ( | ObjectIdSet | ids | ) |
被冻结的对象
ids | ID |
AABox DbViewBase.GetBoundingBox | ( | ObjectIdSet | ids | ) |
获取对象的包围盒
ids | 对象ID |
void DbViewBase.HideObjects | ( | ObjectIdSet | ids | ) |
隐藏对象
ids | ID |
boolean DbViewBase.IsVisible | ( | DrawableElement | pElement | ) |
对象是否在当前视图可见
pElement | 对象 |
boolean DbViewBase.RestoreCamera | ( | Camera | pCamera | ) |
恢复相机信息
pCamera | 相机 |
void DbViewBase.SaveCamera | ( | Camera | pCamera | ) |
保存相机信息
pCamera | 相机 |
boolean DbViewBase.SetProvisionalObjects | ( | ObjectIdSet | ids | ) |
临时显示对象
ids | 对象ID集合 |
void DbViewBase.ShowObjects | ( | ObjectIdSet | ids | ) |
显示对象
ids | ID |