000

Index Labels

Finding Polygon Intersection By Using MS SQL Server

.
When doing AutoCAD programming, especially when the target AutoCAD vertical is AutoCAD Map 3D/Civil 3D, we often need to find out if one polygon intersects with another polygon, and if yes, then we often need to get the derived polygon because of the intersection.

There seems there is no easy, ready to call API support in plain either AutoCAD, or AutoCAD Map/Civil.

There are quite a few well-known algorithms that can be found in the Internet, some even has code implementation, or available as compiled library.

However, if the AutoCAD working environment has a accessible MS SQL Server (2008 or later version), it would be very simple to take advantage of SQL Server's spatial capability to fulfill this task fairly simple and easy.

This article demonstrates how to use MS SQL Server's spatial functionality to calculate polygon intersection.

Since MS SQL Server's spatial capabilities are actually "add-in" to SQL Server. so the spatial capabilities can be used with or without SQL Server being involved. That is, our code can be set to direct reference to related DLLs and do the calculation; or our code can access SQL Server with necessary input and let the SQL Server do the calculation, then obtain the calculation result from the SQL Server.

Firstly, because I need to use 2 different ways to take advantage of SQL Server's spatial functionality, I decide to define an interface for AutoCAD to call. With this interface, if I later decide to use other polygon intersection algorithms to do the calculation, I can simply implement this interface, so that the code on AutoCAD side would not need change no matter what method is used to find polygon intersection. Here is the simple interface code:

using Autodesk.AutoCAD.Geometry;
namespace PolygonIntersection
{
    public interface IPolyIntersecCalculator
    {
        Point2dCollection GetPolygonIntersection(
            Point2dCollection polygonA, Point2dCollection polygonB);
    } 
}

This interface defines an method GetPolygonIntersection(), which effectively says: "Give me 2 collections of 2D points, representing 2 polygons, I'll return either a collection of 2D points, representing the intersection area, if the 2 polygons intersect to each other; or nothing if the 2 polygons do not intersect."

1. Use SQL Server to do the polygon intersection calculation

Now, let's see how to make SQL Server to do the calculation of finding polygon intersection. Here the code uses ADO.NET to directly access SQL Server to call a stored procedure, which is executed inside SQL Server. The input to the stored procedure call is 2 text values, representing 2 polygons (WKT - Well Known Text). Then SQL Server returns calculation result, which is also represented as WKT, back to the code in AutoCAD.

Here is the stored procedure that stored in a SQL Server database:

-- ============================================================================
-- Author: Norman Yuan
-- Create date: 2014-05-12
-- Description: This stored procedure uses Sql Server's
-- spatial computing capability to find out polygon's intersection. 
-- There is no data involved in an data table.
-- Inputs are 2 polygons described as WKT (Well-known text);
-- Output is WKT of geometry, being POLYGON, POINT, or 
-- GEOMETRYCOLLECTION EMPTY
-- ============================================================================
ALTER PROCEDURE [dbo].[SpatialComputing_GetPolygonIntersection]
@PolygonWKT1 nvarchar(max), 
@PolygonWKT2 nvarchar(max)
AS
BEGIN

SET NOCOUNT ON;

--Test data
/*
--Intersecting polygons, returns 'POLYGON((...))'
SET @PolygonWKT1='POLYGON((0 0, 2 0, 3 3, 0 2, 0 0))';
SET @PolygonWKT2='POLYGON((1 1, 3 1, 3 3, 1 3, 1 1))';
*/

/*
--polygons that do not intersecting to each other,
--but has overlapped point, returns 'POINT(...)'
SET @PolygonWKT1='POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))';
SET @PolygonWKT2='POLYGON((1 1, 2 1, 2 2, 1 2, 1 1))';
*/

/*
--polygons that do not intersecting to each other at all,
--returns 'GEOMETRYCOLLECTION EMPTY'
SET @PolygonWKT1='POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))';
SET @PolygonWKT2='POLYGON((2 2, 3 2, 3 3, 2 3, 2 2))';
*/

DECLARE @Polygon1 geometry
SET @Polygon1 = geometry::STPolyFromText(@polygonWKT1,0)

DECLARE @Polygon2 geometry
SET @Polygon2 = geometry::STPolyFromText(@polygonWKT2,0)

DECLARE @OutputPolygon geometry
SET @OutputPolygon = @Polygon1.STIntersection(@Polygon2)

DECLARE @OutputWKT geometry
SET @OutputWKT = @OutputPolygon.ToString()

SELECT @OutputWKT.ToString() AS OutputWKT
    
END

With the stored procedure created in a SQL Server database (and proper execution permission assigned), I can now write some simple ADO.NET code to access SQL Server and call this stored procedure easily.

Here is class PolyIntersecSqlServerBackEndCalculator, which implements IPolyIntersecCalculator:

using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Autodesk.AutoCAD.Geometry;

