「Vla-put-lineweight」の版間の差分
(ページの作成:「{{AutoLISP}} ; 構文 : (vla-put-lineweight ''vla-object'' ''num'') ; 機能 : 線の太さを設定する。 ; 引数 :* vla-object … VLAオブジェクト :* nu...」) |
(相違点なし)
|
2013年3月23日 (土) 11:19時点における最新版
- 構文
- (vla-put-lineweight vla-object num)
- 機能
- 線の太さを設定する。
- 引数
-
- vla-object … VLAオブジェクト
- num… 数値
- 戻り値
- nil
- サンプル
(setq LayerTable (vla-get-Layers (vla-get-ActiveDocument (vlax-get-acad-object)))) (setq lay (vla-add LayerTable "NewLayer")) ; 表示 (vla-put-layeron lay :vlax-true) (vla-put-layeron lay :vlax-false) ; フリーズ (vla-put-freeze lay :vlax-true) (vla-put-freeze lay :vlax-false) ; ロック (vla-put-lock lay :vlax-true) (vla-put-lock lay :vlax-false) ; 印刷 (vla-put-plottable lay :vlax-true) (vla-put-plottable lay :vlax-false) ; 線の太さ (vla-put-lineweight lay 18) ; 0.18mm (vla-put-lineweight lay -3) ; 規定値 ; 色 (vla-put-color lay 128)
関連事項