Functions providing information about the Archicad product and license.  
More...
Functions providing information about the Archicad product and license. 
◆ API_SSALevel
This is a numeric value representing an SSA subscription level. Use the named constants from the API_SSALevels namespace: NoSSA, SSA, Forward. 
- Since
- Archicad 26 
 
 
◆ APILicenseBorrowStatusChangeHandlerProc
User supplied callback procedure for handling license borrowing status changes. 
- Parameters
- 
  
    | licenseBorrowStatus | [out] The status of license borrowing, can be API_LicenseBorrowedorAPI_LicenseReturned. |  
 
- Returns
- 
- NoError - The function has completed with success. 
 
 
 
◆ API_LicenseBorrowStatusTypeID
Indicates the status of a borrowed license. 
| Enumerator | 
|---|
| API_LicenseBorrowed | The license is currently borrowed.  | 
| API_LicenseReturned | The license has been returned.  | 
 
 
◆ ACAPI_Licensing_CatchLicenseBorrowStatusChange()
Catches notifications on license borrowing status changes. 
- Parameters
- 
  
    | handlerProc | [in] The callback function which receives the notifications. |  
 
- Returns
- 
- NoError - The function has completed with success. 
 
 
 
◆ ACAPI_Licensing_GetBoxMask()
      
        
          | UInt16 ACAPI_Licensing_GetBoxMask | ( |  | ) |  | 
      
 
Retrieves the box mask of the current license. 
- Since
- Archicad 26 
- Returns
 
 
◆ ACAPI_Licensing_GetConfigurationNumber()
      
        
          | GS::UniString ACAPI_Licensing_GetConfigurationNumber | ( |  | ) |  | 
      
 
Retrieves the configuration number of the current license. 
- Since
- Archicad 26 
- Returns
- The current license's configuration number (also known as the container code). 
 
 
◆ ACAPI_Licensing_GetExpirationTime()
      
        
          | GSTime ACAPI_Licensing_GetExpirationTime | ( |  | ) |  | 
      
 
Retrieves the expiration time of the current license (if any). 
- Since
- Archicad 26 
- Returns
- 
- GSTime - The expiration time of the current license. 
 
 
 
◆ ACAPI_Licensing_GetNumberOfLicenses()
      
        
          | UInt32 ACAPI_Licensing_GetNumberOfLicenses | ( |  | ) |  | 
      
 
Retrieves the number of current licenses. 
- Since
- Archicad 26 
- Returns
- The number of licenses. 
 
 
◆ ACAPI_Licensing_GetPartnerId()
      
        
          | GS::UniString ACAPI_Licensing_GetPartnerId | ( |  | ) |  | 
      
 
When Archicad runs on an SSA license, this string contains the internal identifier of the reseller. 
- Since
- Archicad 26 
- Returns
 
 
◆ ACAPI_Licensing_GetProtectionMode()
      
        
          | UInt32 ACAPI_Licensing_GetProtectionMode | ( |  | ) |  | 
      
 
Retrieves information about the protection mode. 
- Since
- Archicad 26 
- Returns
- Example
-  
 
 
◆ ACAPI_Licensing_GetSerialNumber()
      
        
          | UInt32 ACAPI_Licensing_GetSerialNumber | ( |  | ) |  | 
      
 
Retrieves the unique serial number of the current license. 
- Since
- Archicad 26 
- Returns
 
 
◆ ACAPI_Licensing_InvokeForwardDialog()
      
        
          | void ACAPI_Licensing_InvokeForwardDialog | ( |  | ) |  | 
      
 
Invoke generic SSA Forward dialog that warn that the user don't have SSA license. 
- Since
- Archicad 26 
 
 
◆ ACAPI_Licensing_IsSSALevelAtLeast()
      
        
          | bool ACAPI_Licensing_IsSSALevelAtLeast | ( | API_SSALevel | requiredLevel | ) |  | 
      
 
Returns whether the SSA subscription passed in the parameter is available. 
- Since
- Archicad 26 
- Parameters
- 
  
    | requiredLevel | [in] The level to check the current level against. |  
 
