formZ SDK | 5.0 API Reference | Project | Modeling | Lights Manager

fz_lite_sun_city_id_from_indx

Description

Gets the id of the nth city in the geography database. The number of cities can be retrieved via fz_lite_sun_get_num_cities.

Plugin Prototype

fzrt_error_td fz_lite_sun_city_id_from_indx(

fzrt_int

windex,

fzrt_int

indx,

fzrt_int *

city_id )

Parameters

windex [Input]

project window index

indx [Input]

the index of the nth city

city_id [Result]

city id

Returns

Error codes

Availability

5.0.0.0

Example Files

util_lights.fsl

See Also

fz_lite_sun_get_num_cities

Function Set

fz_lite_fset


Defined in

fz_lite_api.h