Exemplo n.º 1
0
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
Exemplo n.º 2
0
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
Exemplo n.º 3
0
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
Exemplo n.º 4
0
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