API_Element
알려진 모든 요소 타입들을 수집하는 union입니다.
typedef union { API_Elem_Head header; API_WallType wall; API_ColumnType column; API_BeamType beam; API_WindowType window; API_DoorType door; API_ObjectType object; API_LampType lamp; API_SlabType slab; API_RoofType roof; API_MeshType mesh; API_DimensionType dimension; API_RadialDimensionType radialDimension; API_LevelDimensionType levelDimension; API_AngleDimensionType angleDimension; API_TextType text; API_LabelType label; API_ZoneType zone; API_HatchType hatch; API_LineType line; API_PolyLineType polyLine; API_ArcType arc; API_CircleType circle; API_SplineType spline; API_HotspotType hotspot; API_PictureType picture; API_CutPlaneType cutPlane; API_ElevationType elevation; API_InteriorElevationType interiorElevation; API_CameraType camera; API_CamSetType camset; API_DrawingType drawing; API_SectElemType sectElem; API_DetailType detail; API_WorksheetType worksheet; API_HotlinkType hotlink; API_CurtainWallType curtainWall; API_CWallSegmentType cwSegment; API_CWallFrameType cwFrame; API_CWallPanelType cwPanel; API_CWallJunctionType cwJunction; API_CWallAccessoryType cwAccessory; API_ShellType shell; API_MorphType morph; API_SkylightType skylight; API_ChangeMarkerType changeMarker; } API_Element;
멤버
- header
- 일반 요소 헤더입니다.
- wall
- 벽을 의미합니다.
- column
- 기둥을 의미합니다.
- beam
- 보를 의미합니다.
- window
- 창을 의미합니다.
- door
- 문을 의미합니다.
- object
- 객체를 의미합니다.
- lamp
- 램프를 의미합니다.
- slab
- 슬래브를 의미합니다.
- roof
- 지붕을 의미합니다.
- mesh
- 메쉬를 의미합니다.
- dimension
- 치수를 의미합니다.
- radialDimension
- 원형 치수를 의미합니다.
- levelDimension
- 레벨 치수를 의미합니다.
- angleDimension
- 각 치수를 의미합니다.
- text
- 텍스트를 의미합니다.
- label
- 라벨을 의미합니다.
- zone
- 지역을 의미합니다.
- hatch
- 해치를 의미합니다.
- line
- 2D 라인을 의미합니다.
- polyLine
- 2D 폴리라인을 의미합니다.
- arc
- 2D 호를 의미합니다.
- circle
- 2D 원을 의미합니다.
- spline
- 2D 스플라인을 의미합니다.
- hotspot
- 핫스팟을 의미합니다.
- picture
- 그림을 의미합니다.
- cutPlane
- 단면을 의미합니다.
- elevation
- 입면을 의미합니다.
- interiorElevation
- 실내 입면을 의미합니다.
- camera
- 카메라를 의미합니다.
- camset
- 카메라 집합을 의미합니다.
- drawing
- 드로잉 요소를 의미합니다.
- sectElem
- 단면 창 내 요소를 의미합니다.
- detail
- 디테일 드로잉을 의미합니다.
- hotlink
- 핫링크를 의미합니다.
- worksheet
- 워크시트를 의미합니다.
- curtainWall
- 커튼 월을 의미합니다.
- cwSegment
- 커튼 월 세그먼트를 의미합니다.
- cwFrame
- 커튼 월 프레임을 의미합니다.
- cwPanel
- 커튼 월 패널을 의미합니다.
- cwJunction
- 커튼 월 정션을 의미합니다.
- cwAccessory
- 커튼 월 액세서리를 의미합니다.
- shell
- 셸을 의미합니다. (특수 기하학적 구조를 가진 지붕의 일종)
- skylight
- 스카이라이트를 의미합니다. (지붕 및 셸에 들어가는 창)
- morph
- 모프를 의미합니다.
- changeMarker
- ChangeMarker를 의미합니다.
설명
elements라는 데이터베이스 항목들은 평면, 단면/입면 등의 창에 배치되는 건축 및 도면 요소들의 글로벌 모음입니다.
요소 데이터베이스에서 작동하는 API 함수들은 ACAPI_Element_ 접두사로 시작하며, 자세한 내용은 요소 관리자를 참조하십시오.
많은 요소 관련 함수들은 파라미터 목록에 있는 API_Element structure를 사용합니다. 일반적으로, 당신은 union에서 필요한 필드들을 채워야 합니다. 그러면 서버 애플리케이션이 값들을 기반으로 요청을 파싱하고, 동일한 파라미터 안에 리턴 파라미터들을 전달합니다. 이것이 대부분의 함수들이 프로토타입에 const 지시어가 없는 이유입니다.
요소 레코드들에 데이터 저장하기 문서를 참조하여 커스텀 데이터를 요소 레코드에 저장/할당하고 나중에 사용할 프로젝트 파일에 저장하는 방법을 확인하십시오.
요구사항
- 버전: API 2.1 또는 이후
- 헤더: APIdefs_Elements.h
참고사항
API_Elem_Head,
API_WallType, API_ColumnType, API_BeamType, API_WindowType, API_DoorType, API_ObjectType, API_LampType, API_SlabType, API_RoofType, API_MeshType, API_DimensionType, API_RadialDimensionType, API_LevelDimensionType, API_AngleDimensionType, API_TextType, API_LabelType, API_ZoneType, API_HatchType, API_LineType, API_PolyLineType, API_ArcType, API_CircleType, API_SplineType, API_HotspotType, API_PictureType, API_CutPlaneType, API_ElevationType, API_InteriorElevationType, API_CameraType, API_CamSetType, API_DrawingType, API_SectElemType, API_ChangeMarkerType, API_DetailType, API_WorksheetType, API_HotlinkType, API_CurtainWallType, API_CWallSegmentType, API_CWallFrameType, API_CWallPanelType, API_CWallJunctionType, API_CWallAccessoryType, API_ShellType, API_SkylightType, API_MorphType
요소 관리자, API 타입