inserting Data into CustomProp array

2016-01-29 Thread Sannyasin Brahmanathaswami
What is the best practice for progressively adding data to a customProperty that you want to be an array? both inserting new keys into that property as well as changing values in the existing keys. In this case i want an image(s) in a stack to have a custom property containing the necessary in

Re: inserting Data into CustomProp array

2016-01-29 Thread Sannyasin Brahmanathaswami
Hhmm serendipity happens I was reading through all the dict entries on customproperties and custom property sets… a bit esoteric at first. There was no explicity guide “how to create a custompropertyset” But when I went back to my image and check… apparently this: on mouseUp put the rect

Re: inserting Data into CustomProp array

2016-01-29 Thread Mark Wieder
On 01/29/2016 09:15 PM, Sannyasin Brahmanathaswami wrote: OK… I’m good to good, but any advice in this area is appreciated. That will do the trick. An alternate way of retrieving the data is set the custompropertyset of image to "uMyEffects" put the startsize of image set the customproperty

Re: inserting Data into CustomProp array

2016-01-29 Thread J. Landman Gay
On 1/29/2016 11:15 PM, Sannyasin Brahmanathaswami wrote: apparently this: on mouseUp put the rect of the last image into tRect set the uMyEffects["startsize"] of the last image to tRect CheckEffects end mouseUp created a custompropertyset If you want the array in a single cu

Re: inserting Data into CustomProp array

2016-01-30 Thread Sannyasin Brahmanathaswami
Property sets appear easer to get and set across “sessions” (different times during dev) than putting an array into a property. I don’t see you could set just one element of tArray if it was contained in a property without taking it out and putting it back in. Am I wrong? On January 29, 2016

Re: inserting Data into CustomProp array

2016-01-30 Thread Mark Wieder
On 01/30/2016 06:13 AM, Sannyasin Brahmanathaswami wrote: Property sets appear easer to get and set across “sessions” (different times during dev) than putting an array into a property. I don’t see you could set just one element of tArray if it was contained in a property without taking it ou

Re: inserting Data into CustomProp array

2016-01-30 Thread Phil Davis
On 1/30/16 9:05 AM, Mark Wieder wrote: -- get the entire array at once put the uEffects of image 1 into tArray And of course what you meant to say was: put the customProperties["uEffects"] of image 1 into tArray :-) -- Phil Davis ___ use-li

Re: inserting Data into CustomProp array

2016-01-31 Thread Mark Wieder
On 01/30/2016 10:27 PM, Phil Davis wrote: On 1/30/16 9:05 AM, Mark Wieder wrote: -- get the entire array at once put the uEffects of image 1 into tArray And of course what you meant to say was: put the customProperties["uEffects"] of image 1 into tArray :-) Yeah, but hey... I was c