path.userData is deleted?


When I save some my custom info use path.userData ,it tell me AttributeError: ‘GSPath’ object has no attribute ‘userData’,is it not exist?

Possibly GSShape.userData. (Not on my Mac now, so cannot look myself.)

The shapes returned from Layer.shapes are GSPath or GSComponent (most usually). It does indeed appear that GSPath doesn’t have a userData attribute.

What are you tring to use this for? Would Layer.userData work for you?