Gis:feature-get-layername
BricsCADのLISP - Civil-GIS関数 - AutoLISP Home - AutoLISP 目次 - CAD&CGブログ - オンラインショップ- GizmoTools ヘルプセンター
- 構文
- (gis:feature-get-layername featureId )
- 機能
- featureId で指定した 'GIS フィーチャー' オブジェクトの 'GIS レイヤー' の名前を返す。
- 引数
-
- featureId: GISレイヤーを問い合わせる「GISフィーチャ」の「ハンドル」識別子の整数。
- 戻り値
- 成功ならGISレイヤー名の文字列、そのほかは nil
- サンプル
(vl-load-gis)
T
(setq layers (gis:get-layers))
("shp_3857_point_2d_utf8")
(setq name (car layers))
"shp_3857_point_2d_utf8"
(setq layerId (gis:get-layer name))
1736983018068
(setq features (gis:layer-get-features layerId))
(1685094904232 1685094904233)
(setq featureId (car features))
1685094904232
(gis:feature-get-layername featureId)
"SHP_3857_POINT_2D_UTF8"
関連事項