Accessing Server Objects from Scripts

You can use scripts to access any server object that has been declared to the server model interpreter. Thus, you can:

  • create new server objects;

  • access their attributes;

  • access their relations;

  • call methods on them.

Access to attributes and relations always involves the accessors and modifiers that have been defined in the server model interpreter, except for relation iterators, which access the relation directly.

A server object manipulated or created in a script function is held by an Script proxy. A proxy is an Script class that gives access to a C++ object from a script function.