|
AnyCAD Rapid API 2026
Help you to create a better world!
|
棱锥对象 更多...
Public 成员函数 | |
| PyramidModel (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| PyramidModel (GeneralComponent component) | |
| override void | Initialize (ParameterDict pDict, bool bOverride) |
| 初始化属性集,仅需要序列化的。 | |
| override void | Initialize (ParameterDict pDict) |
| 初始化属性集,仅需要序列化的。 | |
| double | GetRadius () |
| double | GetRadius (double val) |
| void | SetRadius (double val) |
| double | GetHeight () |
| double | GetHeight (double val) |
| void | SetHeight (double val) |
| int | GetNumEdges () |
| int | GetNumEdges (int val) |
| void | SetNumEdges (int val) |
| override void | CopyFrom (ParameterDict dict) |
| 保存参数 | |
| override void | CopyTo (ParameterDict dict) |
| 加载参数 | |
Public 成员函数 继承自 AnyCAD.Designing.PrimitiveModel | |
| PrimitiveModel (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| PrimitiveModel (GeneralComponent component) | |
Public 成员函数 继承自 AnyCAD.Designing.ShapeModel | |
| ShapeModel (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| ShapeModel (GeneralComponent component) | |
| override void | Initialize (ParameterDict pDict, bool bOverride) |
| 初始化属性集,仅需要序列化的。 | |
| override void | Initialize (ParameterDict pDict) |
| 初始化属性集,仅需要序列化的。 | |
| TransformComponent | GetTransform () |
| GPnt | GetLocation () |
| 获取位置 | |
| void | SetLocation (GPnt loc) |
| 设置位置 | |
| void | SetLocationX (double x) |
| double | GetLocationX () |
| void | SetLocationY (double y) |
| double | GetLocationY () |
| void | SetLocationZ (double z) |
| double | GetLocationZ () |
| GXYZ | GetRotation () |
| XYZ角度 [0, 2pi] | |
| void | SetRotation (GXYZ angles) |
| 设置角度[0, 2pi] | |
| void | SetRotationX (double x) |
| double | GetRotationX () |
| void | SetRotationY (double y) |
| double | GetRotationY () |
| void | SetRotationZ (double z) |
| double | GetRotationZ () |
| void | SetDirection (GDir dir) |
| 设置方向 | |
| GDir | GetDirection () |
| 获取方向 | |
| void | SetColor (Vector3 clr) |
| 设置颜色 | |
| Vector3 | GetColor () |
| 获取颜色 | |
| void | SetTransform (GTrsf trf) |
| GTrsf | GetTransfrom () |
Public 成员函数 继承自 AnyCAD.Platform.PropertiesModel | |
| PropertiesModel (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
| PropertiesModel (GeneralComponent component) | |
| bool | IsValid () |
| void | InitializeComponent (bool bOverried) |
| 使用默认值初始化组件 | |
| void | InitializeComponent () |
| 使用默认值初始化组件 | |
| bool | Load (Document pDoc, ObjectId id) |
| 使用Entity的Id初始化Model | |
| ObjectId | GetEntityId () |
| 获取实体对象Id | |
静态 Public 成员函数 | |
| static string | Radius () |
| static string | Height () |
| static string | NumEdges () |
| static PyramidModel | Create (string name, double radius, double height, int numEdges, GPnt location, GDir dir) |
| static PyramidModel | Create (string name, double radius, double height, int numEdges, GPnt location) |
静态 Public 成员函数 继承自 AnyCAD.Designing.ShapeModel | |
| static string | Location () |
| static string | LocationX () |
| static string | LocationY () |
| static string | LocationZ () |
| static string | Rotation () |
| static string | RotationX () |
| static string | RotationY () |
| static string | RotationZ () |
| static string | Direction () |
| static string | DirectionX () |
| static string | DirectionY () |
| static string | DirectionZ () |
棱锥对象
Group: DataManage
|
virtual |
|
virtual |
|
virtual |
|
virtual |