cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
GabrielGG
Booster

Global Library 29 Update 1 ... Compatible with Archicad 28? + Management of Libpacks in the BIMcloud

Hello,

 

I always thought that the interesting thing about the Global Library is that it's independet of the Archicad Version Running.
With Archicad 28 the Global Library had no "28", now it has become the "29" and I'm a bit confused because I thought the Global Library Update Version would be independent of the Archicad Version Nr.

 

My simple question is ... It's the Global Library for Archicad 29 comppatible with Archicad 28?

Will this be like this in the future? Global Library for Archicad 35 will be compatible with Archicad 28?

 

It's very Important for me to get some clarity about this, to configure properly how the Libraries are organized in the BIMcloud.

 

I also think the Mappiing Values of the Library 29 Update 1 are still not Online, maybe somebody can confirm it.

 

Thanks in advance

 

Since Archicad 11
Currently at Franz&Sue Zt GmbH
15 Replies 15
Funfun Yan
Enthusiast

Hi Gariel, Could you please show me the Python script for the mapping values you mentioned? Cause I didn't find the py file that GS mentioned in one video.

GabrielGG
Booster

Hi @Funfun Yan,

 

sorry I didn't answered sooner.

HEre is my Script, I use it to edit all attributes to add 9000 to the index-Nr. (becase don't use the Standard Graphisoft Attributes in our office) and it defines some exceptions to this rule (becase some Standard GS Attributes attributes can't be deleted).

You can copy this text and put it in the text-Editor, save the file with the extension *.py and you can run it with Microsoft Visual Studio Code or other Coding Applications.

 

Since not so long there a new community tool to edit the json files. Here you can find it
The Evolution of Editing Object Defaults in Librar... - Graphisoft Community

 

I hope this helps

 

SCRIPT START

import json
import os

# Define the directory containing the JSON files
directory = r'C:\Users\gabriel.gordillo\Documents\JsonEDIT_Bearbeitung'

# Define the types and exceptions
types_to_edit = {
"BuildingMaterial": {
"skip": [0],
"special": {35: 9083, 37: 9015}
},
"Material": {
"skip": [0],
"special": {}
},
"LineType": {
"skip": [0, 1],
"special": {}
},
"FillPattern": {
"skip": [0, 22, 23, 24, 64, 65, 140, 141],
"special": {18: 64, 108: 64}
},
"Profile": {
"skip": [0],
"special": {}
}
}

# Function to update values based on type and exceptions
def update_value(entry):
entry_type = entry.get('type')
if entry_type in types_to_edit:
exceptions = types_to_edit[entry_type]
value = entry['value']

# Check for special cases
if value in exceptions['special']:
entry['value'] = exceptions['special'][value]
# Check for values to skip
elif value not in exceptions['skip']:
entry['value'] += 9000

# Iterate over each file in the directory
for filename in os.listdir(directory):
if filename.endswith('.json'):
file_path = os.path.join(directory, filename)

# Load the JSON data from the file
with open(file_path, 'r') as file:
data = json.load(file)

# Update each entry in the JSON data
for entry in data:
update_value(entry)

# Create a new filename with "_Index9000er" appended
base_name, ext = os.path.splitext(filename)
new_filename = f"{base_name}_Index9000er{ext}"
new_file_path = os.path.join(directory, new_filename)

# Write the updated data to the new file
with open(new_file_path, 'w') as file:
json.dump(data, file, indent=2)

print(f"Updated {filename} to {new_filename}")

print("All files processed successfully.")




Since Archicad 11
Currently at Franz&Sue Zt GmbH
johnathanP
Participant

Hi all, it has been a few months and I am having a difficult time getting projects in both AC28 and AC29 to share the global library on a single bimcloud. We are a small firm without sufficient overhead to have a dedicated cad admin, and like the previous poster, we typically have 20-odd small projects operating in several versions of ArchiCAD (in our case, this is due to the fact that our projects often take multiple years to complete but don’t have sufficient fee to migrate). It would be helpful if Graphisoft indicated whether our office model (of running multiple versions off one bimcloud) is viable with the global library, or if this approach is simply not supported. If this approach is indeed viable, a user guide would be very helpful - I’ve even hired consultants and they also can’t figure out how to do this with the library packs! If this info exists, could someone share a link? I can’t manage to find one in the online documentation. Thanks all!

Laszlo Nagy
Community Admin
Community Admin

If I remember correctly, the official recommendation is that if you started a project before Ac28, you should complete that project in that version. If you start the project in Ac28 or Ac29, then you can use the Global Library.

Still, I don't think there should be any problem having pre-Ac28 project and Ac28-29 projects as well. If you upload the Ac27 library and the Global Libraries to the BIMCloud, you can link to each project the library/libraries it needs. Is this not what you guys are doing currently? 

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29
Lingwisyer
Guru

I still use the AC28 libpacks in AC29 as some of the object level MVOs, while having been returned to us in an AC28 libpack update, were not in AC29...

AC22-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | 5900X | 32GB | GTX2080TI
Funfun Yan
Enthusiast

Thank you!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!