Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 1.29 KB

File metadata and controls

58 lines (46 loc) · 1.29 KB

NextSObj

Description

Function NextSObj returns the next selected object in a list. If the end of the list is reached, the function returns NIL.

FUNCTION NextSObj(h : HANDLE): HANDLE;
def vs.NextSObj(h):
    return HANDLE

Parameters

Name Type Description
h HANDLE Handle to object.

Examples

	itemHandle := NextSObj(itemHandle);
END;

locHandle := NextSObj( locHandle ); { go to next selected. }

		begin
	ProcessSelectedChoice;
	ResetObject(gPluginH);
		end;
	gPluginH := NextSObj(gPluginH);
END;
import vs

# Function NextSObj returns the next selected object in a list.
h = vs.FSActLayer()  # handle to the first selected object on the active layer

objHandle = vs.NextSObj(h)
if objHandle is not None:
    vs.Message('Created object handle: ' + str(objHandle))

See Also

Relative calls:

Version

Availability: from All Versions

Category