aghawa
11-07-2010, 07:12 PM
Hey guys! :D
I'm trying to start working with maya python API, and I'd like to implement a node which allows for importing a geometry using a path (editable). Basically, to load file sequences (.obj for now).
That being said, before starting diving into the code and get stuck after 4 minutes, I'm starting to gather ideas, tips and whatsoever about this objective.
Probably someone of you already created something like this in the past so can give useful advice! :D
It's not the syntax that worries me, more the way I have to walk to achieve this in the best (and easiest! :P ) possible way.
Sparse questions:
One of the attributes should definitely be the time - which has to affect the node path attr to update everytime the time changes. Right?
Because I'm wondering how is the "#" character handled inside the API, is it simply a wildcard I need to find and replace with the framenumber?
Is it easier to use the "import" command from MEL to reload everytime the new geometry whenever the path changes? Or is there some better way?
Well, anything you can say about the subject, I will appreciate it :D
Thanks,
Aghawa
I'm trying to start working with maya python API, and I'd like to implement a node which allows for importing a geometry using a path (editable). Basically, to load file sequences (.obj for now).
That being said, before starting diving into the code and get stuck after 4 minutes, I'm starting to gather ideas, tips and whatsoever about this objective.
Probably someone of you already created something like this in the past so can give useful advice! :D
It's not the syntax that worries me, more the way I have to walk to achieve this in the best (and easiest! :P ) possible way.
Sparse questions:
One of the attributes should definitely be the time - which has to affect the node path attr to update everytime the time changes. Right?
Because I'm wondering how is the "#" character handled inside the API, is it simply a wildcard I need to find and replace with the framenumber?
Is it easier to use the "import" command from MEL to reload everytime the new geometry whenever the path changes? Or is there some better way?
Well, anything you can say about the subject, I will appreciate it :D
Thanks,
Aghawa
