### Start Method Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Filters.md Initiates the iteration process. Call this before starting to iterate through filtered results. ```csharp public void Start(); ``` -------------------------------- ### Start Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Filters.md Initiates iteration. ```APIDOC ## Start ### Description Initiates iteration. ### Method Signature ```csharp public void Start(); ``` ``` -------------------------------- ### StartRecording Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreview.md Starts the live preview recording process. ```APIDOC ## StartRecording ### Description Starts the live preview recording process. ### Method `public void StartRecording();` ``` -------------------------------- ### Get Edge Start Vertex Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/fix_preview.html Retrieves the start vertex SubentityId of an edge. ```APIDOC ## Get Edge Start Vertex ### Description Retrieves the SubentityId of the start vertex of an edge. ### Parameters #### Path Parameters - **entity** (Entity) - Required - The entity must be open for read. - **edgeSubentId** (SubentityId) - Required - Edge SubentityId whose vertex SubentityIds are to be obtained. ### Returns - **startVertexSubentId** (SubentityId) - Returned SubentityId of the start vertex of the edge (or NullSubentityId if there is not any). ``` -------------------------------- ### Start Live Preview Recording Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreview.md Initiates the live preview recording process. This method does not take any parameters. ```text public void StartRecording(); ``` -------------------------------- ### Access Helix Start Point Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Helix.md Gets or sets the starting point of the helix. ```csharp public override Point3d StartPoint; ``` -------------------------------- ### Get Helix Axis Start Point Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Helix.md Retrieves the starting point of the helix's axis. ```csharp public Point3d GetAxisPoint(); ``` -------------------------------- ### Get Curve Start Point Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Curve.md Retrieves the 3D point coordinates at the start of a curve. This property is read/write. ```csharp public virtual Point3d StartPoint; ``` -------------------------------- ### LivePreviewContextProxy Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewContextProxy.md Initializes a new instance of the LivePreviewContextProxy class. ```APIDOC ## LivePreviewContextProxy Constructor ### Description This is LivePreviewContextProxy, a member of class LivePreviewContextProxy. ### Signature ```csharp public LivePreviewContextProxy( string contexName, Delegate callback, params object[] parameters ); ``` ### Parameters - **contexName** (string) - The name of the context. - **callback** (Delegate) - The callback delegate to execute. - **parameters** (params object[]) - Additional parameters for the callback. ``` -------------------------------- ### LivePreviewCommand Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewCommand.md Initializes a new instance of the LivePreviewCommand class with the specified command string. ```APIDOC ## LivePreviewCommand Constructor ### Description This is LivePreviewCommand, a member of class LivePreviewCommand. ```csharp public LivePreviewCommand(string cmd); ``` ### Parameters * **cmd** (string) - Required - The command string to associate with the live preview. ``` -------------------------------- ### Get Start Fit Tangent Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Spline.md Returns the start point of the tangent vector in WCS coordinates. This is a read-only property. ```csharp public Vector3d StartFitTangent; ``` -------------------------------- ### Get RCS File Path by GUID Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PointCloudDefEx.md Retrieves the file path for a specific RCS file using its GUID. ```csharp public string getRcsFilePath( string guid ); ``` -------------------------------- ### LivePreviewContextProxy Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewContextProxy.md Initializes a new instance of the LivePreviewContextProxy class. Requires a context name, a delegate callback, and optional parameters. ```csharp public LivePreviewContextProxy( string contexName, Delegate callback, params object[] parameters ); ``` -------------------------------- ### DefaultStartWidth Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Polyline2d.md Gets or sets the default starting width for polyline segments. This value is used for vertices that do not have an explicit start width specified. ```APIDOC ## DefaultStartWidth ### Description Accesses the default polyline segment starting width value for the polyline. This value is used as the default start width for all vertices within the polyline. So, for DXFOUT, vertices that have this start width will not write the value out. For DXFIN, vertices that do not have a DXF group code 40 value will use the polyline's default start width. ### Property ```csharp public double DefaultStartWidth; ``` ### Conditions Read / Write ``` -------------------------------- ### PromptDoubleOptions Constructor with Message and Keywords Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_PromptDoubleOptions.md Initializes a new instance of the PromptDoubleOptions class with a specified prompt message and global keywords. This is useful for providing predefined options or commands to the user. ```csharp public PromptDoubleOptions( string messageAndKeywords, string globalKeywords ); ``` -------------------------------- ### StartPoint Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Helix.md Gets or sets the starting point of the helix. ```APIDOC ## StartPoint ### Description Accesses the start point of the helix. ### Property Type Point3d ### Conditions Read / Write ### Signature ```csharp public override Point3d StartPoint; ``` ``` -------------------------------- ### GetPointAtDist() Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Curve.md Gets the point on the curve at a specified distance from the start. ```APIDOC ## GetPointAtDist() ### Description Gets the point on the curve at a specified distance from the start. ```csharp public Point3d GetPointAtDist( double distance ); ``` ### Parameters | Parameters | | --- | | `double distance` - The distance from the start of the curve. | ``` -------------------------------- ### SolidBackground Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_SolidBackground.md Initializes a new instance of the SolidBackground class. ```APIDOC ## SolidBackground() ### Description Constructor. ### Signature ```csharp public SolidBackground(); ``` ``` -------------------------------- ### ColorSchemeGUIDs Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PointCloudColorMap.md Gets or sets the GUIDs for color schemes. ```APIDOC ## ColorSchemeGUIDs Property ### Description This property allows access to the GUIDs associated with color schemes within the PointCloudColorMap. ### Property Signature ```csharp public virtual string ColorSchemeGUIDs; ``` ``` -------------------------------- ### LivePreviewCommand Constructor - C# Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewCommand.md Initializes a new instance of the LivePreviewCommand class. Requires a string representing the command name. ```csharp public LivePreviewCommand( string cmd ); ``` -------------------------------- ### NumberOfGuideCurves Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftedSurface.md Gets the number of guides for the surface. This property is read-only. ```APIDOC ## NumberOfGuideCurves ### Description Gets the number of guides for the surface. ```csharp public int NumberOfGuideCurves; ``` ### Conditions Read-only ``` -------------------------------- ### Solid Constructor (3 Points) Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Solid.md Initializes a Solid with the first three points provided. The fourth point defaults to the second point. All points must be in WCS coordinates. The normal vector is initialized to (0,0,1) and thickness to 0.0. ```csharp public Solid( Point3d pointer1, Point3d pointer2, Point3d pointer3 ); ``` -------------------------------- ### Get Hatch Lines Data Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Hatch.md Retrieves all hatch line data from the hatch entity. This can be used to get the start and end points of all hatch lines. ```csharp public Line2dCollection GetHatchLinesData(); ``` -------------------------------- ### LivePreviewPropertySetting Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewPropertySetting.md Initializes a new instance of the LivePreviewPropertySetting class. ```APIDOC ## LivePreviewPropertySetting Constructor ### Description Initializes a new instance of the LivePreviewPropertySetting class. ### Signature ```csharp public LivePreviewPropertySetting(PropertyDescriptor prop, object component, object value); ``` ### Parameters * **prop** (PropertyDescriptor) - The property descriptor for the property to be set. * **component** (object) - The component containing the property. * **value** (object) - The new value for the property. ``` -------------------------------- ### Access MlineStyle Start Square Cap Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_MlineStyle.md Gets or sets a boolean value indicating whether square start caps are used for mlines with this style. ```csharp public bool StartSquareCap; ``` -------------------------------- ### Face() Constructor (Quadrilateral Face) Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Face.md Initializes a quadrilateral Face using four points. Edge visibility is controlled by boolean parameters. Points must be in WCS coordinates. ```csharp public Face( Point3d pointer1, Point3d pointer2, Point3d pointer3, Point3d pointer4, [MarshalAs(UnmanagedType.U1)] bool value1, [MarshalAs(UnmanagedType.U1)] bool value2, [MarshalAs(UnmanagedType.U1)] bool value3, [MarshalAs(UnmanagedType.U1)] bool value4 ); ``` -------------------------------- ### IsPreviewStarted() Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreview.md Checks if a live preview session has been started. ```APIDOC ## IsPreviewStarted() ### Description Checks if a live preview session has been started. ### Method `public static bool IsPreviewStarted();` ``` -------------------------------- ### Access MlineStyle Start Round Cap Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_MlineStyle.md Gets or sets a boolean value indicating whether round start caps are used for mlines with this style. ```csharp public bool StartRoundCap; ``` -------------------------------- ### Execute Method Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewPropertySetting.md Executes the live preview property setting action. ```APIDOC ## Execute Method ### Description Executes the live preview property setting action. This method is called to apply the property change. ### Signature ```csharp public sealed override void Execute(); ``` ``` -------------------------------- ### Accessing Arc Start Angle Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Arc.md Gets or sets the start angle of the arc in radians. Angles are measured counterclockwise from the OCS X axis. ```csharp public double StartAngle; ``` -------------------------------- ### Database Constructor with Options Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Database.md Initializes a new instance of the Database class with specified options for building a default drawing and associating with a document. Use when custom initialization is required. ```csharp public Database( [MarshalAs(UnmanagedType.U1)] bool buildDefaultDrawing, [MarshalAs(UnmanagedType.U1)] bool noDocument ); ``` -------------------------------- ### StartParam Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Curve.md Gets the parameter of the start point of the curve. This is a read-only property. ```APIDOC ## StartParam ### Description Accesses the parameter of the start point of the curve. ### Property Signature ```csharp public virtual double StartParam { get; } ``` ### Conditions Read-only ``` -------------------------------- ### PromptOpenFileOptions Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_PromptOpenFileOptions.md Initializes a new instance of the PromptOpenFileOptions class with a specified prompt message. ```APIDOC ## PromptOpenFileOptions Constructor ### Description Initializes a new instance of the PromptOpenFileOptions class. ### Signature ```csharp public PromptOpenFileOptions(string message) ``` ### Parameters #### Parameters - **message** (string) - Required - Input prompt message ``` -------------------------------- ### StartEdgeContinuity Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_AssocBlendSurfaceActionBody.md Gets or sets the continuity for the start edge of the blend surface. ```APIDOC ## StartEdgeContinuity ### Description This property wraps the ObjectARX AcDbAssocBlendSurfaceActionBody::startEdgeContinuity() and AcDbAssocBlendSurfaceActionBody::setStartEdgeContinuity() methods to manage the continuity for the start edge. ### Property Signature ```csharp public short StartEdgeContinuity; ``` ### Usage This property allows you to retrieve or set the continuity value for the start edge of the blend surface. ``` -------------------------------- ### Polyline Class Example Source: https://context7.com/shtirlitsdva/autocad-api-docs/llms.txt Demonstrates how to create a lightweight polyline with multiple vertices, including arc segments and variable widths, and inspect its properties. ```APIDOC ## Polyline Class `Polyline` (`Autodesk.AutoCAD.DatabaseServices.Polyline`) is the lightweight polyline entity — a single-object representation of connected straight and arc segments, more memory-efficient than the older `Polyline2d`. Vertices are added with `AddVertexAt()`, arc segments encoded with bulge values via `SetBulgeAt()`, and variable widths controlled per-vertex with `SetStartWidthAt()` / `SetEndWidthAt()`. ```csharp using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Geometry; using Autodesk.AutoCAD.Runtime; [CommandMethod("EXAMPLE_PLINE")] public void PolylineExample() { Document doc = Application.DocumentManager.MdiActiveDocument; Database db = doc.Database; using (Transaction tr = db.TransactionManager.StartTransaction()) { BlockTable bt = (BlockTable)tr.GetObject(db.BlockTableId, OpenMode.ForRead); BlockTableRecord ms = (BlockTableRecord)tr.GetObject( bt[BlockTableRecord.ModelSpace], OpenMode.ForWrite); Polyline pline = new Polyline(); pline.SetDatabaseDefaults(); // Add 4 vertices (index, 2D point, bulge, startWidth, endWidth) pline.AddVertexAt(0, new Point2d(0, 0), 0, 0, 0); pline.AddVertexAt(1, new Point2d(100, 0), 0, 0, 0); pline.AddVertexAt(2, new Point2d(100, 100), 0.5, 0, 0); // arc from v2 to v3 pline.AddVertexAt(3, new Point2d(0, 100), 0, 0, 0); pline.Closed = true; // Variable width on segment 0→1 pline.SetStartWidthAt(0, 2.0); pline.SetEndWidthAt(0, 5.0); ms.AppendEntity(pline); tr.AddNewlyCreatedDBObject(pline, true); // Inspect doc.Editor.WriteMessage($"\nVertex count: {pline.NumberOfVertices}"); doc.Editor.WriteMessage($"\nHas bulges: {pline.HasBulges}"); doc.Editor.WriteMessage($"\nHas width: {pline.HasWidth}"); Point3d v2 = pline.GetPoint3dAt(2); doc.Editor.WriteMessage($"\nVertex 2 (3D): {v2}"); tr.Commit(); } } ``` ``` -------------------------------- ### findScanItem Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PointCloudEx.md Gets a scan item by the scan GUID in the point cloud. ```APIDOC ## findScanItem ### Description Gets a scan item by the scan GUID in the point cloud. ### Method ```csharp public PointCloudItem findScanItem(string scanGuid); ``` ### Parameters #### Path Parameters - **scanGuid** (string) - Required - The GUID of the scan to retrieve. ``` -------------------------------- ### Initialize Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Layout.md Initializes the layout by creating a paperspace viewport, preparing it for entities and properties. ```APIDOC ## Initialize ### Description This method will do the behind the scenes work to establish a Paper Space viewport for the layout. This allows a layout to be set up and made ready for other viewports and entities to be put into the layout as well as to set various layout properties. Returns an existing ObjectId object that will be set to the objectId of the paper space Viewport created by this function. ### Signature ```csharp public ObjectId Initialize(); ``` ### Returns The ObjectId of the created paperspace viewport. ``` -------------------------------- ### PromptIntegerOptions Constructor with Message and Keywords Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_PromptIntegerOptions.md Use this constructor when you need to provide both a prompt message and a set of global keywords that the user can utilize. Keywords offer predefined options for input. ```csharp public PromptIntegerOptions( string messageAndKeywords, string globalKeywords ); ``` -------------------------------- ### ClassificationSchemeGUIDs Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PointCloudColorMap.md Gets or sets the GUIDs for classification color schemes. ```APIDOC ## ClassificationSchemeGUIDs Property ### Description This property allows access to the GUIDs associated with classification color schemes within the PointCloudColorMap. ### Property Signature ```csharp public virtual string ClassificationSchemeGUIDs; ``` ``` -------------------------------- ### Access MlineStyle Start Inner Arcs Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_MlineStyle.md Gets or sets a boolean value indicating whether inner arcs are displayed at the start of mlines using this style. ```csharp public bool StartInnerArcs; ``` -------------------------------- ### Initialize PromptSelectionOptions Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_PromptSelectionOptions.md Creates a new instance of the PromptSelectionOptions class. This is the default constructor. ```csharp public PromptSelectionOptions(); ``` -------------------------------- ### StartEdgeBulge Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_AssocBlendSurfaceActionBody.md Gets or sets the bulge value for the start edge of the blend surface. ```APIDOC ## StartEdgeBulge ### Description This property wraps the ObjectARX AcDbAssocBlendSurfaceActionBody::startEdgeBulge() and AcDbAssocBlendSurfaceActionBody::setStartEdgeBulge() methods to manage the bulge value for the start edge. ### Property Signature ```csharp public double StartEdgeBulge; ``` ### Usage This property allows you to retrieve or set the bulge value for the start edge of the blend surface. ``` -------------------------------- ### Initialize Layout with Paper Space Viewport Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Layout.md Sets up the necessary behind-the-scenes work to create a Paper Space viewport for the layout. This prepares the layout for adding viewports and entities. Returns the ObjectId of the created paperspace viewport. ```csharp public ObjectId Initialize(); ``` -------------------------------- ### Constructors Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_JigPromptAngleOptions.md Initializes a new instance of the JigPromptAngleOptions class. ```APIDOC ## JigPromptAngleOptions() ### Description Constructor. ### Method public JigPromptAngleOptions(); ``` ```APIDOC ## JigPromptAngleOptions(string message) ### Description Constructor. ### Method public JigPromptAngleOptions( string message ); ### Parameters #### Parameters - **message** (string) - Input prompt message ``` ```APIDOC ## JigPromptAngleOptions(string messageAndKeywords, string globalKeywords) ### Description Constructor. ### Method public JigPromptAngleOptions( string messageAndKeywords, string globalKeywords ); ### Parameters #### Parameters - **messageAndKeywords** (string) - Input prompt message and keywords - **globalKeywords** (string) - Input global keywords ``` -------------------------------- ### GetScanViewInfo Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PointCloudEx.md Gets the origin location and extents of a scan item specified the scan guid. ```APIDOC ## GetScanViewInfo ### Description Gets the origin location and extents of a scan item specified the scan guid. ### Method Signature ```csharp public bool GetScanViewInfo( string scanGuid, out ValueType modopt(Point3d) modopt(IsBoxed) origin, out ValueType modopt(Extents3d) modopt(IsBoxed) extent ); ``` ### Parameters #### Parameters - **scanGuid** (string) - The GUID of the scan item. - **origin** (out Point3d) - The origin location of the scan. - **extent** (out Extents3d) - The extents of the scan. ``` -------------------------------- ### LivePreviewDelegate Constructor with Two Callbacks Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewDelegate.md Initializes a new instance of the LivePreviewDelegate class with both an action callback and an aborted callback. This allows defining behavior for both successful actions and cancellations. ```csharp public LivePreviewDelegate( LivePreviewCallback actCallback, LivePreviewCallback abortedCallback ); ``` -------------------------------- ### GuideProfiles Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftedSurface.md Gets the list of guide profiles used to create the surface. The returned objects contain guide entity and edge data. The caller is responsible for deleting all pointers in the output list. ```APIDOC ## GuideProfiles ### Description Gets the list of guide profiles that were used to create the surface. The returned objects contain the guide entity and edge data if the profile is for an edge or set of edges. The caller is responsible for deleting all pointers in the output list. ```csharp public LoftProfile GuideProfiles; ``` ### Conditions Read-only ``` -------------------------------- ### InitCommandVersion Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_Editor.md Initializes the command version. ```APIDOC ## InitCommandVersion ### Description Initializes the command version. ### Method (Not specified, likely a method within the editor input class) ### Endpoint (Not applicable) ### Parameters (None) ### Request Example (Not applicable) ### Response (Not specified) ``` -------------------------------- ### StartAngle Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Arc.md Gets or sets the start angle of the arc in radians. Positive angles are counterclockwise. ```APIDOC ## StartAngle Property ### Description Accesses the the start angle of the arc, which must be in radians. ### Property Signature ```csharp public double StartAngle { get; set; } ``` ### Notes The angle is relative to the OCS X axis for the arc with positive angles going counterclockwise when looking down the Z axis towards the origin. The OCS X axis is determined by using the arc’s normal, the WCS Z axis, and the arbitrary axis algorithm. If the angle is provided with a negative value, the arc is still drawn counterclockwise but measured in the reverse direction. For example, an arc specified with 4.7124 radians (270 degrees) is the same as -1.5708 (-90 degrees). The start angle value is used for DXF group code 50. ``` -------------------------------- ### PointCloudItem.Guid Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PointCloudItem.md Gets or sets the globally unique identifier (GUID) for the point cloud item. ```APIDOC ## Guid ### Description Gets or sets the GUID of item. ### Property Type string ### Conditions Read / Write ### Signature ```csharp public string Guid { get; set; } ``` ``` -------------------------------- ### Execute Method Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewAction.md Executes the live preview action. ```APIDOC ## Execute Method ### Description Executes the live preview action defined by the LivePreviewAction instance. ### Signature ```csharp public sealed override void Execute() ``` ### Remarks This method is called to perform the live preview operation. ``` -------------------------------- ### PointCloudEx Constructor Parameters Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/fix_preview.html Parameters for initializing a PointCloudEx object. ```APIDOC ## PointCloudEx Constructor ### Description Initializes a PointCloudEx object with specified file path, location, and scale. ### Parameters #### Path Parameters - **filename** (string) - Required - Point cloud source file path. This represents the original filepath used to create the index. This entry can be blank. - **location** (Point3d) - Required - Location of point cloud entity. If entity is inserted at 0,0,0 the points will appear where they are located in the point cloud. - **scale** (double) - Required - Scale factor. 1.0 is default scale, and cannot be less than 0.0. ``` -------------------------------- ### EndFitTangent Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Spline.md Gets the start and end point tangent vectors of the spline in WCS coordinates. This is a read-only property. ```APIDOC ## EndFitTangent ### Description Returns the start point and end point tangent vectors in WCS coordinates. ### Property Type ```csharp public Vector3d EndFitTangent { get; } ``` ### Conditions Read-only ``` -------------------------------- ### BaseRadius Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Helix.md Gets or sets the base radius of the helix. This is the distance between the start point and the axis point. ```APIDOC ## BaseRadius ### Description Accesses the base radius of the helix. This is always the distance between the start point and the axis point. ### Property Type double ### Conditions Read / Write ### Signature ```csharp public double BaseRadius; ``` ``` -------------------------------- ### DbHomeView Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_DbHomeView.md Initializes a new instance of the DbHomeView class with default settings. ```APIDOC ## DbHomeView Constructor ### Description Default constructor. ```csharp public DbHomeView(); ``` ``` -------------------------------- ### Get Scan View Information Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PointCloudEx.md Retrieves the origin location and extents of a specified scan item using its GUID. ```csharp public bool GetScanViewInfo( string scanGuid, out ValueType modopt(Point3d) modopt(IsBoxed) origin, out ValueType modopt(Extents3d) modopt(IsBoxed) extent ); ``` -------------------------------- ### DBVisualStyle Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_DBVisualStyle.md Initializes a new instance of the DBVisualStyle class with default settings. ```APIDOC ## DBVisualStyle Constructor ### Description Default constructor. ### Signature ```csharp public DBVisualStyle(); ``` ``` -------------------------------- ### AllUsersRootFolder Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_HostApplicationServices.md Gets the full path to the AutoCAD all users folder where shared files are installed. This can be overridden by DBX applications. ```APIDOC ## AllUsersRootFolder ### Description Returns the full path to the AutoCAD all users folder where the files shared by all users were installed. The default implementation is to return the directory where the EXE is located. This method can be overridden by DBX applications for their own install structure. ```csharp public virtual string AllUsersRootFolder; ``` #### Conditions Read/Write. ``` -------------------------------- ### Light Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Light.md Initializes a new instance of the Light class. ```APIDOC ## Light Constructor ### Description Default constructor. ### Signature ```csharp public Light(); ``` ``` -------------------------------- ### Section View Style Arrow Start Symbol ID Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_SectionViewStyle.md Gets or sets the ObjectId of the block table record used for the arrow start symbol in a section view. This ObjectId must correspond to an existing block record. ```text public ObjectId ArrowStartSymbolId; ``` -------------------------------- ### DoPrompt Method Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_Editor.md Carries out a prompt with the specified options and returns the result. ```csharp public PromptResult DoPrompt( PromptOptions opt ); ``` -------------------------------- ### StartUserInteraction(IntPtr) Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_Editor.md Starts user interaction with a window handle. ```APIDOC ## StartUserInteraction(IntPtr) ### Description Starts user interaction with a window handle. ### Method (Not specified, likely a method within the editor input class) ### Endpoint (Not applicable) ### Parameters - **handle** (IntPtr) - The handle of the window. ### Request Example (Not applicable) ### Response (Not specified) ``` -------------------------------- ### Access Helix Base Radius Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Helix.md Gets or sets the base radius of the helix. This is the distance between the start point and the axis point. ```csharp public double BaseRadius; ``` -------------------------------- ### IBLBackground Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_IBLBackground.md Initializes a new instance of the IBLBackground class. ```APIDOC ## IBLBackground Constructor ### Description Constructor. ### Signature ```csharp public IBLBackground(); ``` ``` -------------------------------- ### EndGuideCurveContinuity Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftedSurface.md Gets the continuity at the last guide. The value must be 0, 1, or 2, corresponding to G0, G1, or G2 continuity. ```APIDOC ## EndGuideCurveContinuity ### Description Gets the continuity at the last guide. 0, 1, or 2 which corresponds to G0, G1, or G2. ```csharp public int EndGuideCurveContinuity; ``` ### Conditions Read / write ``` -------------------------------- ### PromptIntegerOptions Constructors Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_PromptIntegerOptions.md Provides constructors for initializing PromptIntegerOptions with different parameters. ```APIDOC ## PromptIntegerOptions(string message) ### Description Constructor. ### Parameters - **message** (string) - Required - Input prompt message ## PromptIntegerOptions(string messageAndKeywords, string globalKeywords) ### Description Constructor. ### Parameters - **messageAndKeywords** (string) - Required - Input message and keywords - **globalKeywords** (string) - Required - Input global keywords ## PromptIntegerOptions(string messageAndKeywords, string globalKeywords, int lowerLimit, int upperLimit) ### Description Constructor. ### Parameters - **messageAndKeywords** (string) - Required - Input message and keywords - **globalKeywords** (string) - Required - Input global keywords - **lowerLimit** (int) - Required - Input lower limit - **upperLimit** (int) - Required - Input upper limit ``` -------------------------------- ### ModelType Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PlotSettings.md Gets a value indicating whether the named plot setup is a model space type or a paper space type. ```APIDOC ## ModelType Property ### Description Assesses whether a named plot setup is a model space type or a paperspace (layout) type. ### Property Type ```csharp public bool ModelType { get; } ``` ### Conditions Read-only ``` -------------------------------- ### JigPromptAngleOptions Constructor with Message and Keywords Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_JigPromptAngleOptions.md Initializes a new instance of the JigPromptAngleOptions class with a prompt message and global keywords. This allows for predefined options to be available to the user. ```csharp public JigPromptAngleOptions( string messageAndKeywords, string globalKeywords ); ``` -------------------------------- ### Spline End Fit Tangent Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Spline.md Gets the start and end point tangent vectors of the spline in WCS coordinates. This property is read-only. ```csharp public Vector3d EndFitTangent; ``` -------------------------------- ### LivePreviewCommand Execute Method Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewCommand.md Executes the live preview command. ```APIDOC ## Execute Method ### Description This is Execute, a member of class LivePreviewCommand. ```csharp public sealed override void Execute(); ``` ### Remarks This method is called to perform the action associated with the live preview command. ``` -------------------------------- ### StartGuideCurveMagnitude Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftedSurface.md Gets and sets the magnitude of the surface takeoff vector at the first guide. Setting this value recreates the surface and requires a non-negative value. ```APIDOC ## StartGuideCurveMagnitude ### Description Gets the magnitude of the surface takeoff vector at the first guide, magnitude of the surface takeoff vector at the first profile. Sets the magnitude of the surface takeoff vector at the first guide and recreates the surface (must be non-negative). ```csharp public double StartGuideCurveMagnitude; ``` ### Conditions Read / write ``` -------------------------------- ### StartGuideCurveContinuity Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftedSurface.md Gets the continuity at the first guide. The input value must be 0, 1, or 2, corresponding to G0, G1, or G2 continuity. ```APIDOC ## StartGuideCurveContinuity ### Description Gets the continuity at the first guide. Input new continuity (must be 0, 1, or 2). ```csharp public int StartGuideCurveContinuity; ``` ``` -------------------------------- ### LivePreviewDelegate Constructors Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewDelegate.md Provides constructors for initializing the LivePreviewDelegate with callback functions. ```APIDOC ## LivePreviewDelegate(LivePreviewCallback) ### Description Initializes a new instance of the LivePreviewDelegate class with a single action callback. ### Parameters - **actCallback** (LivePreviewCallback) - Required - The callback function to execute for the live preview action. ``` ```APIDOC ## LivePreviewDelegate(LivePreviewCallback, LivePreviewCallback) ### Description Initializes a new instance of the LivePreviewDelegate class with action and aborted callbacks. ### Parameters - **actCallback** (LivePreviewCallback) - Required - The callback function to execute for the live preview action. - **abortedCallback** (LivePreviewCallback) - Required - The callback function to execute when the live preview is aborted. ``` -------------------------------- ### EndGuideCurveMagnitude Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftedSurface.md Gets and sets the magnitude of the surface takeoff vector at the last guide. Setting this value recreates the surface and requires a non-negative value. ```APIDOC ## EndGuideCurveMagnitude ### Description Gets and sets the magnitude of the surface takeoff vector at the last guide, magnitude of the surface takeoff vector at the first profile. Sets the magnitude of the surface takeoff vector at the last guide and recreates the surface (must be non-negative). ```csharp public double EndGuideCurveMagnitude; ``` ### Conditions Read / write ``` -------------------------------- ### DoPrompt Method Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_Editor.md Carries out a prompt with the specified options and returns the result. ```APIDOC ## DoPrompt Method ### Description Carries out a prompt with the specified options. Returns the result of the prompt operation. ### Method ```csharp public PromptResult DoPrompt(PromptOptions opt); ``` ### Parameters #### Path Parameters - **opt** (PromptOptions) - Input options for the prompt ``` -------------------------------- ### PromptOpenFileOptions Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_PromptOpenFileOptions.md Initializes a new instance of the PromptOpenFileOptions class with a specified input prompt message. ```csharp public PromptOpenFileOptions( string message ); ``` -------------------------------- ### AxisVector Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Helix.md Gets or sets the vector representing the axis of the helix. This vector is always perpendicular to the line connecting the start point and the axis point. ```APIDOC ## AxisVector ### Description Accesses the vector for the axis of the helix. The vector is always perpendicular to the line joining the start point and the axis point. ### Property Type Vector3d ### Conditions Read / Write ### Signature ```csharp public Vector3d AxisVector; ``` ``` -------------------------------- ### Get Nearest Line Weight Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Database.md Takes a lineweight value and returns the nearest LineWeight enum value. For example, an input of 4 returns LineWeight005. ```csharp public Autodesk.AutoCAD.DatabaseServices.LineWeight GetNearestLineWeight( int weight ); ``` -------------------------------- ### Solid Constructor (4 Points) Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Solid.md Initializes a Solid using four specified points. All points must be in WCS coordinates. The normal vector is initialized to (0,0,1) and thickness to 0.0. ```csharp public Solid( Point3d pointer1, Point3d pointer2, Point3d pointer3, Point3d pointer4 ); ``` -------------------------------- ### LivePreviewAction Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewAction.md Initializes a new instance of the LivePreviewAction class with a delegate method and its arguments. ```APIDOC ## LivePreviewAction Constructor ### Description Initializes a new instance of the LivePreviewAction class. ### Signature ```csharp public LivePreviewAction(Delegate method, params object[] args) ``` ### Parameters * **method** (Delegate) - The delegate method to be executed for the live preview. * **args** (params object[]) - An array of objects representing the arguments to pass to the delegate method. ``` -------------------------------- ### Vertex2d StartWidth Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Vertex2d.md Gets or sets the start width for the vertex, used for the polyline segment from this vertex to the next. This value corresponds to DXF group code 40. ```csharp public double StartWidth; ``` -------------------------------- ### StartAngle Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_AssocArrayPolarParameters.md Gets or sets the starting angle for the polar array. The angle is measured in degrees. This property wraps the ObjectARX AcDbAssocArrayPolarParameters::startAngle and AcDbAssocArrayPolarParameters::setStartAngle methods. ```APIDOC ## StartAngle Property ### Description Wraps the ObjectARX [AcDbAssocArrayPolarParameters::startAngle](AcDbAssocArrayPolarParameters__startAngle@AcString_@AcString_@const.md)() and [AcDbAssocArrayPolarParameters::setStartAngle](AcDbAssocArrayPolarParameters__setStartAngle@double@AcString_@AcString_@AcString_.md)() methods. The angle is measured in degrees. ### Property Type ```csharp public double StartAngle; ``` ### Conditions Read / write ``` -------------------------------- ### Database Class Example Source: https://context7.com/shtirlitsdva/autocad-api-docs/llms.txt Demonstrates how to access the active document's database, read a header variable, create a new external database, add a line entity to model space, and save the database to a DWG file. ```APIDOC ## Database Class Example ### Description This example shows how to interact with the AutoCAD Database object. It covers accessing the current drawing's database, retrieving header variables like linetype scale, creating a new in-memory database, adding a simple Line entity to its Model Space, and finally saving this new database as a DWG file. ### Method C# Command Method ### Endpoint `EXAMPLE_DB` ### Parameters None ### Request Example ```csharp using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Runtime; [CommandMethod("EXAMPLE_DB")] public void DatabaseExample() { // Access the active document's database Document doc = Application.DocumentManager.MdiActiveDocument; Database db = doc.Database; // Read a header variable double ltScale = db.Ltscale; doc.Editor.WriteMessage($"\nLinetype scale: {ltScale}"); // Create a brand-new external database, populate it, and save as DWG using (Database newDb = new Database(true, false)) { // Enable undo recording (off by default on new Database) newDb.DisableUndoRecording(false); using (Transaction tr = newDb.TransactionManager.StartTransaction()) { BlockTable bt = (BlockTable)tr.GetObject( newDb.BlockTableId, OpenMode.ForRead); BlockTableRecord modelSpace = (BlockTableRecord)tr.GetObject( bt[BlockTableRecord.ModelSpace], OpenMode.ForWrite); // Add a line to the new database's model space using (Line line = new Line( new Point3d(0, 0, 0), new Point3d(100, 100, 0))) { modelSpace.AppendEntity(line); tr.AddNewlyCreatedDBObject(line, true); } tr.Commit(); } // Save to disk newDb.SaveAs(@"C:\Temp\output.dwg", DwgVersion.Current); } } ``` ### Response #### Success Response Prints the linetype scale to the command line and creates a new DWG file at `C:\Temp\output.dwg` containing a single line. #### Response Example ``` Linetype scale: 1.0 ``` ``` -------------------------------- ### Assoc2dConstraintCallback Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Assoc2dConstraintCallback.md Initializes a new instance of the Assoc2dConstraintCallback class. This is the default constructor. ```csharp public Assoc2dConstraintCallback(); ``` -------------------------------- ### Access Helix Axis Vector Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Helix.md Gets or sets the vector representing the helix's axis. This vector is always perpendicular to the line connecting the start point and the axis point. ```csharp public Vector3d AxisVector; ``` -------------------------------- ### PromptSelectionOptions Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_PromptSelectionOptions.md Initializes a new instance of the PromptSelectionOptions class. ```APIDOC ## PromptSelectionOptions Constructor ### Description Constructor. ### Signature ```csharp public PromptSelectionOptions(); ``` ``` -------------------------------- ### PathProfile Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftedSurface.md Gets the path profile used to create the surface, or null if no path was used. The returned object contains the guide entity and edge data if the profile is for an edge or set of edges. ```APIDOC ## PathProfile ### Description Gets the path profile that was used to create the surface, or null if no path was used. The returned object contains the guide entity and edge data if the profile is for an edge or set of edges. ```csharp public LoftProfile PathProfile; ``` ### Conditions Read-only ``` -------------------------------- ### StartParam Property Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Ellipse.md Accesses the new start parameter. This property is read/write. ```APIDOC ## StartParam ### Description Accesses the new start parameter ### Property ```csharp public double StartParam { get; set; } ``` ### Conditions Read / Write ``` -------------------------------- ### Get Plot Device List - PlotSettingsValidator Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PlotSettingsValidator.md Returns a collection of all available plot devices on the system. This list is built once per AutoCAD session. Call RefreshLists() if plot devices were added or removed after the session started. ```csharp public StringCollection GetPlotDeviceList(); ``` -------------------------------- ### PromptKeywordOptions Constructor with Message and Global Keywords Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_PromptKeywordOptions.md Initializes a new instance of the PromptKeywordOptions class with a message and global keywords. This is useful for providing predefined global commands that can be accessed at any time during the prompt. ```csharp public PromptKeywordOptions( string messageAndKeywords, string globalKeywords ); ``` -------------------------------- ### Access NoTwist Option Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftOptionsBuilder.md Gets or sets a boolean value that indicates whether to minimize twist in the resulting surface or solid, especially when cross-sections are closed. Defaults to true, aligning start points to reduce twist. ```csharp public bool NoTwist; ``` -------------------------------- ### Access DraftStart Magnitude Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftOptionsBuilder.md Gets or sets the magnitude of the surface tangent vector at the first cross-section. A value of 0 means the system will compute the optimum magnitude. This controls the influence of the draft angle at the start of the loft. ```csharp public double DraftStartMag; ``` -------------------------------- ### LivePreviewEventArgs Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewEventArgs.md Initializes a new instance of the LivePreviewEventArgs class. This constructor takes no arguments. ```csharp public LivePreviewEventArgs(); ``` -------------------------------- ### Access DraftStart Angle Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_LoftOptionsBuilder.md Gets or sets the draft angle in radians for the start of the loft surface. A value of 0 indicates the system will compute the optimum angle. This controls the surface take-off direction at the first cross-section. ```csharp public double DraftStart; ``` -------------------------------- ### Solid3d Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Solid3d.md Initializes a new instance of the Solid3d class. ```APIDOC ## Solid3d Constructor ### Description Constructor. ```csharp public Solid3d(); ``` ``` -------------------------------- ### Get Plot Style Sheet List - PlotSettingsValidator Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PlotSettingsValidator.md Returns an array of all available plot style tables on the system. This list is built once per AutoCAD session. Call RefreshLists() if plot style tables were added or removed after the session started. ```csharp public StringCollection GetPlotStyleSheetList(); ``` -------------------------------- ### SurfaceTrimInfo Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_SurfaceTrimInfo.md Initializes a new instance of the SurfaceTrimInfo class. ```APIDOC ## SurfaceTrimInfo() ### Description This wraps the ObjectARX [AcDbSurfaceTrimInfo::AcDbSurfaceTrimInfo]() method. ### Method Signature ```csharp public SurfaceTrimInfo(); ``` ``` -------------------------------- ### LivePreviewDelegate Constructor with Callback Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewDelegate.md Initializes a new instance of the LivePreviewDelegate class with a single action callback. This constructor is used when only the primary action needs to be defined. ```csharp public LivePreviewDelegate( LivePreviewCallback actCallback ); ``` -------------------------------- ### Get Canonical Media Name List - PlotSettingsValidator Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_PlotSettingsValidator.md Retrieves a collection of all available canonical media names for the plot device configured on the specified PlotSettings object. Call RefreshLists() if system plot devices have changed since the AutoCAD session started. ```csharp public StringCollection GetCanonicalMediaNameList( PlotSettings plotSet ); ``` -------------------------------- ### Scale Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_ViewBorder.md Gets the scale used by the model documentation view. The scale defines the relationship of units in paperspace to units in model space of the viewport. For example, a scale of 0.5 would indicate that 1 unit in the model space of the viewport maps to 0.5 units in paperspace. Return value is double. ```APIDOC ## Scale ### Description Gets the scale used by the model documentation view. The scale defines the relationship of units in paperspace to units in model space of the viewport. For example, a scale of 0.5 would indicate that 1 unit in the model space of the viewport maps to 0.5 units in paperspace. Return value is double. ### Remarks This property is read only. This property wraps the AcDbViewBorder::scale method. ### Example ```csharp double scale = viewborder.Scale; ``` ``` -------------------------------- ### DetailViewStyle Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_DetailViewStyle.md Initializes a new instance of the DetailViewStyle class. ```APIDOC ## DetailViewStyle Constructor ### Description Initializes a new instance of the DetailViewStyle class. ### Signature ```csharp public DetailViewStyle(); ``` ``` -------------------------------- ### Set Helix Axis Start Point Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Helix.md Sets the starting point of the helix's axis. Optionally moves the start point by the same offset. ```csharp public void SetAxisPoint( Point3d axisPoint, [MarshalAs(UnmanagedType.U1)] bool moveStartPoint ); ``` -------------------------------- ### PromptIntegerOptions Constructor with Message Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_PromptIntegerOptions.md Use this constructor to create an instance of PromptIntegerOptions with a custom prompt message. This is the most basic way to set up an integer prompt. ```csharp public PromptIntegerOptions( string message ); ``` -------------------------------- ### Get Runtime ID Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/fix_preview.html Gets the runtime ID of a database. ```APIDOC ## Get Runtime ID ### Description Gets the runtime ID of a given database. ### Parameters #### Path Parameters - **dataBase** (Database) - Required - Input Database of which to get its runtime ID. ``` -------------------------------- ### ImageBackground Constructor Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_ImageBackground.md Initializes a new instance of the ImageBackground class. ```APIDOC ## ImageBackground Constructor ### Description Default constructor. ### Signature ```csharp public ImageBackground(); ``` ``` -------------------------------- ### Create a Polyline with Arcs and Variable Widths Source: https://context7.com/shtirlitsdva/autocad-api-docs/llms.txt Demonstrates creating a closed lightweight polyline with four vertices, including an arc segment and variable start/end widths. Ensure the Polyline class and necessary geometry types are imported. ```csharp using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Geometry.Point2d; using Autodesk.AutoCAD.Runtime; [CommandMethod("EXAMPLE_PLINE")] public void PolylineExample() { Document doc = Application.DocumentManager.MdiActiveDocument; Database db = doc.Database; using (Transaction tr = db.TransactionManager.StartTransaction()) { BlockTable bt = (BlockTable)tr.GetObject(db.BlockTableId, OpenMode.ForRead); BlockTableRecord ms = (BlockTableRecord)tr.GetObject( bt[BlockTableRecord.ModelSpace], OpenMode.ForWrite); Polyline pline = new Polyline(); pline.SetDatabaseDefaults(); // Add 4 vertices (index, 2D point, bulge, startWidth, endWidth) pline.AddVertexAt(0, new Point2d(0, 0), 0, 0, 0); pline.AddVertexAt(1, new Point2d(100, 0), 0, 0, 0); pline.AddVertexAt(2, new Point2d(100, 100), 0.5, 0, 0); // arc from v2 to v3 pline.AddVertexAt(3, new Point2d(0, 100), 0, 0, 0); pline.Closed = true; // Variable width on segment 0→1 pline.SetStartWidthAt(0, 2.0); pline.SetEndWidthAt(0, 5.0); ms.AppendEntity(pline); tr.AddNewlyCreatedDBObject(pline, true); // Inspect doc.Editor.WriteMessage($"\nVertex count: {pline.NumberOfVertices}"); doc.Editor.WriteMessage($"\nHas bulges: {pline.HasBulges}"); doc.Editor.WriteMessage($"\nHas width: {pline.HasWidth}"); Point3d v2 = pline.GetPoint3dAt(2); doc.Editor.WriteMessage($"\nVertex 2 (3D): {v2}"); tr.Commit(); } } ``` -------------------------------- ### Access Ellipse Start Parameter Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Ellipse.md Read/write access to the start parameter of the ellipse. ```csharp public double StartParam; ``` -------------------------------- ### Get Meta Object Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_DatabaseServices_Database.md A member of the Database class used to get a DynamicMetaObject. ```csharp public DynamicMetaObject GetMetaObject( Expression parameter ); ``` -------------------------------- ### Build Database Summary Info Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/fix_preview.html Builds a DatabaseSummaryInfo object. ```APIDOC ## BuildDatabaseSummaryInfo ### Description Builds a DatabaseSummaryInfo object. ### Parameters #### Path Parameters - **value** (DatabaseSummaryInfo) - Input Autodesk.AutoCAD.DatabaseServices.DatabaseSummaryInfo object. ``` -------------------------------- ### LivePreviewEventArgs Constructor with Document and Parameters Source: https://github.com/shtirlitsdva/autocad-api-docs/blob/main/docs/data/Autodesk_AutoCAD_EditorInput_LivePreviewEventArgs.md Initializes a new instance of the LivePreviewEventArgs class with a specified document and parameters. This is useful when the event is associated with a particular document context. ```csharp public LivePreviewEventArgs( Autodesk.AutoCAD.ApplicationServices.Document document, params object[] parameters ); ```