std.GetTemplates

This job delivers a list of all templates for the specified object type. If dwObjectType is not passed or passed with the value -1, templates for all object types are returned.

1. Input Parameters

Name Type Required Description

[dwObjectType]

INT

No

Type of object for which templates should be returned; -1 = all object types

2. Output Parameters

Name Type Dependency Description

nCount

INT

—

Number of templates

ObjectType[1…nCount]

INT

—

Type of the selected object

TemplateId[1…nCount]

INT

—

Template ID

Aliase[1…nCount]

STRING

—

Alias name

Editor[1…nCount]

STRING

—

Editor name

FileName[1…nCount]

STRING

—

File name

Extension[1…nCount]

STRING

—

File extension

NameSpace[1…nCount]

STRING

—

Engine name

3. Return Value

(INT): 0 = Job successful, otherwise error code.