Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1010 Bytes

File metadata and controls

51 lines (40 loc) · 1010 Bytes

DeleteResourceFromList

Description

Deletes the indicated object in the specified resource list.

PROCEDURE DeleteResourceFromList(
				listID : LONGINT;
				index  : LONGINT);
def vs.DeleteResourceFromList(listID, index):
    return None

Parameters

Name Type Description
listID LONGINT an ID for a resource list created by the BuildResourceList function.
index LONGINT an index into the list.

Examples

WorkingWithResrouceList

BEGIN
DeleteResourceFromList (defaultListID, i);
defaultListCount := defaultListCount - 1;
END;

BEGIN
DeleteResourceFromList(ResourceListID,cnt);
NumResources := NumResources -1;
END
import vs

# Deletes the indicated object in the specified resource list.
listID = 1
index = 1

vs.DeleteResourceFromList(listID, index)

Version

Availability: from VectorWorks12.0

Category