Skip to content

Instantly share code, notes, and snippets.

View Danlowlows's full-sized avatar

Dan Lowe Danlowlows

  • Los Angeles
View GitHub Profile
from pyfbsdk import FBSystem, FBNamespaceAction, FBPlugModificationFlag
def DeleteNameSpace(namespace):
FBSystem().Scene.NamespaceDeleteContent(namespace, FBPlugModificationFlag.kFBPlugAllContent, True)
def AddNamespace(components, namespace):
for comp in components:
comp.ProcessObjectNamespace(FBNamespaceAction.kFBConcatNamespace, namespace)
def SafeDeleteList(components):
@Danlowlows
Danlowlows / ExampleMenu.py
Last active September 24, 2019 09:45
Example script for adding new menus to the toolbar in Motionbuilder.
"""
Example script for adding new menus to the toolbar in Motionbuilder.
Created by Dan Lowe - [ 5th April 2018 ] - (@Danlowlows on Twitter)
"""
# Import all your different scripts from different files.