All pastes #2049041 Raw Edit

Stuff

public text v1 · immutable
#2049041 ·published 2011-04-21 16:00 UTC
rendered paste body
import sys;
sys.path.append('d:\\develop\\sav1-sr\\sav1-files\\tools\\');

import MayaExporter.plugin;
import maya.OpenMaya as OpenMaya;

import MayaExporter.s2model as s2model
from MayaExporter import translate;

model = s2model.S2Model();

model.loadFile('d:\\develop\\sav1-sr\\sav1-files\\client\\game\\models\\human\\units\\nomad\\character.model');

translate.toMaya(model, OpenMaya.MObject.kNullObj);