「Vla-put-plotorigin」の版間の差分
細編集の要約なし |
細編集の要約なし |
||
18行目: | 18行目: | ||
; サンプル | ; サンプル | ||
<pre class="brush:autolisp;"> | <pre class="brush:autolisp;"> | ||
(setq *actlay* (vla-get-ActiveLayout (vla-get-activedocument (vlax-get-acad-object)))) | |||
(setq *actlay* (vla-get-ActiveLayout | |||
(vla-put-configname *actlay* "A3-printer1.pc3") | |||
(vla-put-stylesheet *actlay* "monocrome.ctb") | |||
(vla-put-canonicalmedianame *actlay* "UserDefinedMetric (594.00 X 841.00ミリ)") | |||
(vla-put-centerplot *actlay* :vlax-true) | |||
(vla-put-paperunits *actlay* 1) | |||
(vla-put-plothidden *actlay* :vlax-true) | |||
(vla-put-plotrotation *actlay* 1) | |||
(vla-put-plottype *actlay* 4) | |||
(vla-put-plotorigin *actlay* (vlax-make-safearray vlax-vbdouble (cons 0 1))) | |||
(vla-put-plotwithplotstyles *actlay* :vlax-true) | |||
(vla-put-scalelineweights *actlay* :vlax-true) | |||
(vla-put-usestandardscale *actlay* :vlax-true) | |||
</pre> | </pre> |
2013年3月24日 (日) 14:19時点における最新版
- 構文
- (vla-put-plotorigin vla-object PlotOrigin)
- 機能
- UCS、ブロック、印刷、またはラスター イメージの原点を WCS 座標で指定する。
- 引数
-
- vla-object … VLAオブジェクト
- PlotOrigin … XY座標値のバリアント型(2 要素の倍精度浮動小数点数型配列)
- 戻り値
- バリアント値
- サンプル
(setq *actlay* (vla-get-ActiveLayout (vla-get-activedocument (vlax-get-acad-object)))) (vla-put-configname *actlay* "A3-printer1.pc3") (vla-put-stylesheet *actlay* "monocrome.ctb") (vla-put-canonicalmedianame *actlay* "UserDefinedMetric (594.00 X 841.00ミリ)") (vla-put-centerplot *actlay* :vlax-true) (vla-put-paperunits *actlay* 1) (vla-put-plothidden *actlay* :vlax-true) (vla-put-plotrotation *actlay* 1) (vla-put-plottype *actlay* 4) (vla-put-plotorigin *actlay* (vlax-make-safearray vlax-vbdouble (cons 0 1))) (vla-put-plotwithplotstyles *actlay* :vlax-true) (vla-put-scalelineweights *actlay* :vlax-true) (vla-put-usestandardscale *actlay* :vlax-true)
関連事項
- vlax-get-acad-object
- vla-get-activedocument
- vla-get-activelayout
- vla-get-configname
- vla-get-stylesheet
- vla-get-canonicalmedianame
- vla-get-centerplot
- vla-get-paperunits
- vla-get-plothidden
- vla-get-plotrotation
- vla-get-plottype
- vla-get-plotorigin
- vla-get-plotwithplotstyles
- vla-get-scalelineweights
- vla-get-usestandardscale
- vla-get-windowstate
- vla-put-configname
- vla-put-stylesheet
- vla-put-canonicalmedianame
- vla-put-centerplot
- vla-put-paperunits
- vla-put-plothidden
- vla-put-plotrotation
- vla-put-plottype
- vla-put-plotorigin
- vla-put-plotwithplotstyles
- vla-put-scalelineweights
- vla-put-usestandardscale
- vla-put-windowstate