Code Monkey home page Code Monkey logo

mayametadata's Introduction

mayaMetaData

Welcome to metaData for Maya.

This python module is intended to help you make complex network DG systems easy to natigate and track in Maya. At it's heart it is a grouping and relational system that sit's silently in the dependency graph via message links. You can group and organise your networks and then attach code to the groups to work on your sub networks. This makes complex netorks easy to view and debug, and can make your code mamaging these systems easy to write, remember and further more. You'll get autocomplete.

Imagine you could write code like

bob = md.GetCharacter("Bob")
bob.legs.mirror("Left")

Install

Add the module to your ptyhon path for Maya

Example

import mayaMetaData as md
import pymel.core as pCore

# Create a metaData node
node = md.MetaData()
node.m_Select() # m_* methods are in the base base.  Many of them!
# add a member variable and watch the network node automatically get the correct Maya attribute type
node.fooBar = "My String Attr"
node.myBool = True

# Parent the metaNode to another node. 
node.m_SetParent(md.MetaData())
node.m_Parents() # find the parent again.

# Get standard help
help(node.m_SetAsPart)

# Add maya objects to you metaData node and organise them by any python json serialisable attribute
node.m_SetAsPart("pSphere1", "Leg")
node.m_GetParts() # get the item back out

mayametadata's People

Contributors

thirstydevil avatar

Stargazers

Kangddan avatar  avatar  avatar  avatar OR avatar ran avatar muhammadfredo avatar Jascha Wohlkinger avatar jonn avatar Dmitrii Shevchenko avatar  avatar Alan Fregtman avatar David Lai avatar Tim Lehr avatar  avatar 了空 avatar Nino Brown avatar Do Trinh (JimJim) avatar sreenivas alapati avatar yann le paih avatar  avatar Jason Barnidge avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.