23 Aug
2001
23 Aug
'01
10:06 a.m.
Hi Horst, Horst Wald wrote:
Hi!
I never really understood the difference between context and container. Now please don't write "look it up in the documentation", because that's what I've been doing for the last days.
container is the folder the script is defined in. context is the object that the script is called on.
What I'm trying to do is write a python-script that returns the parent-folder of the folder from where it has been called. Neither
return context.getParentNode() nor return container.getParentNode() seem to work.
what went wrong ? It works for me. ... Holger