Skip To Content



Decorator to mark a function as non-UI updating.
By decorating a function with @noUIupdate: the function
will be executed on the UI thread thus preventing UI updates.

# mark setAttributes() to run faster without UI updates.
def setAttributes():
	for shape in ce.getObjectsFrom(ce.selection, ce.isShape):
		ce.setAttribute(shape, 'height', 15)

if __name__ == '__main__':

In this topic