You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: