AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::EntityType类 参考

The element that can store Entity. 更多...

#include <APIEntityType.h>

类 AnyCAD::API::EntityType 继承关系图:
AnyCAD::API::RenderableType AnyCAD::API::RenderableElement AnyCAD::API::PropertiesElement AnyCAD::API::Element AnyCAD::API::Object

Public 成员函数

void SetGeometry (const EntityGroup &_Geometry)
 
EntityGroup GetGeometry () const
 
void SetGeometryScriptId (const ElementId &_GeometryScriptId)
 
ElementId GetGeometryScriptId () const
 
TopoShape GetTopoShape (int nId) const
 
- Public 成员函数 继承自 AnyCAD::API::RenderableType
void SetTypeGUID (const String &_TypeGUID)
 
String GetTypeGUID () const
 
RenderableInstance CreateInstance () const
 
ElementIdSet GetInstanceIds () const
 
GroupSceneNode GetTypeSceneNode () const
 
AABox GetBBox () const
 
virtual bool EnableAnimationByName (const String &strName)
 
Animator GetAnimator () const
 
virtual SceneNode GetSceneNode () const
 
- Public 成员函数 继承自 AnyCAD::API::RenderableElement
void SetVisible (bool _Visible)
 
bool GetVisible () const
 
void SetStandalone (bool _Standalone)
 
bool GetStandalone () const
 
void SetStyleId (const ElementId &_StyleId)
 
ElementId GetStyleId () const
 
bool IsVisible () const
 
- Public 成员函数 继承自 AnyCAD::API::PropertiesElement
void AddParameter (ParameterId paramId, const ParameterValue &pParameter)
 
ParameterValue RemoveParameter (ParameterId paramId)
 
void AddParameterUI (ParameterId paramId, const ParameterUI &pParameterUI)
 
ParameterUI GetParameterUI (ParameterId paramId) const
 
ParameterUI RemoveParameterUI (ParameterId paramId)
 
ParameterUISet GetParameterUISet () const
 
virtual ParameterValue GetParameterValue (ParameterId paramId) const
 
virtual bool SetParameterValue (ParameterId paramId, const ParameterValue &pValue)
 
- Public 成员函数 继承自 AnyCAD::API::Element
ElementId GetId () const
 
String GetName () const
 
void SetName (const String &strName)
 
String GetCategory () const
 
void SetCategory (const String &category)
 
ParameterUISet GetSystemParameterUISet () const
 
Document GetOwnerDocument () const
 
- Public 成员函数 继承自 AnyCAD::API::Object
String GetObjectClassId () const
 
StringList ListParentClassIds () const
 

详细描述

The element that can store Entity.

TODO:

成员函数说明

EntityGroup AnyCAD::API::EntityType::GetGeometry ( ) const

Get Geometry.

返回
the Geometry.
ElementId AnyCAD::API::EntityType::GetGeometryScriptId ( ) const

Get GeometryScriptId.

返回
the GeometryScriptId.
TopoShape AnyCAD::API::EntityType::GetTopoShape ( int  nId) const

Get Sub TopoShape by id

参数
nIdthe id
返回
the EntityGroup
void AnyCAD::API::EntityType::SetGeometry ( const EntityGroup _Geometry)

Set the Geometry.

参数
_Geometrythe Geometry.
void AnyCAD::API::EntityType::SetGeometryScriptId ( const ElementId _GeometryScriptId)

Set the GeometryScriptId.

参数
_GeometryScriptIdthe GeometryScriptId.

该类的文档由以下文件生成: