Why is this and what can I do to fix it?
I've provided two examples to better clarify what I mean, thus helping you to help me. In the first one I want to be able to toggle between the Modeling Toolkit's four different different transform options - world, object, local custom. But as this image shows I'm not able to establish a relationship or connection between my marking menu and the Modeling Toolkit display. Any ideas on how I would go about doing that?
Here's what my code looks like:
Code:
global proc customModelingToolkitMM( string $parentName ) { radioMenuItemCollection; menuItem -label (uiRes("m_customModelingToolkitMM.kLocalLabel")) -radioButton 1 -c "dR_coordSpaceLocal" -radialPosition "NE"; menuItem -label (uiRes("m_customModelingToolkitMM.kCustomLabel")) -radioButton 1 -c "dR_coordSpaceCustom" -radialPosition "E"; menuItem -label (uiRes("m_customModelingToolkitMM.kObjectLabel")) -radioButton 1 -c "dR_coordSpaceObject" -radialPosition "NW"; menuItem -label (uiRes("m_customModelingToolkitMM.kWorldLabel")) -radioButton 1 -c "dR_coordSpaceWorld" -radialPosition "W"; }
Here's what that code looks like:
Code:
global proc customModelingToolkitMM( string $parentName ) { radioMenuItemCollection; menuItem -label (uiRes("m_customModelingToolkitMM.kSymmetryLabel")) -checkBox 1 -c "dR_symmetryTGL" -radialPosition "N"; }
// Johan Wendesten