Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 555 Bytes

File metadata and controls

31 lines (24 loc) · 555 Bytes

NumSelectedObjects

Description

Returns the number of selected objects in all working layers.

FUNCTION NumSelectedObjects : LONGINT;
def vs.NumSelectedObjects():
    return LONGINT

Examples

resultN := NumSelectedObjects;
import vs

# Returns the number of selected objects in all working layers.
count = vs.NumSelectedObjects()
vs.Message('NumSelectedObjects returned: ' + str(count))

Version

Availability: from Vectorworks 2010

Category