Notifications
Clear all

[Closed] Storing a String Array in a Custom Attrib

Hi there, I need to store some information in a nodes CA’s…

the problem is this:

 for o in selection do 
(
ca=attributes mydef
(
parameters paramsP
(
mbmat type:#string
 
)
)
custAttributes.add o ca
 
o.mbmat= #("asdasd","asd")
 
 
 
 
 
)
 


in the linie:
mbmat type:#string

I need to Store an Array of strings in there, how can I do that ?

I guess I have to type something else than #string ???

3 Replies
 PEN

myStringAr type:#stringTab tabSize:0 tabSizeVariable:true

Look up scripted plugin clauses for more help. Scripted plugins and CA defs are really one and the same.

 PEN

I guess I shouldnt say that, they are very similar and use the same structure in the way that they are coded.

thanks alot, it works now, I did actually tried the StringTab, but without the:
tabSize:0 tabSizeVariable:true