「Gis:layer-get-name」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_GIS}} ; 構文 : (gis:layer-get-name ''layerId'') ; 機能 : layerId で指定した 'GIS Layer' オブジェクトの名前を返す。 ; 引数 :* layerId: GISレイヤー'の'handle'識別子から、以下の文字列名を取得する。 ; 戻り値 : 成功した場合は文字列、それ以外は nil ===メモ=== * "GIS Layer" 名は常に大文字と小文字を区別せずに扱われる。 ; サンプル <pre class="brush: autoli…」)
 
編集の要約なし
41行目: 41行目:
<div class="mcol2">
<div class="mcol2">
* [[Civil-gis関数-BricsCAD]]
* [[Civil-gis関数-BricsCAD]]
* [[gis:get-manager]]
* [[gis:layer-get-name]]
* [[gis:get-layers]]
* [[gis:layer-get-type]]
* [[gis:has-layer]]
* [[gis:layer-get-attributes]]
* [[gis:get-layer]]
* [[gis:layer-get-features]]
* [[gis:create-layer]]
* [[gis:layer-get-entities]]
* [[gis:rename-layer]]
* [[gis:layer-get-source]]
* [[gis:remove-layer]]
* [[gis:layer-has-attribute]]
* [[gis:layer-has-entity]]
* [[gis:layer-has-feature]]
* [[gis:layer-add-feature]]
* [[gis:layer-remove-feature]]
* [[gis:layer-add-attribute]]
* [[gis:layer-remove-attribute]]
* [[gis:layer-rename-attribute]]
* [[gis:layer-set-name]]
</div>
</div>


[[Category:AutoLISP]]
[[Category:AutoLISP]]
[[Category:BricsCADのLISP]]
[[Category:BricsCADのLISP]]

2025年4月17日 (木) 05:18時点における版

構文
(gis:layer-get-name layerId)


機能
layerId で指定した 'GIS Layer' オブジェクトの名前を返す。


引数
  • layerId: GISレイヤー'の'handle'識別子から、以下の文字列名を取得する。


戻り値
成功した場合は文字列、それ以外は nil


メモ

  • "GIS Layer" 名は常に大文字と小文字を区別せずに扱われる。


サンプル
(vl-load-gis)
T
(setq layers (gis:get-layers))
("shp_3857_point_2d_utf8")

(setq layerId (gis:get-layer (car layers)))
1736904439915

(setq name (gis:layer-get-name layerId))  
"shp_3857_point_2d_utf8" 



関連事項