# check if the given name is good or add a sequencial number on it: Return the transform curve or a list of selected destination items.ĭestinationList = cmds.ls(selection=True, type="transform") """ Check if we need to get parameters from UI. Return ĭef cvCreate(self, useUI, cvID, cvName='Control_Ctrl', cvSize=1.0, cvDegree=1, cvDirection='+Y', cvRot=(0, 0, 0), cvAction=1, dpGuide=False, combine=False, *args): Self.cvDirection = cmds.optionMenuGrp(, query=True, value=True) Self.cvSize = cmds.floatSliderGrp(, query=True, value=True) Self.cvAction = cmds.radioButtonGrp(, query=True, select=True)ĭegreeRBGValue = cmds.radioButtonGrp(, query=True, select=True) ![]() # here we will use all info from UI elements in order to call the correct action to do:ĬustomName = cmds.textFieldGrp(, query=True, text=True) ![]() """ Check and get all UI values to define variables. Def getControlUIValues(self, cvName='', *args):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |