To organize templates into packages
For example, name the folder "MyStudioPackage" if you want to use "MyStudioPackage" as the package name.
Template files to be included in the package must be placed in this folder.
For example, to include two templates named template1 and template2 in the package called MyStudioPackage, the templates need to be stored in the MyStudioPackage folder. The MyStudioPackage folder is located in a parent folder that is specified in the template search path. In the following example, the parent folder is named “MyTemplates”:
.../MyTemplates/MyStudioPackage/template1.template .../MyTemplates/MyStudioPackage/template2.template
For example, for template1 and template2 in the MyStudioPackage, each template includes the following package declaration:
<?xml version='1.0' encoding='UTF-8'?> <templates package=MyStudioPackage> <template name='template1'>
<?xml version='1.0' encoding='UTF-8'?> <templates package=MyStudioPackage> <template name='template2'>
When these templates are used in Maya, they will be referred to as MyStudioPackage.template1 and MyStudioPackage.template2.
<?xml version='1.0' encoding='UTF-8'?> <templates> <using package='MyStudioPackage'/> <template name='anotherTemplate'>