Forward slashes work quite well on windows maya, makes cross-platform coding
much easier... (and saves you from escape sequences!)


- Ofer
www.mrbroken.com


On Sat, Mar 12, 2011 at 9:42 PM, Ian Jones <[email protected]> wrote:

> Yeah that seems odd to me too, are you using a custom version of pymel or
> the one that shipped with Maya 2011?
>
> @Chad, It's not all that uncommon to use forward slashes in my experience
> on windows. Maya in particular doesn't seem to care. That said I haven't
> seen any issues come of it.
>
> Ian
>
>
> On Sat, Mar 12, 2011 at 11:02 AM, Chad Dombrova <[email protected]> wrote:
>
>> >
>> > pm.createReference("C:/full/file/path.mb") - buggy, pops up a
>> > fileDialog2 no matter what args are used.
>>
>> this seems very strange to me.  we use pm.createReference extensively,
>> throughout our pipeline.
>>
>> what happens when you do use the normal maya.cmds:
>> pm.cmds.file("C:/full/file/path.mb", r=True)
>>
>> also, i don't use windows at all, is it normal to use linux slashes in a
>> windows path in maya?
>>
>> -chad
>>
>>
>>
>>
>>
>>
>> --
>> http://groups.google.com/group/python_inside_maya
>>
>
>  --
> http://groups.google.com/group/python_inside_maya
>

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to