Autodesk Vault ProfessionalVault API

UpdateCustomEntityDefinition Method

Autodesk.Connectivity.WebServicesCustomEntityService

Updates a Custom Entity Definition.

Required Permissions

CustomEntityDefUpdate

Syntax

public CustEntDef UpdateCustomEntityDefinition(
   System.long custEntDefId,
   System.string dispName,
   System.string dispNamePlural,
   ByteArray image,
   ACE[] acl
)
Public Function UpdateCustomEntityDefinition( _
   ByVal custEntDefId As System.Long, _
   ByVal dispName As System.String, _
   ByVal dispNamePlural As System.String, _
   ByVal image As ByteArray, _
   ByVal acl() As ACE _
) As CustEntDef

Parameters

NameDescription
custEntDefIdThe ID of the Custom Entity Definition.
dispNameThe new display name to use when referring to a single object.
dispNamePluralThe new display name to use when referring to multiple objects.
imageThe new icon for this object type. Must be the contents of an .ico file.
aclThe default security settings to use when new objects of this type are created.

Return Value

The updated Custom Entity Definition object.

Remarks

Ideally the icon should contain the following 4 sizes: 16x16, 32x32, 64x64, and 128x128.

See Also