Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to change the heightBaseline of a selcted object but can't get any solutions 😞
import maya.cmds as cmds
selected = cmds.ls(sl=True)[0]
cmds.setAttr(selected.heightBaseline, -1)
I tried to query the baseline with:
baseline = cmds.getAttr('{0}.heightBaseline'.format(selected))
But no luck
Any help will be appreciated
Solved! Go to Solution.