def getbaseobjectname(): v = getValue('SCENE', 'baseobjectname') if v: return v else: # If there's no property, the base object is the active one. # Better get that right, then, my dear user. sel = Object.getSelected() return sel[0].name
def getbaseobjectname(): v = getValue('SCENE','baseobjectname') if v: return v else: # If there's no property, the base object is the active one. # Better get that right, then, my dear user. sel = Object.getSelected() return sel[0].name
def getoutputdirectory(): v = getValue('FILES', 'outputdirectory') if v: return v else: # None selected? Let's get it from the system. return os.getcwd() # If there's no property, the base object is the active one. # Better get that right, then, my dear user. sel = Object.getSelected() return sel[0].name
def getoutputdirectory(): v = getValue('FILES','outputdirectory') if v: return v else: # None selected? Let's get it from the system. return os.getcwd() # If there's no property, the base object is the active one. # Better get that right, then, my dear user. sel = Object.getSelected() return sel[0].name