The Proximity class provides methods that support
many Proximity operations including accessing databases, executing
queries, adding attributes, sampling containers, and instantiating
models.
Use the prox object to access methods in
the Proximity class.
Use the shortcuts provided by the prox
object to refer to important Proximity data structures.
You only need to import a Proximity class or package when you refer to a class by name.
Use the Proximity Python interpreter to execute individual Python statements interactively when you do not need to create a script.
Indent lines and blocks using tabs rather than spaces in the Proximity Python interpreter.
Each Proximity Python interpreter window has its own namespace.
Use the NST browser to examine Proximity internal data structures when you need to work directly with Proximity entities.
Filters and conditions have different semantics. Conditions operate on objects or links whereas filters operate on NST rows.
Additional Information
See the Proximity Cookbook and Chapter 7, Learning Models in this tutorial for additional examples of Proximity scripts.
See Appendix A, Proximity Quick Reference for a summary of command line editing options in the interactive Proximity Python interpreter.
See Creating a file or directory shortcut for information on creating shortcuts to commonly used files and directories.