Vla-get-selection
- 構文
- (vla-get-selection vla-object)
- 機能
- 選択のVLAオブジェクトを取得する
- 引数
-
- vla-object … VLAオブジェクト
- 戻り値
- 選択のVLAオブジェクト
- サンプル
(setq seltobj (vla-get-selection (vla-get-preferences (vlax-get-acad-object)))) #<VLA-OBJECT IAcadPreferencesSelection 000000002cd09cd0> ; ダンプ (vlax-dump-object seltobj) ; IAcadPreferencesSelection: This object contains the options from the Selection tab on the Options dialog ; プロパティの値: ; Application (RO) = #<VLA-OBJECT IAcadApplication 0000000140d091d8> ; DisplayGrips = -1 ; DisplayGripsWithinBlocks = 0 ; GripColorSelected = 12 ; GripColorUnselected = 150 ; GripSize = 5 ; PickAdd = -1 ; PickAuto = -1 ; PickBoxSize = 3 ; PickDrag = -1 ; PickFirst = -1 ; PickGroup = -1
関連事項