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

The element that can store a group of the Element. 更多...

#include <APILayerElement.h>

类 AnyCAD::API::LayerElement 继承关系图:
AnyCAD::API::GroupElement AnyCAD::API::PropertiesElement AnyCAD::API::Element AnyCAD::API::Object

Public 成员函数

void SetPropertyScriptId (const ElementId &_PropertyScriptId)
 
ElementId GetPropertyScriptId () const
 
void SetTimerScriptId (const ElementId &_TimerScriptId)
 
ElementId GetTimerScriptId () const
 
void SetEyePosition (const Vector3 &_EyePosition)
 
Vector3 GetEyePosition () const
 
void SetLookAtPosition (const Vector3 &_LookAtPosition)
 
Vector3 GetLookAtPosition () const
 
void SetElevation (Real _Elevation)
 
Real GetElevation () const
 
- Public 成员函数 继承自 AnyCAD::API::GroupElement
void SetUsageType (int _UsageType)
 
int GetUsageType () const
 
void SetElementIds (const ElementIdSet &_ElementIds)
 
ElementIdSet GetElementIds () const
 
void AddElement (const ElementId &ElementId)
 
void RemoveElement (const ElementId &ElementId)
 
Element FindElement (const ElementId &ElementId) const
 
Element FindElementByName (const String &strName) 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 a group of the Element.

TODO:

成员函数说明

Real AnyCAD::API::LayerElement::GetElevation ( ) const

Get Elevation.

返回
the Elevation.
Vector3 AnyCAD::API::LayerElement::GetEyePosition ( ) const

Get EyePosition.

返回
the EyePosition.
Vector3 AnyCAD::API::LayerElement::GetLookAtPosition ( ) const

Get LookAtPosition.

返回
the LookAtPosition.
ElementId AnyCAD::API::LayerElement::GetPropertyScriptId ( ) const

Get PropertyScriptId.

返回
the PropertyScriptId.
ElementId AnyCAD::API::LayerElement::GetTimerScriptId ( ) const

Get TimerScriptId.

返回
the TimerScriptId.
void AnyCAD::API::LayerElement::SetElevation ( Real  _Elevation)

Set the Elevation.

参数
_Elevationthe Elevation.
void AnyCAD::API::LayerElement::SetEyePosition ( const Vector3 _EyePosition)

Set the EyePosition.

参数
_EyePositionthe EyePosition.
void AnyCAD::API::LayerElement::SetLookAtPosition ( const Vector3 _LookAtPosition)

Set the LookAtPosition.

参数
_LookAtPositionthe LookAtPosition.
void AnyCAD::API::LayerElement::SetPropertyScriptId ( const ElementId _PropertyScriptId)

Set the PropertyScriptId.

参数
_PropertyScriptIdthe PropertyScriptId.
void AnyCAD::API::LayerElement::SetTimerScriptId ( const ElementId _TimerScriptId)

Set the TimerScriptId.

参数
_TimerScriptIdthe TimerScriptId.

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