Archicad Python Interface
Project Description
This is the official Python binding for the Archicad JSON command interface.
This package provides a convenient way to write simple scripts to support your Archicad workflow, e.g. by automating repetitive tasks.
The set of available commands will increase with each release.
Requirements
- Archicad 24 beta 3 or later.
- Python 3.7 or later (Tcl/Tk is recommended)
Getting started
- Install the package with pip
- Optional: Enable the experimental Python palette in Archicad
- Run your own scripts either from the command line or directly from ARCHICAD
Documentations
Release notes
30.3000
Here's an overview of the changes included in this release:
- Types
- A new type
OwnerUserhas been added. It represents the owner user of an element. - New types
CriteriaPropertyDefinition,CriteriaPropertyDefinitionOrError,CriteriaPropertyDefinitionsOrErrorshave been added toCriteriaTypes
- A new type
- AttributeType
- New enum values called
MEPSystem,OperationProfilehave been added toAttributeTypeenum.
- New enum values called
- GetAttributesCreationInfo
- Required property
attributeIds - Returns
attributeCreationInfos
- Required property
- GetElementOwner
- Required property
elementId - Returns
ownerUser
- Required property
- GetMEPSystemAttributes
- Required property
attributeIds - Returns
attributeIds
- Required property
- GetOperationProfileAttributes
- Required property
attributeIds - Returns
attributes
- Required property
- GetAllProperties
- New return type
CriteriaTypes
- New return type
- GetPropertiesForElementType
- New required property
elementTypes - Returns
propertyIdsOfCriteriaElementTypes
- New required property
29.3000
Here's an overview of the changes included in this release:
- PropertyTypes
- A new property called
NormalPropertyValuehas been added.
- A new property called
- Types
- A new enum value called
Allhas been added toElementTypesenum.
- A new enum value called
- GetElementsRelatedToZones
- The
elementTypescommand parameter is now required.- In cases where
elementTypeswas not used previously, use it with the newly addedAllvalue.
- In cases where
- The
- GetPropertyValuesOfElements
- A new parameter called
onlySupportedTypeshas been added.- Optional parameter. When it is set to true, only elements with types that are supported by any other JSON API command will be returned.
- A new parameter called
28.3000
Here's an overview of the changes included in this release:
- GetSelectedElements
- A new parameter called
onlySupportedTypeshas been added.- When set to
true, only elements with types supported by other JSON API commands will be returned.
- When set to
- A new parameter called
- GetAttributesIndices
- A new function that provides requested indices and GUIDs for given attributes.
- New Attribute related classes were introduced:
AttributeIndexAndGuidAttributeIndexAndGuidWrapperItemAttributeIndexAndGuidOrError
27.3000
This release focuses primarily on maintenance, ensuring continued support for our users.
Here's an overview of the changes included in this release:
- New Attribute related classes were introduced and some former classes were removed.
- CreateAttributeFolders uses a list of AttributeFolderCreationParameters instead of AttributeFolders.
- DeleteAttributeFolders uses AttributeFolderIds instead of AttributeFolders.
- GetAttributeFolder and GetAttributeFolderContent functions are removed.
- GetAttributeFolders uses AttributeFolders instead of DetailedAttributeFolders.
- MoveAttributesAndFolders uses AttributeFolderIds parameters instead of the AttributeFolders.
- RenameAttributeFolder was renamed to RenameAttributeFolders and uses AttributeFolderRenameParameters instead of the two previous parameters.
26.3000
- Preparation for Archicad 26 release.
- More navigator item types are handled
- New attribute-related commands (folder handling) are introduced
- Property handling: return info on property default values
- Removed those attribute types which are not attributes in Archicad reality
- Classification systems are introduced
- Property groups are now available
- Selected elements' identifiers can be queried
25.3000
- More properties became available. For example, the dynamic enum-typed built-in properties (like Structural Function, Position and Renovation Status) are available from AC25. Those can be retrieved and modified.
25.2255
- ExecuteAddOnCommand and IsAddOnCommandAvailable commands require command namespace instead of developerId and localId.
25.1100
- Preparation for ARCHICAD 25 release.
- New commands were introduced.
25.326
- Preparation for Archicad 25 release.
- New commands were introduced.
24.3000
- An unexpected Runtime Error is fixed.
24.2310b3
- Beta release. Compatible with the official Archicad beta 3.
- Doesn't compatible with earlier (preview) versions.
Metadata
Release files for archicad 30.3000
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| archicad-30.3000.tar.gz | 275.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| archicad-30.3000-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 544.3 kB
Release files / archicad-30.3000.tar.gz
| Download URL | archicad-30.3000.tar.gz |
|---|---|
| Size | 275.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77d526e1d26e850701f021e654f59563546db9c8f11a9c241aad4229c8c506fa
|
|
BLAKE2b-256 checksum How to use checksums |
0fc4aefbf741c638a74a133403670bf884a900003e26ed187cf27483baaf09d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|
Release files / archicad-30.3000-py3-none-any.whl
| Download URL | archicad-30.3000-py3-none-any.whl |
|---|---|
| Size | 268.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9d42418a1b65680978d12666056b9ea7fcaa5cf21b1e9744d3b82a0c59bb88b
|
|
BLAKE2b-256 checksum How to use checksums |
6e8d88aaa5f75a0e26a060d9582234ca877e2c1fdd7f506e36d97da9c1e0339a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.7
|