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)
		# even though its a child attribute, we cannot use 'message' as it is already
		# taken on the DependNode
		messageData = mAttr.create(p+"mmessage", p+"dmsg")
		mAttr.setArray(True)
 

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