Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 781 Bytes

File metadata and controls

30 lines (23 loc) · 781 Bytes

AddResourceToList

Description

Adds the indicated resource to the specified resource list, if it is of the same type as the items already in the list. Returns the index of the resource in the list or 0.

FUNCTION AddResourceToList(
				listID   : LONGINT;
				resource : HANDLE): LONGINT;
def vs.AddResourceToList(listID, resource):
    return LONGINT

Parameters

Name Type Description
listID LONGINT an ID for a resource list created by the BuildResourceList command.
resource HANDLE a resource to add to the resource list.

Examples

AddHatchToResource

Version

Availability: from VectorWorks12.0

Category