In Viewport 2.0, you can visualize metadata assigned to vertices, edges, faces, and vertex faces on polygons. See also Visualize metadata in Viewport 2.0.
When you use the showMetadata command to visualize metadata, you can view different stream/member combinations on different objects, but only one stream/member on each object. For example, you can visualize StreamOne on Object1 and StreamTwo on Object2 at the same time, but not both StreamOne and StreamTwo on Object1 at the same time.
Use the editMetadata command to assign values to the metadata stream(s) for the specified components. Use the -value flag to define metadata values in the stream, and the -index flag to indicate the vertex/vertices that you want to apply the metadata to.
// Set StreamOne values and assign StreamOne to specified vertices on smcPlaneShape editMetadata -streamName "StreamOne" -value 2 -value 0.5 -value 1 -index 1 smcPlaneShape;
// Visualize StreamOne on smcPlaneShape showMetadata -stream "StreamOne" -member "Color" -dataType "float[3]" -method "string" smcPlaneShape;
You can specify the object name to disable visualization on only that object. If you do not specify an object name and no objects are selected in the scene, then visualization is disabled on all objects for the specified stream and member.
showMetadata -stream "StreamOne" -off -member "Color" -dataType "float[3]" smcPlaneShape;
You can only visualize two streams simultaneously using this scripting method, not using the marking menu or Metadata Visualization Options.