-
|
Is it possible to clone a database? I want to read one drawing, then clone it multiple times and save it with changes as separate documents. |
Beta Was this translation helpful? Give feedback.
Answered by
CEXT-Dan
Mar 10, 2026
Replies: 2 comments 3 replies
-
>>> db=Db.curDb()
>>> db_2=Db.Database(False, True)
>>> db_2.copyFrom(db)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
PyDb.ErrorStatusException: Exception!(eNotImplementedYet), function copyFrom, Line 145, File PyRxObject.cpp: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
see if wblock works for you db = Db.curDb()
side = db.wblock()
side.saveAs(path) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There’s not really a good way to do this in memory. Maybe
or use the filesystem to create a copy