I've been trying to get this to work using the desribed method but don't seem to be able to go back to an disembodied property list.
I have the following simple example
mylist = ncons(nil)
mylist->ccw = t
mylist->middle = nil
mylist->cx = 0.12
mylist->cy = 10.192
mylist->layer = "TOP"
mylist->stype = "LEFT"
dataString = sprintf(nil " '%L" mylist)
axlCreateAttachment("_ns_planar_settings" nil 0 'string dataString)
The above does create my attachment. I can easily read it using
a_id = axlGetAttachment("_ns_planar_settings" 'string) which returns an attachment id
mylist1 = errsetstring(a_id->data) will return a list, but I cannot access the data using -> syntax
typing mylist1 at the skill development window works. but still how do I access the list?
I would expect mylist1->layer but that returns nil
Skill > mylist1
((nil stype "LEFT" layer "TOP"
cy 10.192 cx 0.12 middle
nil ccw t