「Vla-numcustominfo」の版間の差分
(ページの作成:「{{AutoLISP}} ; 構文 : (vla-numcustominfo ''vla-object'') ; 機能 : 設定されたカスタム プロパティ フィールドの数を返す。 ; 引数 :* vla-ob...」) |
(相違点なし)
|
2013年11月25日 (月) 15:47時点における最新版
- 構文
- (vla-numcustominfo vla-object)
- 機能
- 設定されたカスタム プロパティ フィールドの数を返す。
- 引数
-
- vla-object … SecurityParams の VLA オブジェクト
- 戻り値
- nil
- サンプル
(setq *ActDoc* (vla-get-ActiveDocument (vlax-get-Acad-Object))) (setq acsum (vla-get-summaryinfo *ActDoc*)) (repeat (setq i (vla-NumCustomInfo acsum)) (vla-GetCustomByIndex acsum (setq i (1- i)) 'key 'value) (setq result (cons (cons key value) result)) ) ; (("test-key" . "test-value"))
関連事項