|
Archicad 30 C++ API
|
Functions for managing Project Info groups and fields. More...
Functions | |
| GSErrCode | ACAPI_ProjectInfo_GetGroups (std::vector< API_Guid > &groupGuids) |
| Retrieves the GUIDs of all ProjectInfo groups. | |
| GSErrCode | ACAPI_ProjectInfo_GetGroupName (const API_Guid &groupGuid, GS::UniString &name) |
| Retrieves the name of a ProjectInfo group. | |
| GSErrCode | ACAPI_ProjectInfo_CreateGroup (const GS::UniString &name, API_Guid &createdGroupGuid) |
| Creates a new ProjectInfo group. | |
| GSErrCode | ACAPI_ProjectInfo_RenameGroup (const API_Guid &groupGuid, const GS::UniString &newName) |
| Renames a ProjectInfo group. | |
| GSErrCode | ACAPI_ProjectInfo_DeleteGroup (const API_Guid &groupGuid) |
| Deletes a ProjectInfo group. | |
| GSErrCode | ACAPI_ProjectInfo_MoveGroup (const API_Guid &groupGuid, const std::optional< API_Guid > &beforeGroupGuid=std::nullopt) |
| Moves a ProjectInfo group to a new position. | |
| GSErrCode | ACAPI_ProjectInfo_GetFields (const API_Guid &groupGuid, std::vector< API_Guid > &fieldGuids) |
| Retrieves the GUIDs of all fields in a ProjectInfo group, including subfields. | |
| GSErrCode | ACAPI_ProjectInfo_GetField (const API_Guid &fieldGuid, GS::UniString &name, GS::UniString &value) |
| Retrieves the name and value of a ProjectInfo field. | |
| GSErrCode | ACAPI_ProjectInfo_CreateField (const API_Guid &groupGuid, const GS::UniString &name, API_Guid &createdFieldGuid) |
| Creates a new custom ProjectInfo field in the specified group. | |
| GSErrCode | ACAPI_ProjectInfo_RenameField (const API_Guid &fieldGuid, const GS::UniString &newName) |
| Renames a custom ProjectInfo field. | |
| GSErrCode | ACAPI_ProjectInfo_SetFieldValue (const API_Guid &fieldGuid, const GS::UniString &value) |
| Sets the value of a ProjectInfo field. | |
| GSErrCode | ACAPI_ProjectInfo_DeleteField (const API_Guid &fieldGuid) |
| Deletes a custom ProjectInfo field. | |
| GSErrCode | ACAPI_ProjectInfo_MoveField (const API_Guid &fieldGuid, const API_Guid &toGroupGuid, const std::optional< API_Guid > &beforeFieldGuid=std::nullopt) |
| Moves a ProjectInfo field to a new position, possibly in a different group. | |
Functions for managing Project Info groups and fields.
| GSErrCode ACAPI_ProjectInfo_CreateField | ( | const API_Guid & | groupGuid, |
| const GS::UniString & | name, | ||
| API_Guid & | createdFieldGuid ) |
Creates a new custom ProjectInfo field in the specified group.
| groupGuid | [in] The GUID of the group to create the field in. |
| name | [in] The name for the new field. |
| createdFieldGuid | [out] The GUID of the created field. |
| GSErrCode ACAPI_ProjectInfo_CreateGroup | ( | const GS::UniString & | name, |
| API_Guid & | createdGroupGuid ) |
Creates a new ProjectInfo group.
| name | [in] The name for the new group. |
| createdGroupGuid | [out] The GUID of the created group. |
| GSErrCode ACAPI_ProjectInfo_DeleteField | ( | const API_Guid & | fieldGuid | ) |
Deletes a custom ProjectInfo field.
| fieldGuid | [in] The GUID of the field to delete. Must be a custom (non-fixed) field. |
| GSErrCode ACAPI_ProjectInfo_DeleteGroup | ( | const API_Guid & | groupGuid | ) |
Deletes a ProjectInfo group.
| groupGuid | [in] The GUID of the group to delete. |
| GSErrCode ACAPI_ProjectInfo_GetField | ( | const API_Guid & | fieldGuid, |
| GS::UniString & | name, | ||
| GS::UniString & | value ) |
Retrieves the name and value of a ProjectInfo field.
| fieldGuid | [in] The GUID of the field. |
| name | [out] The name of the field. |
| value | [out] The value of the field. |
| GSErrCode ACAPI_ProjectInfo_GetFields | ( | const API_Guid & | groupGuid, |
| std::vector< API_Guid > & | fieldGuids ) |
Retrieves the GUIDs of all fields in a ProjectInfo group, including subfields.
| groupGuid | [in] The GUID of the group. |
| fieldGuids | [out] Array to be filled with the GUIDs of all fields in the group (including subfields), in order. |
| GSErrCode ACAPI_ProjectInfo_GetGroupName | ( | const API_Guid & | groupGuid, |
| GS::UniString & | name ) |
Retrieves the name of a ProjectInfo group.
| groupGuid | [in] The GUID of the group. |
| name | [out] The name of the group. |
| GSErrCode ACAPI_ProjectInfo_GetGroups | ( | std::vector< API_Guid > & | groupGuids | ) |
Retrieves the GUIDs of all ProjectInfo groups.
| groupGuids | [out] Array to be filled with the GUIDs of all groups, in order. |
| GSErrCode ACAPI_ProjectInfo_MoveField | ( | const API_Guid & | fieldGuid, |
| const API_Guid & | toGroupGuid, | ||
| const std::optional< API_Guid > & | beforeFieldGuid = std::nullopt ) |
Moves a ProjectInfo field to a new position, possibly in a different group.
| fieldGuid | [in] The GUID of the field to move. Must not be a subfield. |
| toGroupGuid | [in] The GUID of the destination group. |
| beforeFieldGuid | [in] The GUID of the field before which to move. Pass std::nullopt to move to the end. |
| GSErrCode ACAPI_ProjectInfo_MoveGroup | ( | const API_Guid & | groupGuid, |
| const std::optional< API_Guid > & | beforeGroupGuid = std::nullopt ) |
Moves a ProjectInfo group to a new position.
| groupGuid | [in] The GUID of the group to move. |
| beforeGroupGuid | [in] The GUID of the group before which to move. Pass std::nullopt to move to the end. |
| GSErrCode ACAPI_ProjectInfo_RenameField | ( | const API_Guid & | fieldGuid, |
| const GS::UniString & | newName ) |
Renames a custom ProjectInfo field.
| fieldGuid | [in] The GUID of the field to rename. Must be a custom (non-fixed) field. |
| newName | [in] The new name for the field. |
| GSErrCode ACAPI_ProjectInfo_RenameGroup | ( | const API_Guid & | groupGuid, |
| const GS::UniString & | newName ) |
Renames a ProjectInfo group.
| groupGuid | [in] The GUID of the group to rename. |
| newName | [in] The new name for the group. |
| GSErrCode ACAPI_ProjectInfo_SetFieldValue | ( | const API_Guid & | fieldGuid, |
| const GS::UniString & | value ) |
Sets the value of a ProjectInfo field.
| fieldGuid | [in] The GUID of the field. Must not be a field that has subfields. |
| value | [in] The new value for the field. |