Skip to content

Instantly share code, notes, and snippets.

View nicholas-stevenson's full-sized avatar

Nicholas Stevenson nicholas-stevenson

View GitHub Profile
@nicholas-stevenson
nicholas-stevenson / copyNamesToClipboard.py
Last active January 13, 2016 22:33
Copy Names to Clipboard: This file is a Modo plugin that allows you copy the current selected item names to your System Clipboard. I have this mapped to the F3. To install this, take the file below and place it inside your Modo's /Scripts/lxserv/ folder. This folder is automatically accessed by Modo as the files contained are considered plugins.…
#python
import lx, lxu, modo
from PySide import QtGui
class copyNamesToClipboard(lxu.command.BasicCommand):
def __init__(self):
lxu.command.BasicCommand.__init__(self)
def basic_Execute(self, msg, flags):
@nicholas-stevenson
nicholas-stevenson / renameSel.py
Created January 13, 2016 22:28
Rename Selected Object: This file is a Modo plugin that allows you to select and item and rename it. I have this mapped to the F2 key since it closely matches what my operating system uses for renaming. To install this, take the file below and place it inside your Modo's /Scripts/lxserv/ folder. This folder is automatically accessed by Modo as t…
#!/usr/bin/env python
__author__ = 'Nicholas Stevenson'
__email__ = 'twistedsheep@gmail.com'
import lx
import lxu
import lxu.select
#import lxifc
class RenameSel(lxu.command.BasicCommand):