Returns the data of a registered Library Part.
GSErrCode ACAPI_LibPart_Get ( API_LibPart* libPart );
- [in/out] Definition of the library part.
The Library Part should be identified by the
indexfield. Other fields are ignored, they are output parameters.
- The function has completed with success.
- The originating library part file is missing. The document name is still filled.
libPart.indexis not correct for the given
For other common API errors see the API Errors.
This function is used to get the data of the requested Library Part defined by the
index field. The other fields of the structure are returned by Archicad. You cannot use names here; first you have to find the library part with ACAPI_LibPart_Search function.
ACAPI_LibPart_Get please remember to free the
location pointer allocated by the function if you do not need it any more.
See the example of the ACAPI_LibPart_GetNum function.
- Version: API 1.3 or later
- Header: ACAPinc.h