Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5752

Function Arguments

$
0
0

@Mrothart wrote:

Hello,

I am trying to understand was (sender,e) is doing as an function argument. Is there any documentation on the syntax someone can reference, as I have been unsuccessful in finding any?

Currently, my function “def MyFunction (sender,e)” is running every time I save the document, but it also is running when auto-save happens. I am trying to only have the function triggered on manual save and not auto-save. I know I can completely remove auto-save, but I would also like a better understanding at what this argument does and if I can alter it instead of disabling auto-save.

Thanks,
Martin

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5752

Trending Articles