Autodesk Vault ProfessionalVault API

GetProperties Method

Autodesk.Connectivity.WebServicesPropertyService

Gets the values for a set of properties and a set of entities.

Required Permissions

ManagePropertyDefinition or [EntityClassId]Read

Syntax

public PropInst[] GetProperties(
   System.string entityClassId,
   System.long[] entityIds,
   System.long[] propertyDefIds
)
Public Function GetProperties( _
   ByVal entityClassId As System.String, _
   ByVal entityIds() As System.Long, _
   ByVal propertyDefIds() As System.Long _
) As PropInst()

Parameters

NameDescription
entityClassIdThe associated entity class.
entityIdsAn array of entity IDs.
propertyDefIdsAn array of property definition IDs.

Return Value

A list of all matching properties. The maximum size of the return array is equal to the size of the EntityIds multiplied by the size of propertyDefIDs. The return array can be smaller if entities do not have some of the properties specified. Null will be returned if none of the entities have any of the properties specified.

See Also