  | | | How to get an value from 2 frames before the current frame using API! | How to get an value from 2 frames before the current frame using API! 2003-12-12 - By Adam Burr
Back you might want to try:
MDGContext ( const MTime & when ) MDataBlock::setContext ( const MDGContext & ctx )
before getting the value ... but i've never tried it myself.
hradec.com wrote: > I need to get an attribute value using MDataBlock.inputValue() from > inside my compute function, but I need to get that value from 2 frames > before the current frame. Just like getAttr -t option, but for > MDataBlock.inputValue()! > > How can I do that? Can I use MGlobal::viewFrame()? Or theres another way > to do that? > > []'s Hradec > hradec@(protected) > www.hradec.com/hradec > > > >>-- --Mensagem original-- -- >>De: maya-dev-bounce@(protected) > > [mailto:maya-dev-bounce@(protected)] > >>Em nome de Elvira Pinkhas >>Enviada em: sexta-feira, 12 de dezembro de 2003 14:20 >>Para: maya-dev@(protected); maya@(protected) >>Assunto: using alfred to render with mental ray in maya >> >>Hi, >> >>I have a script which launches a regular maya batch render with > > Alfred. > >>However, I need to modify it to make Alfred launch Mental Ray render >>instead. I think I have to change some of the arguments in Alfred's > > Job > >>command. However, I don't quiet understand the meaning of some flags > > from > >>Alfred's documentation. >> >>right now I have this command >> >>Job -title ........ -service {mayaRender} -tags {mayabatch} ...... >> >>I think the service tag needs to be changed probably to specify mental > > ray > >>but I don't know what to replace it with. >> >>Where can I get this info? Does anyone know how to modify this for > > Mental > >>Ray? Also are there any websites about Alfred aside from the >>documentation that came with it? >> >>I'll appreciate any help I can get. >>Thanks. >>Elvira >> >> >> >>-- ---- ---- ---- ---- ---- ----- >>Do you Yahoo!? >>New Yahoo! Photos - easier uploading and sharing >> >> >>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- >>List-help: <mailto:listar@(protected)?Subject=help> >>List-archive: <http://www.highend3d.com/maya/devarchive/> > > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- > List-help: <mailto:listar@(protected)?Subject=help> > List-archive: <http://www.highend3d.com/maya/devarchive/> > > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-archive: <http://www.highend3d.com/maya/devarchive/>
|
|
 |