Autodesk Vault ProfessionalVault API

CopyCategoryConfiguration Method

Autodesk.Connectivity.WebServicesCategoryService

Creates a new categroy configuration using an existing one as a template.

Required Permissions

ManageBehaviorDefinition

Syntax

public CatCfg CopyCategoryConfiguration(
   System.long categoryId,
   System.string displayName,
   System.int color,
   System.string description,
   BehaviorAssignmentType assignmentType
)
Public Function CopyCategoryConfiguration( _
   ByVal categoryId As System.Long, _
   ByVal displayName As System.String, _
   ByVal color As System.Integer, _
   ByVal description As System.String, _
   ByVal assignmentType As BehaviorAssignmentType _
) As CatCfg

Parameters

NameDescription
categoryIdThe category to use as a template.
displayNameThe display name of the new category.
colorThe color of the new category. It should be a 32-bit ARGB value.
descriptionThe description of the new category.
assignmentTypeTells if the new category is enabled.

Return Value

The new category object with related information.

See Also