How to use external objects in Python script?
Category:
Scripting
Answer
To use external objects in Python you will first need to access your script.
For example with:
script=app.GetCurrentScript()
Now you have gain access to you ComPython object and you can call any external object by just calling its name on the script variable. For example:
extObj=script.NameOfExternObj #to call the external object
Tags