Skip to content
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

document.guides throw expcetion #234

Open
little-wheat opened this issue Feb 27, 2023 · 0 comments
Open

document.guides throw expcetion #234

little-wheat opened this issue Feb 27, 2023 · 0 comments

Comments

@little-wheat
Copy link

code like blow will throw exception
app = ps.Application() doc = app.activeDocument app.preferences.rulerUnits = ps.Units.Pixels print(doc.guides)

it will throw
Traceback (most recent call last):
File "C:\Workshop\PyProject\SpineToPhotoShop\venv\lib\site-packages\photoshop\api_core.py", line 66, in getattribute
return super().getattribute(item)
AttributeError: 'Document' object has no attribute 'guides'

but i use this code in jsx file it can work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant