Skip to content
Discussion options

You must be logged in to vote

There’s not really a good way to do this in memory. Maybe

        db = Db.curDb()
        db.saveAs("newFile.dwg")
        side=Db.Database(False, True)
        side.readDwgFile("newFile.dwg")
        #delete layouts

or use the filesystem to create a copy

Replies: 2 comments 3 replies

Comment options

gswifort
Jan 30, 2026
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@gswifort
Comment options

gswifort Feb 2, 2026
Collaborator Author

@gswifort
Comment options

gswifort Mar 10, 2026
Collaborator Author

@CEXT-Dan
Comment options

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