yes, “import” is a keyword and can thus not be used as a method. Easiest workaround would be:[code]# Import model and all its components into the workspace
getattr(w,‘import’)(model)
Thanks, Wim. Worked like a charm. I had some other parts of the script that were not properly PyRoot’ed. I fixed those and it seems to be swinging. I’m attaching the corrected script for completeness sake.