Open this page in the API Guide

DataCube.clearTemplate Method

Clears out the template (if any is in use), as well as any cells.