Haha!
On 19 Mar 2018 19:00, "Justin Israel" wrote:
>
>
> On Mon, Mar 19, 2018, 10:45 PM Marcus Ottosson
> wrote:
>
>> I find examples are often the best way of getting a point across, and I
>> think what Justin is saying is that in place of this..
>>
>
> It's really a team effort. I'm more of a
On Mon, Mar 19, 2018, 10:45 PM Marcus Ottosson
wrote:
> I find examples are often the best way of getting a point across, and I
> think what Justin is saying is that in place of this..
>
It's really a team effort. I'm more of a big picture idea man, and you are
like the front man in the band.
i
I find examples are often the best way of getting a point across, and I
think what Justin is saying is that in place of this..
import maya.cmds as _temp_cmds
You do..
import maya.cmds
And then use maya.cmds wherever you would normally use _temp_cmds. This
way, nothing is redefined and nothing n
On Mon, Mar 19, 2018 at 1:06 PM Michael Boon wrote:
>
>
> On Friday, 16 March 2018 11:44:02 UTC+11, Justin Israel wrote:
>
> On Fri, Mar 16, 2018, 11:47 AM Michael Boon wrote:
>>
>>> No matter what name I import maya.cmds as (including simply importing it
>>> as maya.cmds) I add that name to the
On Friday, 16 March 2018 11:44:02 UTC+11, Justin Israel wrote:
> On Fri, Mar 16, 2018, 11:47 AM Michael Boon > wrote:
>
>> No matter what name I import maya.cmds as (including simply importing it
>> as maya.cmds) I add that name to the global namespace.
>> I think the robust approach is to cho
create
>>>>> name
>>>>> in the global python env that may not get used.
>>>>>
>>>>>
>>>>>>
>>>>>> On Thursday, 15 March 2018 14:32:43 UTC+11, Ian Jones wrote:
>>>>>>
>>>>>>> That
;>>>>
>>>>>>
>>>>>> On Wed, Mar 14, 2018, 7:27 PM Michael Boon wrote:
>>>>>>
>>>>>>> That works for Python plugins! It won't be quite so simple for a C++
>>>>>>> plugin (which my exporter is)
Python plugins! It won't be quite so simple for a C++
>>>>>> plugin (which my exporter is) but I will give it a try and report
>>>>>> back.
>>>>>>
>>>>>> @Ian Jones - I didn't know that wo
;>>
>>>>> On Wednesday, 14 March 2018 21:00:14 UTC+11, Justin Israel wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Mar 14, 2018, 2:18 PM justin hidair
>>>>>> wrote:
>>>>>>
>>>
od question tho
>>>>>>
>>>>> Help flag seems like a good suggestion, seeing as you don't have
>>>>> control over the function that gets injected into the commands namespace
>>>>> to
>>>>> wrap your plugin.
t;>>> I haven't tried it, so this is just a brainstorm. What would happen if
>>>> you manually set cmds.ExportModel.__doc__ at the end of
>>>> your initializePlugin(mobject) function? Would it even let you? Would it
>>>> then allow do
ould happen if
>>> you manually set cmds.ExportModel.__doc__ at the end of
>>> your initializePlugin(mobject) function? Would it even let you? Would it
>>> then allow docstrings to work properly?
>>>
>>>
>>>
>>>>
>>>> Sent from Mail
>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>> Windows 10
>>>
>>>
>>>
>>> *From: *Michael Boon
>>> *Sent: *Wednesday, March 14, 2018 12:59 AM
>>> *To: *Python Programming for Autodesk Maya
Would it
> then allow docstrings to work properly?
>
>
>
>>
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>> *From: *Michael Boon
>> *Sent: *Wednesday, March 14, 2018 12:59 AM
>&
t;
>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>> Windows 10
>>
>>
>>
>> *From: *Michael Boon
>> *Sent: *Wednesday, March 14, 2018 12:59 AM
>> *To: *Python Programming for Autodesk Maya
>>
>> *Subject: *[Maya-Python]
gt; Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *Michael Boon
> *Sent: *Wednesday, March 14, 2018 12:59 AM
> *To: *Python Programming for Autodesk Maya
>
> *Subject: *[Maya-Python] Can Maya plugins do any self-docume
I guess you can do a command with a help flag to accommodate as a workaround,
that’s a good question tho
Sent from Mail for Windows 10
From: Michael Boon
Sent: Wednesday, March 14, 2018 12:59 AM
To: Python Programming for Autodesk Maya
Subject: [Maya-Python] Can Maya plugins do any self
I have a plugin called ExportModel*. If I do help(cmds.ExportModel ) I get
Help on function ExportModel in module maya.cmds:
>
> ExportModel(*args, **keywords)
>
which is next to useless.
Is there a way I can publish the expected arguments and return values of my
plugin so that other scripters
18 matches
Mail list logo