namespace PolygonIntersection
{
    public class PolyIntersecSqlServerBackEndCalculator : 
        IPolyIntersecCalculator
    {
        private string _connectionString;
        private string _procedureName;
        private string _inputParam1;
        private string _inputParam2;
        public PolyIntersecSqlServerBackEndCalculator(
            string connectionString, 
            string procedureName,
            string inputParamName1,
            string inputParamName2)
        {
            _connectionString = connectionString;
            _procedureName = procedureName;
            _inputParam1 = inputParamName1.StartsWith("@") ? 
                inputParamName1 : "@" + inputParamName1;
            _inputParam2 = inputParamName2.StartsWith("@") ? 
                inputParamName2 : "@" + inputParamName2;
        }

        public Point2dCollection GetPolygonIntersection(
            Point2dCollection polygonA, Point2dCollection polygonB)
        {
            return FindIntersectionPolygon(polygonA, polygonB);
        }

        #region private methods

        private Point2dCollection FindIntersectionPolygon(
            Point2dCollection polygonA, Point2dCollection polygonB)
        {
            Point2dCollection points = null;

            string wkt1 = GetPolygonWKTFromPoints(polygonA);
            string wkt2 = GetPolygonWKTFromPoints(polygonB);

            using (SqlConnection cn = new SqlConnection(_connectionString))
            {
                using (SqlCommand cmd = cn.CreateCommand())
                {
                    cmd.CommandType = CommandType.StoredProcedure;
                    cmd.CommandText = _procedureName;

                    cmd.Parameters.AddWithValue(_inputParam1, wkt1);
                    cmd.Parameters.AddWithValue(_inputParam2, wkt2);

                    try
                    {
                        cn.Open();
                        string outputWKT = (string)cmd.ExecuteScalar();
                        points = ParseOutputWKT(outputWKT);
                    }
                    catch
                    {
                        throw;
                    }
                    finally
                    {
                        if (cn.State == ConnectionState.Open) cn.Close();
                    }
                }
            }

            return points;
        }

        private string GetPolygonWKTFromPoints(Point2dCollection points)
        {
            StringBuilder coords = new StringBuilder();
            foreach (Point2d p in points)
            {
                coords.Append(p.X.ToString() + " " + p.Y.ToString() + ", ");
            }

            //Add the first point as the WKT's last point, indicaating
            //the geometry is a closed polygon
            coords.Append(
                points[0].X.ToString() + " " + points[0].Y.ToString());

            return "POLYGON((" + coords.ToString() + "))";
        }

        private Point2dCollection ParseOutputWKT(string wkt)
        {
            if (wkt.ToUpper().StartsWith("POLYGON"))
            {
                Point2dCollection points = new Point2dCollection();

                int pos = wkt.IndexOf("((");
                string temp = wkt.Substring(pos + 2).Replace("))""");
                string[] coords = temp.Trim().Split(',');
                foreach (var coord in coords)
                {
                    string[] val = coord.Trim().Split(' ');

                    Point2d p = new Point2d(
                        Convert.ToDouble(val[0]), Convert.ToDouble(val[1]));
                    points.Add(p);
                }

                return points;
            }
            else
            {
                return null;
            }
        }

        #endregion
    }
}

As you can see, the code does not do any calculation on polygon intersecting. It simply interprets the input and output to/from SQL Server from WKT into Point2dCollection. Naturally, if the SQL Server access is exposed through a service layer, I can simply swap the ADO.NET data access code with service access code. The point is that the polygon intersection calculation is done on the SQL Server side.

2. Use Microsoft.SqlServer.Types.dll to do polygon intersection calculation

We can directly call a .NET API exposed by Microsoft.SqlServer.Types.dll to calculate polygon intersection without SQL Server involved at all. This is because that SQL Server's spatial functionality is implemented independently from SQL Server. SQL Server uses it as add-in.

To use Microsoft.SqlServer.Types.dll, you need to add reference to it in the Visual Studio project:



More explanation later on setting reference to Microsoft.SqlServer.Types.dll and making it work outside SQL Server.

With Microsoft.SqlServer.Types namespace available, I created another class that implements IPolyIntersecCalculator, called PolyIntersecSqlServerSpatialLibCalculator:

using System;
using Microsoft.SqlServer.Types;
using Autodesk.AutoCAD.Geometry;

