To call draw funct from ext module

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Posts: 56
Joined: Wed Oct 16, 2002 12:48 am
Location: Italy

To call draw funct from ext module

Post by Manuel » Fri May 16, 2003 12:27 am

I've two modules:
1) the, with the draw and register functions.
2), a module with various functions.

From, I import and use evaluator module, it's OK.

But...if I want call the draw function in a loop internal to evaluator?

I must import the in the like this:

Code: Select all

import main
for foo in foo1:
   print foo; main.draw
or what??



Post Reply