Hi everyone
I'm trying without success to access the object owner of a CA within its parameters or the on create event...
What I don't understand is that I can access the owner object within the rollout with this :
obj = (refs.dependents (custAttributes.getOwner this))[1]but it doesn't work either on the parameters block or the on create event...
Does anyone knows how to ?
Thanks in advance
By
Comments (3)
Comment policy
Use it like this
ca= attributes caData
(
fn getNode = (refs.dependentnodes (custattributes.getowner this) firstonly:on)
rollout rol "Test"
(
button printNode "PrintNode"
on printNode pressed do format "%\n" (getNode())
)
)
d = Dummy isselected:on
custAttributes.add d ca
max modify mode
I mean like fn ;)
well works perfectly thanks :)