No problem, but I prefer working outside of gen myself. For example, in sublime i use the following.
This was (eyeon) generation, probably needs updating

- Code: Select all
def getGeneration():
try:
import PeyeonScript as eyeon
except Exception, err:
print 'Failed to get eyeon PeyeonScript module: \n\t%s'%err
try:
print 'Generation: %s'%generation
except Exception, err:
generation = eyeon.scriptapp("Generation")
return generation
Now you can code outside generation, with more suitable text editors that the internal one.
AND
- Code: Select all
fusion = idEyeon.getFusion()
generation = idEyeon.getGeneration()
proj = generation.ActiveProject
sub = proj.SubGet(0)
track = sub.TrackGet(0)
seltable = proj.SelectedVersions()
projectPath = proj.Path
projectName = proj.Name