namespace PolygonIntersection
{
    public class PolyIntersecSqlServerSpatialLibCalculator :
        IPolyIntersecCalculator
    {
        public Point2dCollection GetPolygonIntersection(
            Point2dCollection polygonA, Point2dCollection polygonB)
        {
            return FindIntersectionPolygon(polygonA, polygonB);
        }

        #region private methods

        private Point2dCollection FindIntersectionPolygon(
            Point2dCollection polygonA, Point2dCollection polygonB)
        {
            Point2dCollection points = new Point2dCollection();

            SqlGeometry polygon1 = 
                CreateSqlPolygonGeometryFromPoint2ds(polygonA);
            polygon1.MakeValid();

            SqlGeometry polygon2 = 
                CreateSqlPolygonGeometryFromPoint2ds(polygonB);
            polygon2.MakeValid();

            //Debugging code
            string wktP1 = polygon1.ToString();
            string wktP2 = polygon2.ToString();

            SqlGeometry area = polygon1.STIntersection(polygon2);
            if (!area.IsNull)
            {
                if (area.STGeometryType().ToString().ToUpper() == "POLYGON")
                {
                    for (int i = 1; i <= area.STNumPoints(); i++)
                    {
                        SqlGeometry geoPoint = 
                            area.STPointN(Convert.ToInt32(i));

                        double x = geoPoint.STX.Value;
                        double y = geoPoint.STY.Value;
                        Point2d pt = new Point2d(x, y);
                        points.Add(pt);

                    }
                }
            }

            return points;
        }

        private static SqlGeometry CreateSqlPolygonGeometryFromPoint2ds(
            Point2dCollection points)
        {
            SqlGeometry geometry = null;

            SqlGeometryBuilder gb = new SqlGeometryBuilder();
            gb.SetSrid(0);
            gb.BeginGeometry(OpenGisGeometryType.Polygon);

            gb.BeginFigure(points[0].X, points[0].Y);

            for (int i = 1; i <= points.Count; i++)
            {
                if (i < points.Count)
                {
                    gb.AddLine(points[i].X, points[i].Y);
                }
                else
                {
                    gb.AddLine(points[0].X, points[0].Y);
                }
            }

            gb.EndFigure();

            gb.EndGeometry();
            geometry = gb.ConstructedGeometry;

            return geometry;
        }

        #endregion
    }
}

Following CommandClass MyCadCommands uses the 2 IPolyIntersecCalculator classes in action:

using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.Geometry;
using CadApp = Autodesk.AutoCAD.ApplicationServices.Application;
using CadDb = Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.GraphicsInterface;

[assemblyCommandClass(typeof(PolygonIntersection.MyCadCommands))]

namespace PolygonIntersection
{
    public class MyCadCommands
    {
        [CommandMethod("PolyIntersec")]
        public static void GetPolygonIntersection()
        {
            Document dwg = CadApp.DocumentManager.MdiActiveDocument;
            Editor ed = dwg.Editor;

            try
            {
                ObjectId polyId1 = PickPolygon(
                    ed, "Select a closed polyline:");
                if (polyId1.IsNull)
                {
                    ed.WriteMessage("\n*Cancel*");
                    return;
                }

                ObjectId polyId2 = PickPolygon(
                    ed, "Select another closed polyline:");
                if (polyId2.IsNull)
                {
                    ed.WriteMessage("\n*Cancel*");
                    return;
                }

                Point2dCollection polygonA = GetPolylineVertices(polyId1);
                Point2dCollection polygonB = GetPolylineVertices(polyId2);

                IPolyIntersecCalculator calculator = null;

                //Use SqlServerSpatial110.dll and 
                //its .NET wrapper Microsoft.SqlServer.Types.dll
                calculator = new PolyIntersecSqlServerSpatialLibCalculator();

                Point2dCollection interPolygon1 = 
                    calculator.GetPolygonIntersection(polygonA, polygonB);

                if (interPolygon1 != null)
                {
                    ShowIntersectionArea(interPolygon1, 
                        "Intersectiion area found by " +
                        "SqlServerSpatialLib calculator.");
                    ed.UpdateScreen();
                }

                //Use SqlServer DB backend
                string connection = "User ID=XXXXXX;" +
                    "Password=xxxx;Initial Catalog=" +
                    "[DatabaseName];Data Source=[ServerName]";
                string procedureName = 
                    "SpatialComputing_GetPolygonIntersection";
                string param1 = "PolygonWKT1";
                string param2 = "PolygonWKT2";
                calculator = new PolyIntersecSqlServerBackEndCalculator(
                    connection, procedureName, param1, param2);

                Point2dCollection interPolygon2 =
                    calculator.GetPolygonIntersection(polygonA, polygonB);

                if (interPolygon2 != null)
                {
                    ShowIntersectionArea(interPolygon2, 
                        "Intersection area found by " +
                        "SqlServerBackEnd calculator.");
                    ed.UpdateScreen();
                }
            }
            catch (System.Exception ex)
            {
                ed.WriteMessage("\nError: {0}\n{1}", ex.Message, ex.StackTrace);
            }
            finally
            {
                Autodesk.AutoCAD.Internal.Utils.PostCommandPrompt();
            }
        }

        #region private methods

