「IAcSmEnumProjectPointLocation」の版間の差分
(ページの作成:「{{BCAD_LISP}} IAcSmProjectPointLocation オブジェクトの Enumerator 使用可能なメソッド (setq cad (vlax-get-acad-object)) (setq ssmgr (vla-GetInterfaceO…」) |
(相違点なし)
|
2022年8月8日 (月) 21:11時点における最新版
IAcSmProjectPointLocation オブジェクトの Enumerator
使用可能なメソッド
(setq cad (vlax-get-acad-object)) (setq ssmgr (vla-GetInterfaceObject cad "BricscadSm.AcSmSheetSetMgr")) (setq smdb (vlax-invoke-method ssmgr 'OpenDatabase dstfile)) (setq iter (vlax-invoke-method smdb 'GetEnumerator)) (setq ppLocations (scanUntilObject iter "AcSmProjectPointLocations")) (setq iter (vlax-invoke-method ppLocations 'GetEnumerator))
- MEMO:
"(scanUntilObject) "は、"<LDSP>/SheetSetManager-Lisp-API/LISP Sample Code" フォルダのサンプルLispファイルに含まれるユーティリティ関数である。
| 項目 | 内容 |
|---|---|
| Next | を繰り返し,実際の要素を返す。
(while obj (setq obj (vlax-invoke-method iter 'Next))) HRESULT Next ([out, retval] IAcSmProjectPointLocation** location) |
| Reset | 列挙子を最初の要素にリセットする。
(vlax-invoke-method iter 'Reset) HRESULT Reset () |
関連記事