TemplateUtils
public static class TemplateUtilsNo description is available for this type.
Methods
Section titled “Methods”
LoadTemplates(bool)
Section titled “LoadTemplates(bool)”public static List<TemplateInfo> LoadTemplates(bool addSeparator = true)Loads all available templates from the Templates folder.
Parameters
| Name | Type | Description |
|---|---|---|
addSeparator |
System.Boolean | If true, adds an empty separator entry between regular and sample templates. |
Returns
System.Collections.Generic.List{AssetInventory.TemplateInfo} — List of loaded templates.
GetTemplateRootFolder()
Section titled “GetTemplateRootFolder()”public static string GetTemplateRootFolder()Gets the root folder where templates are stored.
Returns
System.String — Path to the template root folder.
GetTemplateSaveFolder()
Section titled “GetTemplateSaveFolder()”public static string GetTemplateSaveFolder()Gets the folder where new templates should be saved. Returns the custom template folder if set, otherwise the default template folder.
Returns
System.String — Path to the folder for saving new templates.