AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
ClassId | GetClassId () |
TransformComponent (ObjectId entityId) | |
GTrsf | GetTransform () |
boolean | SetTransform (GTrsf val) |
void | SetLocation (GXYZ position) |
GXYZ | GetLocation () |
void | SetYawPitchRoll (GXYZ value) |
GXYZ | GetYawPitchRoll () |
GXYZ | GetEulerAngles () |
void | SetEulerAngles (GXYZ angles) |
void | SetDirection (GDir dirZ) |
Public 成员函数 继承自 Component | |
Component (ObjectId entityId) | |
ObjectId | GetEntityId () |
boolean | SetEntityId (ObjectId val) |
Element | GetEntity () |
Component | CloneComponent (Document pDoc, ObjectId entityId) |
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 TransformComponent | Cast (AObject obj) |
static TransformComponent | Create (Document pDoc, ObjectId entityId) |
static TransformComponent | Get (EntityElement pEntity) |
<>
矩阵变换组件,用于给Drawable对象增加矩阵变换
|
static |
重载 Component .
|
static |
GXYZ TransformComponent.GetEulerAngles | ( | ) |
设置选择角度,角度
void TransformComponent.SetLocation | ( | GXYZ | position | ) |
设置位置
position | 位置 |
void TransformComponent.SetYawPitchRoll | ( | GXYZ | value | ) |
设置选择角度,弧度
value | 欧拉角 |