The node has 3 attributes.
shapeType
outputMesh
state
The affect each other, like so.
On LinkedIn, some of the posts in your "Feed" are ads. They carry a little indicator (by law) to tell you as much. This script looks for those indicators and hides it for you. It works by installing an event listener for when you scroll, and looks for newly promoted posts to hide.
Copy/paste the above script into your Console when visiting LinkedIn. You can use an extension to run the above script whenever visiting LinkedIn, such as "Custom JavaScript for Websites 2"
#- | |
# ========================================================================== | |
# Copyright (c) 2018 Autodesk, Inc. | |
# All rights reserved. | |
# | |
# These coded instructions, statements, and computer programs contain | |
# unpublished proprietary information written by Autodesk, Inc., and are | |
# protected by Federal copyright law. They may not be disclosed to third | |
# parties or copied or duplicated in any form, in whole or in part, without | |
# the prior written consent of Autodesk, Inc. |
#- | |
# ========================================================================== | |
# Copyright (c) 2018 Autodesk, Inc. | |
# All rights reserved. | |
# | |
# These coded instructions, statements, and computer programs contain | |
# unpublished proprietary information written by Autodesk, Inc., and are | |
# protected by Federal copyright law. They may not be disclosed to third | |
# parties or copied or duplicated in any form, in whole or in part, without | |
# the prior written consent of Autodesk, Inc. |
This is a scene file from the CG Monastery Discord chat user @roly, containing an embedded script that auto-installs and calls itself on SceneSave. The script was found in the rig bat_rig_04.mb
, rather than the animation file, TURN_ani_bat_23.ma
. Find the imported scene file below (5340 kb).
What happens?
cmds.scriptJob
~/maya/scripts/vaccine.py
cmake_minimum_required(VERSION 2.8) | |
# include the project setting file | |
include($ENV{DEVKIT_LOCATION}/cmake/pluginEntry.cmake) | |
# specify project name | |
set(PROJECT_NAME ArrayData) | |
set(SOURCE_FILES | |
Sender.cpp |
/* | |
An example of writing to an array plug | |
Description | |
----------------------------------------------------------- | |
There are two ways of achieving this | |
1. Based on input, dynamically generate plugs in an array | |
2. Based on a connected array output, write to that |
cmake_minimum_required(VERSION 2.8) | |
# include the project setting file | |
include($ENV{DEVKIT_LOCATION}/cmake/pluginEntry.cmake) | |
# specify project name | |
set(PROJECT_NAME MyData) | |
set(SOURCE_FILES | |
Sender.cpp |
An example of parallel evaluation in Maya 2018+
Scenes
Usage
Files prefixed scene*
generate nodes suitable for parallelism, profile*
contain ways to measure performance. Each snippet of code is meant to be copy/pasted into the Script Editor and run.
Table of contents