        private static ObjectId PickPolygon(Editor ed, string message)
        {
            PromptEntityOptions opt = new PromptEntityOptions(
                "\n" + message);
            opt.SetRejectMessage("\nLnvalid pick: must be a polyline.");
            opt.AddAllowedClass(typeof(CadDb.Polyline), true);
            PromptEntityResult res = ed.GetEntity(opt);
            if (res.Status==PromptStatus.OK)
            {
                return res.ObjectId;
            }
            else
            {
                return ObjectId.Null;
            }
        }

        private static Point2dCollection GetPolylineVertices(
            ObjectId polylineId)
        {
            Point2dCollection points = new Point2dCollection();

            using (Transaction tran=
                polylineId.Database.TransactionManager.
                StartOpenCloseTransaction())
            {
                CadDb.Polyline pl = (CadDb.Polyline)tran.GetObject(
                    polylineId, OpenMode.ForRead);

                for (int i = 0; i < pl.NumberOfVertices; i++)
                {
                    points.Add(pl.GetPoint2dAt(i));
                }
                    
                tran.Commit();
            }

            return points;
        }

        private static void ShowIntersectionArea(
            Point2dCollection points, string msg)
        {
            Editor ed = CadApp.DocumentManager.MdiActiveDocument.Editor;

            using (CadDb.Polyline pl = CreatePolyline(points))
            {
                TransientManager ts = TransientManager.CurrentTransientManager;

                ts.AddTransient(
                    pl,
                    TransientDrawingMode.DirectTopmost,
                    128,
                    new IntegerCollection());

                ed.UpdateScreen();

                ed.GetString("\n" + msg + " Press any key to continue...");

                ts.EraseTransient(pl, new IntegerCollection());
            }
        }

        private static CadDb.Polyline CreatePolyline(Point2dCollection points)
        {
            CadDb.Polyline pl = new CadDb.Polyline(points.Count);
            for (int i=0; i<points.Count; i++)
            {
                pl.AddVertexAt(i, points[i], 0.0, 0.0, 0.0);
            }

            pl.Closed = true;
            pl.ColorIndex = 1;  //Show it in red

            return pl;
        }

        #endregion
    }
}

This video clip shows how the code works.

Now more about how to get Microsoft.SqlServer.Types.dll.

As a developer who does .NET programming, it is very likely the computer has a version of Visual Studio installed, and often also has a version of SQL Server (possible SQL Server Express) installed. In this case, Visual Studio's adding references dialog box should show Microsoft.SqlServer.Types in the list, as the picture above shows. However Microsoft.SqlServer.Types.dll is only a .NET assembly that wraps some native code that does the real heavy lifting work. That means, the second way of calculating polygon intersection works only if the computer has SQL Server (2008 or later) installed. Since Microsoft.SqlServer.Types.dll get installed into GAC due to SQL Server installation, in the Visual Studio project, the reference's "Copy Local" can be set to "False" (it is default to "False" anyway).

In reality, not all CAD computers would have a version of SQL Server installed for sure. In this case, we need to have a copy of Microsoft.SqlServer.Types.dll and the native DLL it wraps. What it is, then? It turned out that SqlServerSpatial.dll (SQL Server2008) or SqlServerSpatial110.dll (SQL Server 2012. I uses SqlServerSpatial110.dll here). To get both Microsoft.SqlServer.Types.dll and SqlServerSpatial110.dll installed to the computer, one can download Microsoft SQL Server 2012 Feature Pack, or find a copy of SqlServerSpatial11.dll in a computer that has SQL Server 2012 installed (in C:\Windows.System32 folder).

As for possible license issue of using these 2 DLLs, it is beyond the technical discussion and I'll leave it to user's discretion.

With these 2 DLLs available, make sure them to be build into the output of the project. That is, for the reference of Microsoft.SqlServer.Types.dll, its "Copy Local" should be set to "True"; and for the SqlServerSpatial110.dll, add it into the project and set "Copy to Output Directory" to "Copy always". See picture below:



So, after building the project, besides the AutoCAD add-in DLL in the bin folder, there are also both Microsoft.SqlServer.Types.dll and SqlServerSpatial110.dll. The 3 DLLs should go together to when used with other AutoCAD computers, no need to install SQL Server.

Download source code here.







Blog Archive

Labels

