Skip to content
Discussion options

You must be logged in to vote

There’s a AcDbDatabase::getFingerprintGuid function, but I missed it, I have added it and I’ll make a new release today.
I’ve added some other tools that might be useful

import traceback
from pyrx_imp import Ap, Db

from collections import defaultdict

# map ids to their databases
def allids():
    ids : list[Db.ObjectId] = []
    for db in Db.Core.activeDatabaseArray(): #this includes side databases
        ids.extend(db.objectIds(Db.Entity.desc()))
    return ids

def foo1():
    id_map = defaultdict(list)
    for id in allids():
        id_map[id.database()].append(id)
    return id_map
        
def foo2():
    id_map = defaultdict(list)
    for id in allids():
        id_map[id.database…

Replies: 2 comments 1 reply

Comment options

gswifort
Nov 9, 2026
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gswifort
Comment options

gswifort Nov 10, 2026
Collaborator Author

Answer selected by gswifort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants