「Vla-get-drafting」の版間の差分
(ページの作成:「{{AutoLISP}} ; 構文 : (vla-get-drafting ''vla-object'') ; 機能 : PreferencesDrafting オブジェクトを取得する。 ; 引数 :* vla-object … Preferences ...」) |
(相違点なし)
|
2013年12月1日 (日) 20:56時点における最新版
- 構文
- (vla-get-drafting vla-object)
- 機能
- PreferencesDrafting オブジェクトを取得する。
- 引数
-
- vla-object … Preferences の VLA オブジェクト
- 戻り値
- PreferencesDrafting のVLAオブジェクト。
- memo: PreferencesDrafting オブジェクトは、レジストリに保存されている オプションダイアログ ボックスの作図補助タブの全てのオプションを保持している。
- 図面と共に保存された全てのオプションは、DatabasePreferences オブジェクトから検索できる。
- サンプル
(setq *prefs* (vla-get-preferences (vlax-get-Acad-Object))) (setq *drafting* (vla-get-drafting *prefs*)) ;ダンプ (vlax-dump-object *drafting*) ; IAcadPreferencesDrafting: This object contains the options from the Drafting tab on the Options dialog ; プロパティの値: ; AlignmentPointAcquisition = 0 ; Application (RO) = #<VLA-OBJECT IAcadApplication 00000001401e91d8> ; AutoSnapAperture = 0 ; AutoSnapApertureSize = 11 ; AutoSnapMagnet = -1 ; AutoSnapMarker = -1 ; AutoSnapMarkerColor = 31 ; AutoSnapMarkerSize = 5 ; AutoSnapTooltip = -1 ; AutoTrackTooltip = -1 ; FullScreenTrackingVector = -1 ; PolarTrackingVector = -1
関連事項