Definition of a Library Part section.
typedef struct { GSType sectType; unsigned short subIdent; short version; Int32 filler_2; } API_LibPartSection;
Members
- sectType
- Section type
- subIdent
- Section secondary identifier. Became
unsigned short
in v13. - version
- Version of section data (not used for custom sections)
Remarks
A Library Part is composed of several sections. Each section has an owner, a signature versioning information and data bytes. This data structure is designed to hold the available section headers.
The built in section types (that can be interpreted by Archicad) are:
Section type (API 1.3 or later) |
|
---|---|
|
Parameter section type |
|
1D script section type |
|
2D binary (draw) section type |
|
2D script section type |
|
3D script section type |
|
Properties script section type |
|
User Interface script section type |
|
Value List script section type |
|
3D binary section type |
|
Properties section type |
|
Comment text section type |
|
Info picture section type (PICT format) |
|
Info picture section type (GIF format) |
|
|
Section type (API 2.1 or later) |
|
|
Pictures referenced from the GDL (GIF format) |
|
Symbol SubKind data section type |
|
Component section type |
|
Descriptor section type |
|
|
Section type (API 4.1 or later) |
|
|
Called macros section type |
|
Ancestor for subtyping |
|
|
Section type (API 15 or later) |
|
|
Forward migration script section type |
|
Backward migration script section type |
|
Migration table section type |
|
|
Section type (API 16 or later) |
|
|
BIMcomponents.com URL |
|
Copyright information for BIMcomponents.com elements |
|
Lists keywords for searching |
If the sectType
field (a four-character case-sensitive identifier) does not match any types listed above, it is interpreted as a custom type. In this case the owner application is responsible for the content and the management of the section data.
This structure is used by many Library Part Manager functions as a parameter.
More detailed information on the standard Library Part sections can be found in the Archicad Reference Manual.
Requirements
- Version: API 1.3 or later
- Header: APIdefs_LibraryParts.h