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| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to object. |
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))Relative calls:
- NextObj | PrevObj
- FObject | LObject
- FSActLayer | LSActLayer
- FSObject | LActLayer
- NextDObj | PrevDObj
- NextSObj | PrevSObj
Availability: from All Versions