dataHandle = block.inputValue( attrObj )
fnString = OpenMaya.MFnStringData( dataHandle.data() )
myFilename = fnString.string()

2009/2/5 bruno ebe <bruno...@gmail.com>

>
> I found the same question on Highend3d posted in november 2008: no
> answer
>
> the dataHandle.asString() returns an object of type PySwigObject
> I found something on this group related to PySwigObject but for voxel
> it says this is an object that holds the data we are looking for
> a kind of pointer that you need to access with MScriptUtil
> I tried to do the same but looks like MScriptUtil only has methods for
> ints or floats...
>
> I am still stuck
>
>
>
> On Feb 5, 1:34 pm, jasonosipa <jason.os...@gmail.com> wrote:
> > The 100% freakiness of how I had the exact same question at almost the
> > exact same time is weirding me out: waiting for the answer to this
> > with bated breath...
> >
> > > but in myFilename I have this:  _50425d20d47f0000_p_MString
> >
>

--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to