円弧、円、ポリラインの円弧セグメントに折り曲げ半径寸法を作成します。
サポートされているプラットフォーム: Windows のみ
VBA:
RetVal = object.AddDimRadialLarge(Center, ChordPoint, OverrideCenter, JogPoint, JogAngle)
タイプ: Block、ModelSpace、PaperSpace
このメソッドが適用されるオブジェクト。
アクセス: 入力のみ
タイプ: バリアント型(3 要素の倍精度浮動小数点数型配列)
円弧、円、またはポリラインの円弧セグメントの中心を指定する 3D WCS 座標。
アクセス: 入力のみ
タイプ: バリアント型(3 要素の倍精度浮動小数点数型配列)
円弧の弦の点を指定する 3D WCS 座標。
アクセス: 入力のみ
タイプ: バリアント型(3 要素の倍精度浮動小数点数型配列)
中心点の優先位置またはピックした点を示す 3D WCS 座標。
アクセス: 入力のみ
タイプ: バリアント型(3 要素の倍精度浮動小数点数型配列)
折り曲げ位置またはピックした点を示す 3D WCS 座標。
アクセス: 入力のみ
タイプ: 倍精度浮動小数点数型
折り曲げ角度の値。

Center は、寸法を記入する円弧、円、またはポリラインの円弧セグメントの中心です。OverrideCenter は、寸法の基点です。
VBA:
Sub Example_AddDimRadialLarge()
Dim PI As Double: PI = 3.141592
Dim oMS As AcadModelSpace
Set oMS = ThisDrawing.ModelSpace
Dim ptCenter(2) As Double
Dim oA As AcadArc
Set oA = oMS.AddArc(ptCenter, 10, PI / 3, PI * 3 / 4)
Dim ptChordPoint(2) As Double
ptChordPoint(0) = 0: ptChordPoint(1) = 10: ptChordPoint(2) = 0
Dim ptOverrideCenter(2) As Double
ptOverrideCenter(0) = -3: ptOverrideCenter(1) = -6: ptOverrideCenter(2) = 0
Dim ptJogPoint(2) As Double
ptJogPoint(0) = 0: ptJogPoint(1) = 5: ptJogPoint(2) = 0
Dim oDimRadialLarge As AcadDimRadialLarge
Set oDimRadialLarge = oMS.AddDimRadialLarge(oA.Center, ptChordPoint, ptOverrideCenter, ptJogPoint, PI / 4)
Dim ptTextPosition(2) As Double
ptTextPosition(0) = 0: ptTextPosition(1) = 6: ptTextPosition(2) = 0
oDimRadialLarge.TextPosition = ptTextPosition
Update
ZoomExtents
End Sub
Visual LISP:
(vl-load-com)
(defun c:Example_AddDimRadialLarge()
;; This example creates an arc and a jogged arc dimension in model space.
(setq acadObj (vlax-get-acad-object))
(setq doc (vla-get-ActiveDocument acadObj))
(setq modelSpace (vla-get-ModelSpace doc))
;; Define the arc
(setq center (vlax-3d-point 0 0 0))
;; Create the arc in model space
(setq arc (vla-AddArc modelSpace center 10 (/ PI 3) (/ (* PI 3) 4)))
;; Define the jogged arc dimension
(setq ptChordPoint (vlax-3d-point 0 10 0)
ptOverrideCenter (vlax-3d-point -3 -6 0)
ptJogPoint (vlax-3d-point 0 5 0))
;; Create the jogged arc dimension in model space
(setq oDimRadialLarge (vla-AddDimRadialLarge modelSpace center ptChordPoint ptOverrideCenter ptJogPoint (/ PI 4)))
;; Set the position of the text for the dimension
(setq ptTextPosition (vlax-3d-point 0 6 0))
(vla-put-TextPosition oDimRadialLarge ptTextPosition)
(vla-ZoomExtents acadObj)
)