• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > Vba API > Visual Basic Reference > Reference Guide > Methods > AddArc Method 

AddArc Method

AddArc Method

AddArc method

Creates a new arc object and adds it to the drawing.

Syntax

objectVariable = object.AddArc(Center, Radius, StartAngle, EndAngle)

Where:

     objectVariable is an Arc object;

     object is one of the ModelSpace or PaperSpace collection objects or a Block object;

     Center is a Point object representing the center of the arc;

     Radius is a double-precision variable or number representing the radius of the arc;

     StartAngle and EndAngle are double-precision variables or numbers representing the starting and ending angles of the arc.

AddArc method example

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.