- Returns
- Example
- bool ShouldEnableFeatureInAddOn () - { - } 
 
 
◆ GetAppVersionString()
      
        
          | GS::UniString ACAPI::LicenseInfo::ProductVersionInfo::GetAppVersionString | ( |  | ) | const | 
      
 
- Returns
- Returns the version of the product as a string. 
 
 
◆ GetBuildNum()
      
        
          | Int32 ACAPI::LicenseInfo::ProductVersionInfo::GetBuildNum | ( |  | ) | const | 
      
 
- Returns
- Returns the build number of the product. 
 
 
◆ GetGSLanguageCode()
      
        
          | GS::UniString ACAPI::LicenseInfo::ProductVersionInfo::GetGSLanguageCode | ( |  | ) | const | 
      
 
- Returns
- Returns the language of the application in a Graphisoft-specific format.
 
| Graphisoft-specific format | Language |  
| ARA | Arabic |  
| AUS | Australian English |  
| AUT | Austrian |  
| BUL | Bulgarian |  
| CHE | Swiss German |  
| CHI | Simplified Chinese |  
| CRO | Croatian |  
| CZE | Czech |  
| DEN | Danish |  
| EST | Estonian |  
| FIN | Finnish |  
| FRA | French |  
| GER | German |  
| GRE | Greek |  
| HUN | Hungarian |  
| ICE | Icelandian |  
| ITA | Italian |  
| INT | International English |  
| ISR | Israeli |  
| JPN | Japanese |  
| KOR | Korean |  
| NED | Dutch |  
| NZE | New Zealand English |  
| NOR | Norwegian |  
| POL | Polish |  
| POR | Portuguese |  
| ENG | British English |  
| ROM | Romanian |  
| RUS | Russian |  
| SLO | Slovak |  
| SPA | Spanish |  
| SWE | Swedish |  
| TAI | Traditional Chinese |  
| TUR | Turkish |  
| USA | USA English |  
| IND | Indic |  
| BRA | Brasil |  
| UKI | United Kingdom & Ireland |  
| IRN | Iran |  
| UKR | Ukraine |  
 
 
 
◆ GetGSProductType()
      
        
          | GS::UniString ACAPI::LicenseInfo::ProductVersionInfo::GetGSProductType | ( |  | ) | const | 
      
 
- Returns
- Returns the type of the product as a string. 
 
 
◆ GetHotfixVersionString()
      
        
          | GS::UniString ACAPI::LicenseInfo::ProductVersionInfo::GetHotfixVersionString | ( |  | ) | const | 
      
 
- Returns
- Returns the hotfix version as a string. 
 
 
◆ GetLicenseInfoManager()
◆ GetMainVersionString()
      
        
          | GS::UniString ACAPI::LicenseInfo::ProductVersionInfo::GetMainVersionString | ( |  | ) | const | 
      
 
- Returns
- Returns the main version as a string. 
 
 
◆ GetProductFamilyId()
      
        
          | GS::UniString ACAPI::LicenseInfo::ProductVersionInfo::GetProductFamilyId | ( |  | ) | const | 
      
 
- Returns
- Returns the family of the product. 
 
 
◆ GetProductName()
      
        
          | GS::UniString ACAPI::LicenseInfo::ProductVersionInfo::GetProductName | ( |  | ) | const | 
      
 
- Returns
- Returns the name of the product. 
 
 
◆ GetProductVersionInfo()
      
        
          | ProductVersionInfo ACAPI::LicenseInfo::LicenseInfoManager::GetProductVersionInfo | ( |  | ) | const | 
      
 
Returns an instance of ProductVersionInfo. 
- Returns
- Returns the product version info or error. 
 
 
◆ GetUpdateVersionString()
      
        
          | GS::UniString ACAPI::LicenseInfo::ProductVersionInfo::GetUpdateVersionString | ( |  | ) | const | 
      
 
- Returns
- Returns the update version as a string.