Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/m/r/mrv-1-1.0.3-stable/mrv/maya/nt/persistence.py   MRV(Download)
	:return: attribute api object of its master compound attribute"""
	tAttr = api.MFnTypedAttribute()
	mAttr = api.MFnMessageAttribute()
	cAttr = api.MFnCompoundAttribute()
	nAttr = api.MFnNumericAttribute()

src/m/a/mayaseed-HEAD/nodes/ms_render_settings.py   mayaseed(Download)
    # environent -----------------------------------------------
    # environment message
    environment_msgAttr = OpenMaya.MFnMessageAttribute()
    ms_renderSettings.environment = environment_msgAttr.create("environment", "env")   
    ms_renderSettings.addAttribute(ms_renderSettings.environment)
    # output ---------------------------------------------------
    # camera
    camera_msgAttr = OpenMaya.MFnMessageAttribute()
    ms_renderSettings.camera = camera_msgAttr.create("camera", "cam")
    ms_renderSettings.addAttribute(ms_renderSettings.camera)