archicad-python-scripts
archicad-python-scripts copied to clipboard
Ready-to-go Python scripts for Archicad.
Ready-to-go Python scripts for Archicad
recurring_publish.py
Description
The script can schedule recurring publishing.
The related Archicad project must be opened before executing the script, because the script retrieves the projectdata during the start-up of the script.
Requirements
- Requires Archicad 25 or later.
- Additional JSON/Python Commands Add-On (version 25.2 or later) is required to be loaded into Archicad.
Features
- Archicad will be shut down after each publishing and it will be restarted before each publishing, the project will be reloaded automatically.
- User can choose from the Publisher Sets. Only the selected sets will be published. Multiple choice is available.
- Recur time can be set in minutes.
- Continuous progress report, the remaining time till the next publishing countdown appears.
- Works for Teamwork (BIMcloud) projects also. A receive command is executed before each publishing.
Usage
- Running Archicad instance is required with an opened project and loaded Additional JSON/Python Commands Add-On.
- Run recurring_publish.py script from command line and with using python launcher.
- Select Publisher Sets to publish.
- Set time (in minutes) for recurring.
- Click Start button.
Demo video
Click to watch the demo video:
move_all_objects.py
Description
The script moves all the elements with Object type to a new position.
Requirements
- Requires Archicad 25 or later.
- Additional JSON/Python Commands Add-On (version 25.3 or later) is required to be loaded into Archicad.
open_all_hotlinks.py
Description
The script retrieves the list of hotlinks in the currently active project, opens the hotlinks one-by-one and performs an operation for each of them.
Requirements
- Requires Archicad 25 or later.
- Additional JSON/Python Commands Add-On (version 25.4 or later) is required to be loaded into Archicad.
get_parameters_of_selected_GDLbased.py
Description
The script lists the GDL parameters (name and value pairs) of the selected elements.
Requirements
- Requires Archicad 26 or later.
- Additional JSON/Python Commands Add-On (version 26.1 or later) is required to be loaded into Archicad.
change_parameters_of_selected_GDLbased.py
Description
The script changes the values of given GDL parameters of the selected elements. This examples changes the parameter with name 'gs_cont_pen' to pen with index 95.
Requirements
- Requires Archicad 26 or later.
- Additional JSON/Python Commands Add-On (version 26.1 or later) is required to be loaded into Archicad.