-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app.documents.getByName Appears Broken? #162
Comments
@MrTeferi I will fix this soon. |
@MrTeferi |
@loonghao Thanks Hal can confirm this definitely works for me now! Cheers buddy |
the problem appears again KeyError: ('exportDocument', 3) windows10 |
I'll look into this using latest version when I get the chance. In the meantime, please post full code snippet. BTW, if I'm not mistaken you can now also get layers using dict key notation like this: layer = doc.artLayers['Layer Name'] Also keep in mind that accessing a layer via artLayers only works for layers, not layer groups. For layer groups you have to use layerSets like so: layer = doc.layerSets['Layer Group Name'] |
Describe the bug
app.documents.getByName does not appear to work, raises an error that "name getByName not found"
To Reproduce
Expected behavior
Find and retrieve the document object by its name
Desktop (please complete the following information):
Screenshot
The text was updated successfully, but these errors were encountered: