Autodesk Vault ProfessionalVault API

UpdateBehaviorAssignmentTypes Method

Autodesk.Connectivity.WebServicesBehaviorService

Updates the behavior classes for specific behavior objects.

Required Permissions

ManageBehaviorDefinition

Syntax

public void UpdateBehaviorAssignmentTypes(
   System.string entityClassId,
   System.string behaviorClassName,
   AllowNoBehavior allowNoBehavior,
   System.long[] behaviorIds,
   BehaviorAssignmentType[] behaviorAssignTypes,
   System.bool disableAllThenApply
)
Public Sub UpdateBehaviorAssignmentTypes( _
   ByVal entityClassId As System.String, _
   ByVal behaviorClassName As System.String, _
   ByVal allowNoBehavior As AllowNoBehavior, _
   ByVal behaviorIds() As System.Long, _
   ByVal behaviorAssignTypes() As BehaviorAssignmentType, _
   ByVal disableAllThenApply As System.Boolean _
) 

Parameters

NameDescription
entityClassIdThe entity class ID.
behaviorClassNameThe name of the behavior class. Currently there are only 3 allowed names: "Category", "RevisionScheme", or "LifeCycle".
allowNoBehaviorTells if the "None" behavior is allowed.
behaviorIdsAn array of behavior IDs. This array must be the same size as behaviorAssignTypes.
behaviorAssignTypesHow the behavior should be assigned. This array must be the same size as behaviorIds.
disableAllThenApplyIf true, everything is disabled before the change is made and re-enabled after the change is complete.

See Also