Skip to content

Plot scale #144

Answered by CEXT-Dan
gswifort asked this question in Q&A
Dec 18, 2024 · 2 comments · 1 reply
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

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