.NET Programming 2D Drafting 3D 3D Animation 3D Art 3D Artist 3D CAD 3D Character 3D design 3D design tutorial 3D Drafting 3D effects 3D Engineering 3D Lighting 3D Materials 3D Modeling 3D models 3D Navigation 3D presentation 3D Printing 3D rendering 3D scanning 3D scene 3D simulation 3D Sketch Inventor 3D Texturing 3D visualization 3D Web App 3ds Max 4D Simulation ACC Accessibility Adaptive Clearing adaptive components Add-in Development Additive Layers Additive Manufacturing Adobe Suite Advanced CAD features Advanced Modeling advanced plot styles Advanced Sketch AEC Industry AEC Technology AEC Tools AEC Workflow affordable Autodesk tools AI AI animation AI Assistance AI collaboration AI Design AI Design Tools AI Experts AI for Revit AI Guide AI in 3D AI in Architecture AI in CAD AI in CNC AI in design AI in engineering AI in Manufacturing AI in Revit AI insights AI lighting AI rigging AI Strategies AI Tips AI Tools AI Tricks AI troubleshooting AI workflow AI-assisted AI-assisted rendering AI-Assisted Workflow AI-enhanced AI-powered templates Alpha Lock Animation Animation Curves Animation Layers animation pipeline animation tips Animation Tutorial Animation workflow annotation Annotation Scaling annotation standards Annotations Apps Script AR Architectural AI Architectural CAD architectural design Architectural Drafting Architectural Drawing architectural drawings architectural modeling architectural preservation Architectural Productivity architectural visualization Architectural Workflow Architecture architecture CAD architecture design Architecture Engineering Architecture Firm Architecture Productivity architecture projects architecture software architecture technology Architecture Tips architecture tools Architecture Visualization Architecture Workflow Arnold Renderer Arnold Shader Art Basics Art Collaboration Art Organization Art Tutorial Artificial Intelligence As-Built Model assembly techniques Asset Management Audit Best Practices augmented reality Auto Rig Maya AutoCAD AutoCAD advice AutoCAD AI tools AutoCAD API AutoCAD automation AutoCAD Basics AutoCAD Beginner AutoCAD Beginners AutoCAD Blocks AutoCAD Civil 3D AutoCAD Civil3D AutoCAD commands AutoCAD efficiency AutoCAD Expert Advice AutoCAD features AutoCAD Fields AutoCAD File Management AutoCAD Guide AutoCAD Hub AutoCAD Layer AutoCAD Layers AutoCAD learning AutoCAD Optimization AutoCAD print settings AutoCAD productivity AutoCAD scripting AutoCAD Scripts AutoCAD Sheet Set tips AutoCAD Teaching AutoCAD Techniques AutoCAD Templates AutoCAD tips AutoCAD tools AutoCAD training. AutoCAD tricks AutoCAD Tutorial AutoCAD workflow AutoCAD Xref Autodesk Autodesk 2025 Autodesk 2026 Autodesk 3ds Max Autodesk AI Autodesk AI Tools Autodesk Alias Autodesk AutoCAD Autodesk BIM Autodesk BIM 360 Autodesk Certification Autodesk Civil 3D Autodesk Cloud Autodesk community forums Autodesk Construction Cloud Autodesk Docs Autodesk Dynamo Autodesk features Autodesk for Education Autodesk Forge Autodesk FormIt Autodesk Fusion Autodesk Fusion 360 Autodesk help Autodesk InfraWorks Autodesk Inventor Autodesk Inventor Frame Generator Autodesk Inventor iLogic Autodesk Knowledge Network Autodesk License Autodesk Maya Autodesk mistakes Autodesk Navisworks Autodesk news Autodesk plugins Autodesk productivity Autodesk Recap Autodesk resources Autodesk Revit Autodesk Software Autodesk support ecosystem Autodesk Takeoff Autodesk Tips Autodesk training Autodesk tutorials Autodesk update Autodesk Upgrade Autodesk Vault Autodesk Video Autodesk Viewer AutoLISP Automate automate drawing updates Automate Printing automate publishing automate repetitive tasks Automated Design automated publishing Automated Sheets Automation Automation in AutoCAD Automation Tools Automation Tutorial automotive design automotive visualization B&W Printing Backup Basic Commands Basics batch drawing validation Batch Plot Batch Plotting Batch Printing Batch Rename Beginner beginner CAM Beginner Tips Beginner to Pro beginner tutorial beginners guide Bend Tools Best Practices Big Data BIM BIM 360 BIM Challenges BIM collaboration BIM Compliance BIM Coordination BIM Data BIM Design BIM Efficiency BIM for Infrastructure BIM Implementation BIM Library BIM Management BIM modeling BIM software BIM Standardization BIM Standards BIM technology BIM Tips BIM tools BIM Trends BIM workflow Block Editor Block Management Block Organization Blueprint Tips Boolean Operations Building design Building Design Software Building Efficiency Building Maintenance building modeling Building Systems Building Technology business tools ByLayer CAD CAD API CAD assembly CAD Automation CAD best practices CAD Blocks CAD CAM CAD Cleanup CAD collaboration CAD commands CAD comparison CAD consistency CAD Customization CAD Data Management CAD Design CAD drawing checks CAD efficiency CAD errors CAD Evolution CAD file management CAD File Size Reduction CAD Handover CAD Integration CAD Learning CAD libraries CAD line thickness CAD management CAD Migration CAD mistakes CAD modeling CAD Optimization CAD organization CAD Oversight CAD plugins CAD Productivity CAD project management CAD Projects CAD Rendering CAD Revisions CAD Scripting CAD Security CAD Sheet Management CAD sheet sets CAD Shortcuts CAD Skills CAD software CAD software 2026 CAD software training CAD standardization CAD standards CAD Tables CAD team CAD teams CAD technology CAD templates CAD Tips CAD Tools CAD Tracking CAD tricks CAD Tutorial CAD version control CAD workflow CAD workflow optimization CAD workflows CAM CAM Best Practices CAM for beginners CAM Optimization CAM simulation CAM strategies CAM Tips CAM tutorial CAM Workflow car design software Case Study central hub Central Hub Solutions centralized commands centralized documentation centralized management Centralized Sheet Set centralizing CAD CEO Guide CG Workflow CGI CGI design Character Animation Character Rig Character Rigging CI/CD cinematic lighting Civil 3D Civil 3D hidden gems Civil 3D productivity Civil 3D tips civil design software civil engineering Civil engineering software Clash Detection Class-A surfacing Clean Architecture clean CAD file Clean Code cleaning command Clear Output client engagement Cloth Simulation Cloud CAD cloud CAD storage Cloud Collaboration Cloud design platform Cloud Engineering Cloud Management Cloud Storage Cloud-Based CAD Cloud-First CMYK CNC CNC machining Coding Standards Coding Techniques Cognitive Load collaboration collaboration in CAD Collaboration Tips Collaboration Tools Collaborative CAD collaborative design Collaborative Drafting Color Coding color management Color Standards Color Theory command abbreviations Complex Projects Complex Renovation concept car conceptual workflow Connected Design construction Construction Analytics Construction Automation Construction BIM Construction Cloud construction documentation construction drawings construction management Construction Phases Construction Planning Construction Project Construction Projects Construction Scheduling Construction Technology construction tools construction tracking Contractor contractor tools Contractor Workflow Contraints corridor design Cost Effective Design cost estimation Create resizable blocks Creative Process Creative Teams creative tools CSS Filters CTB CTB STB Custom Hatch Custom Properties custom scripts custom tool palettes Custom visual styles Cutting Parameters Cybersecurity Data Backup Data Extraction data management Data Protection Data Reference Data Security Data Shortcut Data Sync Data Visualization deadline tracking Deep Work Demolition Dependency Rules Design Design Automation Design Best Practices Design Career Design Collaboration Design Communication Design Comparison Design consistency Design Coordination Design Documentation design efficiency Design Engineering design errors Design Hacks Design Handoff Design Innovation Design Intent design management Design Ops design optimization Design Options Design Organization Design Oversight Design Principles Design Process design productivity Design Quality design review Design Reviews design revisions Design Rules design software design software tips design standardization design standards Design System Design Systems Design Teams Design Techniques Design Technology design templates design tips Design Tools design tracking Design Tutorials Design Workflow design-to-construction Designer designer hacks Designer Tools Designer Workflow Development Workflow DevOps Digital Art Digital Art Techniques Digital Art Tips Digital Assets Digital Construction Digital Construction Technology Digital Content Digital Design Digital Documentation Digital Drafting digital drawing Digital engineering digital fabrication Digital Illustration Digital Library Digital Manufacturing digital marketing digital takeoff Digital Thread Digital Tools Digital Transformation Digital Twin Digital Twins digital workflow dimension dimension styles dimensioning Disaster Recovery document management Document Organization Documentation Documentation Control drafting drafting automation Drafting Best Practices Drafting Efficiency Drafting Guide Drafting productivity Drafting Shortcuts Drafting Standards Drafting Techniques Drafting Tips drafting tools Drafting Tricks Drafting Tutorials Drafting Workflow Drawing Drawing Accuracy Drawing Automation drawing consistency Drawing Coordination Drawing Depth Drawing for Beginners drawing management Drawing Organization drawing revisions Drawing Security Drawing standards Drawing Techniques drawing templates drawing tips Dref DST File DWG Compare DWG files DXF Export Dynamic Block Dynamic Block AutoCAD Dynamic Blocks dynamic data management Dynamic doors Dynamic Lists Dynamic windows Dynamics Dynamics Simulation Dynamo Dynamo automation early stage design eco design editing commands Educational Tech Efficiency efficient CAD efficient project management Electrical Systems Emerging Features Energy Analysis energy efficiency Energy Simulation Engineering Engineering Automation engineering CAD Engineering Collaboration Engineering Consultants engineering data Engineering Design Engineering Documentation Engineering Drawing engineering drawings engineering efficiency Engineering Guidelines Engineering Innovation Engineering Productivity engineering projects Engineering Skills engineering software Engineering Standards Engineering Teams Engineering Technology engineering tips engineering tools Engineering Tools 2025 Engineering Workflow Error Reduction Excel Excel Tips Export Workflow Express Tools External Reference Fabric Simulation facial animation Facial Rigging Facility Management Families Fast Structural Design faster delivery Field Documentation Fields Figma Best Practices Figma Tips file auditing File Management file naming File Optimization File Recovery Fire Flame flange tips flat pattern Fluid Effects Fluid Simulation Focus Tips Forge Development Forge Viewer FreeCAD Frontend Development Fusion 360 Fusion 360 API Fusion 360 guide Fusion 360 Tips Fusion 360 tutorial Future of Design Future Skills Game Design Game Development Game Effects Gamification Generative Design Geospatial Data GIS GitHub Actions Global design teams global illumination Google Apps Script Google Sheets GPU Acceleration grading optimization Graph Editor Graphic Design Graphic Design Tips Graphic Optimization Green Architecture green building Green Technology Grips Handoff Hatch Patterns HDRI health check Healthcare Facilities heavy CAD file Heavy CAD Files heritage building conservation hidden commands Hospital Design Hub Workflows HVAC HVAC Design Tools HVAC Engineering HVAC Optimization Hydraulic Modeling IK/FK Illustration Techniques Illustration Tips Illustration Tutorial iLogic Import Workflow Industrial Design Industry 4.0 Infrastructure Infrastructure as Code infrastructure design Infrastructure Monitoring Infrastructure Planning Infrastructure Technology InfraWorks innovation Insight Intelligent AutoCAD Hub Intelligent automation Intelligent Design intelligent modeling Intelligent Repetition Control Intelligent Sheet Management Intelligent Sheet Sets intelligent tools Intelligent Workflow Interactive Design interactive presentation Interior Design Inventor Inventor API Inventor Drawing Template Inventor Frame Generator Inventor Graphics Issues Inventor IDW Inventor Tips Inventor Tutorial IoT ISO 19650 ISO9001 joints Keyboard Shortcuts keyframe animation Keyframe generation Knowledge Management Landscape Design Large Assemblies Large Projects Laser Scan Layer Cleanup Layer Control layer conventions Layer Hierarchy Layer Isolation Layer Lock Layer Locking Layer Management Layer Naming Layer Organization Layer Rules layer standards Layer States Layered Architecture Layered Design Layered Process Audits Layered System Layered Systems Layering Techniques Layout Management layouts Leadership Lean Manufacturing Learn AutoCAD Learning Design Legacy CAD Legacy Drawings Library components Licensing light techniques Lighting Lighting and shading Lighting Techniques Line Weights lineweight Lineweight Tutorial Lineweights Linked Models Linking Drawings Liquid LISP Routines Locked Layers Machine Learning Machine Learning in CAD Machine Optimization Machining Efficiency machining productivity Macros maintenance command Manage multiple projects from a single hub with a centralized project management system that improves collaboration Management manual plotting manufacturing Manufacturing Innovation Manufacturing Technology Mapping Technology marketing visuals master sheet index Master Template Material Creation Material Libraries Matplotlib Maya Maya Animation Maya character animation Maya lighting Maya Python Maya Rigging Maya Shader Maya Tips Maya tutorial Maya Workflow measurement Mechanical Design Mechanical Engineering Media & Entertainment Mental Health MEP MEP Modeling Mesh-to-BIM Metal Fabrication Metal Structure milestone tracking Minimalism in Design Minimizing Mistakes modal analysis Model Clarity Model Management Model Optimization model space Modeling Secrets Modular Housing Monitoring Progress Motion capture Motion Design motion graphics motion simulation MotionBuilder Multi Office Workflow multi-axis machining Multi-Body Modeling Multi-Discipline Multi-Discipline Design Multi-Project Multi-Project Management Multi-Scale Drawings Multi-user Collaboration Multi-User Environment multileader multiple sheet sets naming convention Navisworks Navisworks Best Practices nCloth Net Zero Design New Construction Object Selection ObjectARX .NET API Office Templates Open Source CAD Optimization Organization Outsourcing OVERKILL OVERKILL AutoCAD Override Layers Page Setup Palette paper space Parallel Development parametric assembly Parametric Components Parametric Constraints parametric design parametric family Parametric Modeling particle effects particle systems PBR Workflow PDF PDF Export PDF Plotting PDF Publishing PDM system Personal Brand Phase Filters Phasing Photo Editing photorealism Photorealistic photorealistic render PlanGrid plot automation Plot Errors Plot Settings Plot Style Plot Style AutoCAD plot styles Plotting Plotting automation Plugin Tutorial Plumbing Design PM Tools point cloud Portfolio Post Construction Post-Processing Practice Drawing Pre-submission precision machining preconstruction workflow predictive analysis predictive animation Predictive Maintenance Predictive rigging Prefabrication Preloaded families Presentation-ready visuals Preventing Rework Print Accuracy Print Automation Printing Printing Quality Printing Tips Problem Solving Procedural animation procedural motion Procedural Rig Procedural Textures Process Improvement Product Design Product Development product lifecycle product rendering Product Visualization Productivity productivity and workflow efficiency. productivity tips productivity tools Professional 3D design Professional CAD Professional Development Professional Drafting Professional Drawings professional printing Professional Skills Professional Standards Professional Tips Professional Workflow Programming Programming Tips progress management Project Accuracy project automation Project Collaboration project consistency Project Coordination project dashboard Project Documentation project efficiency Project Goals Project Linking project management Project Management Tools project milestones Project Monitoring project organization Project Oversight project planning Project Progress project quality project timeline project tracking Project Visualization project workflow PTC Creo Publish Drawings PURGE PURGE AutoCAD Python Python Scripting Quality Control Rail Transit Rapid Prototyping Realism realistic rendering realistic scenes ReCap Redshift Shader reduce CAD errors reduce CAD file size Reduce Errors reduce manual updates Reducing redundancy Redundant Work Render Render Optimization Render Passes Render Quality Render Settings render tips Rendering rendering engine Rendering Engines Rendering Optimization rendering settings rendering software Rendering Techniques Rendering Tips Rendering Workflow RenderMan Renewable Energy Renovation Project Renovation Workflow repetition-free workflow repetitive drawing Repetitive Elements repetitive-free Reports Resizable Block restoration workflow Reusable Components Revision Control Revision Management Revision Tracking Revision Workflow Revit Revit add-ins Revit API Revit automation Revit Best Practices Revit Collaboration Revit Documentation Revit Family Revit integration Revit MEP Revit Performance Revit Phasing Revit plugin Revit Plugins Revit Scripting Revit skills Revit Standards Revit Strategies Revit Structure Revit Tags Revit Template Revit templates Revit Tips Revit tutorial Revit Workflow Ribbon Rigging Rigid Body robotics ROI Role Definition Room planning save hours of work Save Time save time CAD Scalability Scale Autodesk Schedules screen Scripts Sculpting Seamless Linking Secure Collaboration Self Improvement Sensor Data SEO SEO Guide Shader Networks Shaders Shared Files Sheet List Table sheet management Sheet Metal Sheet Metal Design Sheet Metal Tricks Sheet organization sheet set Sheet Set Automation Sheet Set Efficiency Sheet Set fields Sheet Set Index Sheet Set Management Sheet Set Manager Sheet Set Optimization Sheet Set Organization Sheet Set Properties Sheet Set Software Sheet Set Standards Sheet Set Strategy Sheet Set Tips Sheet Set Tools Sheet Sets sheet sets workflow Sheets shortcut keys Shortcuts Siemens NX Simulation simulation tools Sketch Sketching for Beginners Sketching Tricks Small Firms Smart Architecture Smart Block Smart Building Design Smart CAD smart CAD tools Smart City Smart Design smart dimensioning Smart Engineering Smart Factory Smart Infrastructur Smart Project Smart Sheet Management Smart Sheet Set Tools Smart Sheet Sets Smart Workflows Smoke Soft Body Software Architecture Software Compliance Software Design Software Development software ecosystem Software Engineering Software Hacks Software Management Software Performance Software Trends software troubleshooting Software Update Solar Energy Solar Panels SolidWorks Space planning Spreadsheet Automation Spreadsheet Tips SSM standard part libraries Standardization Standardize Standardized Layers standardized templates Startup Design static stress STB Steel Structure Design Stress-Free Structural Design Structural Modeling Structural Optimization subscription model Subscription Value surface finish Surface Modeling sustainability sustainable design Sustainable Manufacturing System Architecture system performance T-Spline task management team collaboration Team Efficiency Team Management Team Productivity Team Projects Team Scalability Team Training team training guide Tech Leadership Tech Teams Tech Tips Tech Tutorial technical documentation Technical Drafting Technical Drawing Technical Illustration technical support Technical Writing Template management Template Setup Template usage templates text settings text style Texture Mapping Texturing thermal analysis time efficiency Time Management time saving tools time savings time-saving time-saving tools Title Block title block automation Title Blocks Tool Libraries Tool Management Tool Palette Guide toolbar toolpath Toolpath Optimization Toolpaths Topography Track Track changes Troubleshooting Tutorial Tutorials UI Design UI UX Design UI UX Tips UI/UX UI/UX Workflow Unfolding Techniques urban planning User Interface (UI) UV Mapping UV Unwrap UX Best Practices UX Research UX Strategy UX UI Design UX Workflow V-Ray Vault Best Practices Vault Lifecycle Vault Mistakes Vector Plotting vehicle modeling version control VFX View Filters Viewport configuration viewports Virtual Environments virtual reality Visual Communication visual effects Visual Hierarchy Visual Organization visualization workflow VR VR Tools VRED Water Infrastructure Water Management Web Design Web Development WebGL Weight Painting What’s New in Autodesk Wind Energy Wind Turbines Workbook workflow Workflow Automation workflow efficiency Workflow Optimization Workflow Tips Worksets Worksharing Workspace XLS Xref Xref Management Xref Tips Xrefs เขียนแบบ