Python binding for the Archicad JSON command interface
Project description
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
28.3000
Here's an overview of the changes included in this release:
- GetSelectedElements
- A new parameter called
onlySupportedTypes
has 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:
AttributeIndexAndGuid
AttributeIndexAndGuidWrapperItem
AttributeIndexAndGuidOrError
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
archicad-28.3000.tar.gz
(206.0 kB
view hashes)
Built Distribution
archicad-28.3000-py3-none-any.whl
(197.2 kB
view hashes)
Close
Hashes for archicad-28.3000-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fabfb9b6cf087df4b73bf422b8a765df4a65bde3334962c8745345ffa703e8f |
|
MD5 | 4624008977e38ff55f50a075158e3bbd |
|
BLAKE2b-256 | a2ea6af0600441566e794c4acac76d71a0a99fa9036d761145848daf528b757b |