Skip to content
Discussion options

You must be logged in to vote

Layout subclasses PlotSettings, that has method getCustomPrintScale
So maybe something like

import traceback
from pyrx_imp import Rx, Ge, Gi, Db, Ap, Ed

def PyRxCmd_doit1():
    try:
        db = Db.curDb()
        ld = Db.Dictionary(db.layoutDictionaryId())
        for name, id in ld.toDict().items():
            layout = Db.Layout(id)
            print(name, layout.getCustomPrintScale())
    except Exception as err:
        traceback.print_exception(err)

Replies: 2 comments 1 reply

Comment options

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

gswifort Dec 18, 2024
Collaborator Author

Answer selected by gswifort
Comment options

You must be logged in to vote
0 replies
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