CODE
// Create "Options" pulldown menu
//
$optionsMenuForRenLayers = menu -label $optionsMenu -allowOptionBoxes true;
menuItem -checkBox false -label $makeNewLayersCurrent
-command ("optionVar -intValue renderLayerCurrent #1;"
+ "optionVar -intValue renderLayerCurrent #1;")
LayerEditorOptionsMenuMakeCurrentMenuItemRenLayers;
menuItem -checkBox false -label $addNewObjectsToCurrentLayer
LayerEditorOptionsMenuUseCurrentMenuItemRenLayers;
menuItem -checkBox false -label $autoOverrides
-command ("editRenderLayerGlobals -enableAutoAdjustments #1")
LayerEditorOptionsMenuAutoAdjustmentMenuItemRenLayers;
menuItem -checkBox false -label $showNamespace
-command ("optionVar -intValue renderLayerShowNamespace #1;updateLayerEditor;")
LayerEditorOptionsMenuShowNamespaceMenuItemRenLayers;
menuItem -divider true;
menuItem -checkBox false -label (uiRes("m_layerEditor.kRenderAllLayers"))
-command "switchRenderAllLayers"
LayerEditorOptionsRenderAllLayersRenLayers;
what does
CODE
optionVar -intValue renderLayerShowNamespace #1;
mean?
i know how to use optionVar, but i don't know #1,and it's not in the doc.
thanks