Skip to content

Instantly share code, notes, and snippets.

@mclavan
Created August 26, 2024 18:27
Show Gist options
  • Save mclavan/535eec7e988a473307a684d3cefbf3c5 to your computer and use it in GitHub Desktop.
Save mclavan/535eec7e988a473307a684d3cefbf3c5 to your computer and use it in GitHub Desktop.
Control Icon - Thicken Curve
import maya.cmds as cmds
icon = cmds.ls(sl=True)
iconShape = cmds.listRelatives(icon, s=True)[0]
cmds.setAttr( '{0}.lineWidth'.format(iconShape), 4, cb=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment