Programmatic Production Access
To Programmatically Edit Productions (interfaces) you can use a combination of the interoperability apis and SQL queries.
Current Namespace
At a high level, it is important to know the namespace and production you are working in at the moment.