Autodesk Vault ProfessionalVault API

AddCategory Method

Autodesk.Connectivity.WebServicesCategoryService

Adds a new Category

Required Permissions

ManageBehaviorDefinition

Syntax

public Cat AddCategory(
   System.string entityClassId,
   System.string systemName,
   System.string displayName,
   System.int color,
   System.string description,
   BehaviorAssignmentType assignmentType
)
Public Function AddCategory( _
   ByVal entityClassId As System.String, _
   ByVal systemName As System.String, _
   ByVal displayName As System.String, _
   ByVal color As System.Integer, _
   ByVal description As System.String, _
   ByVal assignmentType As BehaviorAssignmentType _
) As Cat

Parameters

NameDescription
entityClassIdThe entity class ID.
systemNameThe system name of the Category. This value must be a GUID with the following format (lower case): xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
displayNameThe display name.
colorThe display color. The format should be 32-bit ARGB.
descriptionA description.
assignmentTypeTells if the category is enabled.

Return Value

The resulting Category object.

See Also