000

Index Labels

Customizing Object Snap: Take Two - Using CustomObjectSnapMode And Glyph

.
This is the second article on the topic of customizing Object Snap in AutoCAD. The first article is here, if you have not read it.

The class Autodesk.AutoCAD.DatabaseServices.CustomObjectSnapMode provides a way to customize object snapping through an user defined class that is derived from an abstract class Autodesk.AutoCAD.GraphicsInterface.Glyph. Since I did not keep ObjectARX SDK documents older than AutoCAD 2010, I cannot say for sure, but fairly certain that the two classes have been available in AutoCAD .NET API from beginning (AutoCAD2005/6). So, until Overrule was available since AutoCAD 2010, people can only use these 2 classes to do object snapping customization.

Basically, we use a custom Glyph class to draw a geometry shape at object snap point, and use CustomObjectSnapMode class to control where the snap points should be.

Here is the class that derived from Glyph, in which CustomObjectSnapMode class is wrapped in order to make the code easy to use:

    1 using System;
    2 using Autodesk.AutoCAD.DatabaseServices;
    3 using Autodesk.AutoCAD.GraphicsInterface;
    4 using Autodesk.AutoCAD.Geometry;
    5 using Autodesk.AutoCAD.Runtime;
    6 
    7 namespace MeasureWithSnap
    8 {
    9     public class MeasureOsnap : Glyph
   10     {
   11         private enum MeasureOsnapType
   12         {
   13             Measure = 0,
   14             Divide = 1,
   15         }
   16 
   17         private static MeasureOsnap _instance = null;
   18         private int _segmentNumber = 1;
   19         private double _segmentLength = 0.0;
   20         private MeasureOsnapType _snapType = MeasureOsnapType.Measure;
   21         private bool _started = false;
   22 
   23         private const string LOCAL_MODEL_STRING = "MeasureSnap";
   24         private const string GLOBAL_MODEL_STRING = "_MeasureSnap";
   25         private const string TOOL_TIP_STRING = "Measure and/or Divide snapping";
   26 
   27         private CustomObjectSnapMode _snapMode;
   28 
   29         private ObjectId _entId = ObjectId.Null;
   30         private Point3d _point;
   31 
   32         public static MeasureOsnap Instance
   33         {
   34             get
   35             {
   36                 if (_instance == null) _instance = new MeasureOsnap();
   37                 return _instance;
   38             }
   39         }
   40 
   41         public void StartMeasureSnap(ObjectId entId, double segmentLength)
   42         {
   43             if (_started) return;
   44 
   45             _segmentLength = segmentLength;
   46             _entId = entId;
   47             _snapType = MeasureOsnapType.Measure;
   48             _snapMode = CreateCustomObjectSnapMode();
   49 
   50             _started = true;
   51         }
   52 
   53         public void StartDivideSnap(ObjectId entId, int segmentNumber)
   54         {
   55             if (_started) return;
   56 
   57             _segmentNumber = segmentNumber;
   58             _entId = entId;
   59             _snapType = MeasureOsnapType.Divide;
   60             _snapMode = CreateCustomObjectSnapMode();
   61 
   62             _started = true;
   63         }
   64 
   65         public void StopSnap()
   66         {
   67             if (!_started) return;
   68 
   69             RemoveCustomObjectSnapMode();
   70 
   71             _started = false;
   72         }
   73 
   74         #region Overriding base class methods
   75 
   76         public override void SetLocation(Point3d point)
   77         {
   78             _point = point;
   79         }
   80 
   81         protected override void SubViewportDraw(ViewportDraw vd)
   82         {
   83             //Draw a square polygon at snap point
   84             Point2d gSize = vd.Viewport.GetNumPixelsInUnitSquare(_point);
   85             double gHeight = CustomObjectSnapMode.GlyphSize / gSize.Y;
   86             Matrix3d dTOw = vd.Viewport.EyeToWorldTransform;
   87 
   88             Point3d[] gPts =
   89             {
   90                 new Point3d(
   91                     _point.X - gHeight/2.0,
   92                     _point.Y - gHeight/2.0,
   93                     _point.X).TransformBy(dTOw),
   94                 new Point3d(
   95                     _point.X + gHeight/2.0,
   96                     _point.Y - gHeight/2.0,
   97                     _point.X).TransformBy(dTOw),
   98                 new Point3d(
   99                     _point.X + gHeight/2.0,
  100                     _point.Y + gHeight/2.0,
  101                     _point.X).TransformBy(dTOw),
  102                 new Point3d(
  103                     _point.X - gHeight/2.0,
  104                     _point.Y + gHeight/2.0,
  105                     _point.X).TransformBy(dTOw),
  106             };
  107 
  108             vd.Geometry.Polygon(new Point3dCollection(gPts));
  109 
  110             ////-----------------------------------------------------------
  111             ////If you want to draw a circle at snap point,
  112             ////simply comment out above code and
  113             ////uncomment code below
  114             ////-----------------------------------------------------------
  115             //Point2d gSize = vd.Viewport.GetNumPixelsInUnitSquare(_point);
  116             //double dia = CustomObjectSnapMode.GlyphSize / gSize.Y;
  117             //vd.Geometry.Circle(_point, dia / 2.0, Vector3d.ZAxis);
  118         }
  119 
  120         #endregion
  121 
  122         #region private methods of creating CustomObjectSnapMode object
  123 
  124         protected CustomObjectSnapMode CreateCustomObjectSnapMode()
  125         {
  126             CustomObjectSnapMode snap = new CustomObjectSnapMode(
  127                         LOCAL_MODEL_STRING, GLOBAL_MODEL_STRING,
  128                         TOOL_TIP_STRING, Instance);
  129 
  130             Type t = GetEntityType();
  131 
  132             snap.ApplyToEntityType(
  133                 RXClass.GetClass(t), AddMeasureObjectSnapInfo);
  134 
  135             CustomObjectSnapMode.Activate(GLOBAL_MODEL_STRING);
  136 
  137             return snap;
  138         }
  139 
  140         protected void RemoveCustomObjectSnapMode()
  141         {
  142             CustomObjectSnapMode.Deactivate(GLOBAL_MODEL_STRING);
  143 
  144             Type t = GetEntityType();
  145             _snapMode.RemoveFromEntityType(RXClass.GetClass(t));
  146             _snapMode.Dispose();
  147             _snapMode = null;
  148 
  149             _segmentLength = 0.0;
  150             _segmentNumber = 1;
  151         }
  152 
  153         protected void AddMeasureObjectSnapInfo(
  154             ObjectSnapContext context, ObjectSnapInfo result)
  155         {
  156             if (context.PickedObject.ObjectId != _entId) return;
  157 
  158             if (_snapType == MeasureOsnapType.Measure)
  159             {
  160                 if (_segmentLength <= 0.0) return;
  161             }
  162 
  163             if (_snapType == MeasureOsnapType.Divide)
  164             {
  165                 if (_segmentNumber < 2) return;
  166             }
  167 
  168             Curve curve = (Curve)context.PickedObject;
  169 
  170             Point3dCollection points = result.SnapPoints;
  171             points.Clear();
  172 
  173             //Add snap point at start point
  174             points.Add(curve.StartPoint);
  175 
  176             double length = curve.GetDistanceAtParameter(curve.EndParam);
  177 
  178             //get each segment length
  179             double segLength = _snapType == MeasureOsnapType.Measure ?
  180                 _segmentLength : length / _segmentNumber;
  181 
  182             //Add snap points. If the curve is closed. Obviously
  183             //the snap points at start point and end point will
  184             //be overlapped in the case of Divide-Snap
  185             double l = segLength;
  186             while (l <= length)
  187             {
  188                 Point3d pt = curve.GetPointAtDist(l);
  189                 points.Add(pt);
  190 
  191                 l += segLength;
  192             }
  193         }
  194 
  195         #endregion
  196 
  197         #region private methods
  198 
  199         private Type GetEntityType()
  200         {
  201             Type t;
  202             switch (_entId.ObjectClass.DxfName.ToUpper())
  203             {
  204                 case "CIRCLE":
  205                     t = typeof(Circle);
  206                     break;
  207                 case "ARC":
  208                     t = typeof(Arc);
  209                     break;
  210                 case "LINE":
  211                     t = typeof(Line);
  212                     break;
  213                 default:
  214                     t = typeof(Autodesk.AutoCAD.DatabaseServices.Polyline);
  215                     break;
  216             }
  217 
  218             return t;
  219         }
  220 
  221         #endregion
  222     }
  223 }

The same as I did in previous article, in order to simplify the calculation of measuring/dividing points, I deliberately limit the applied entity types only to Line, Polyline, Arc and Circle. The code itself is just as simple as the custom OsnapOverrule class in my previous article.

Here is the code to use the MeasureOSnap class, which is exactly the same as the command class in previous article, except for the substituting MeasureOsnapOverrule with MeasureOSnap:

    1 using Autodesk.AutoCAD.ApplicationServices;
    2 using Autodesk.AutoCAD.DatabaseServices;
    3 using Autodesk.AutoCAD.EditorInput;
    4 using Autodesk.AutoCAD.Runtime;
    5 
    6 [assembly: CommandClass(typeof(MeasureWithSnap.MeasureWithSnapCommands))]
    7 
    8 namespace MeasureWithSnap
    9 {
   10     public class MeasureWithSnapCommands
   11     {
   12         private static string _snapType = "Measure";
   13 
   14         [CommandMethod("MyCustomSnap")]
   15         public static void RunMyOverruledSnap()
   16         {
   17             Document dwg = Application.DocumentManager.MdiActiveDocument;
   18             Editor ed = dwg.Editor;
   19 
   20             //Pick entity to show snap for measuring or dividing
   21             ObjectId selectedId = GetSanpEntity(ed);
   22 
   23             if (selectedId == ObjectId.Null)
   24             {
   25                 OnCommandCancelled();
   26                 return;
   27             }
   28 
   29             if (_snapType == "Measure")
   30             {
   31                 //Get segment length
   32                 PromptDoubleOptions dop = new PromptDoubleOptions(
   33                     "\nEnter segment length: ");
   34                 dop.AllowNegative = false;
   35                 dop.AllowNone = false;
   36                 dop.AllowZero = false;
   37 
   38                 PromptDoubleResult dres = ed.GetDouble(dop);
   39                 if (dres.Status != PromptStatus.OK)
   40                 {
   41                     OnCommandCancelled();
   42                     return;
   43                 }
   44 
   45                 //Start Measure-Snap
   46                 MeasureOsnap.Instance.StartMeasureSnap(
   47                     selectedId, dres.Value);
   48             }
   49             else
   50             {
   51                 //Get segment count
   52                 PromptIntegerOptions iop = new PromptIntegerOptions(
   53                     "\nEnter segment count: ");
   54                 iop.AllowNegative = false;
   55                 iop.AllowNone = false;
   56                 iop.AllowZero = false;
   57 
   58                 PromptIntegerResult ires = ed.GetInteger(iop);
   59                 if (ires.Status != PromptStatus.OK)
   60                 {
   61                     OnCommandCancelled();
   62                     return;
   63                 }
   64 
   65                 //Start Divide-Snap
   66                 MeasureOsnap.Instance.StartDivideSnap(
   67                     selectedId, ires.Value);
   68             }
   69 
   70             //Obtain point when taking advantage of
   71             //Measure or Divide-Snap
   72             PromptPointOptions pOp = new PromptPointOptions(
   73                 "\nPick point: ");
   74             PromptPointResult pres = ed.GetPoint(pOp);
   75             if (pres.Status == PromptStatus.OK)
   76             {
   77                 ed.WriteMessage("\nPoint: X={0}, Y={1}",
   78                     pres.Value.X, pres.Value.Y);
   79             }
   80             else
   81             {
   82                 ed.WriteMessage("\n*Cancel*");
   83             }
   84 
   85             //Stop the overrule
   86             MeasureOsnap.Instance.StopSnap();
   87 
   88             Autodesk.AutoCAD.Internal.Utils.PostCommandPrompt();
   89         }
   90 
   91         private static ObjectId GetSanpEntity(Editor ed)
   92         {
   93             ObjectId entId = ObjectId.Null;
   94 
   95             while (true)
   96             {
   97                 string keyword =
   98                     _snapType == "Measure" ? "Divide" : "Measure";
   99 
  100                 PromptEntityOptions opt = new PromptEntityOptions(
  101                     "\nPick a line/polyline/arc/circle to show " +
  102                     _snapType + "-Snap:");
  103                 opt.SetRejectMessage(
  104                     "\nInvalid pick: must be a line/polyline/arc/circle.");
  105                 opt.AddAllowedClass(typeof(Line), true);
  106                 opt.AddAllowedClass(typeof(Polyline), true);
  107                 opt.AddAllowedClass(typeof(Arc), true);
  108                 opt.AddAllowedClass(typeof(Circle), true);
  109                 opt.AllowNone = true;
  110                 opt.Keywords.Add(keyword);
  111                 opt.Keywords.Default = keyword;
  112                 opt.AppendKeywordsToMessage = true;
  113 
  114                 PromptEntityResult res = ed.GetEntity(opt);
  115 
  116                 if (res.Status == PromptStatus.OK)
  117                 {
  118                     entId = res.ObjectId;
  119                     break;
  120                 }
  121                 else if (res.Status == PromptStatus.Keyword)
  122                 {
  123                     _snapType = res.StringResult;
  124                 }
  125                 else
  126                 {
  127                     break;
  128                 }
  129             }
  130 
  131             return entId;
  132         }
  133 
  134         private static void OnCommandCancelled()
  135         {
  136             Editor ed = Application.DocumentManager.MdiActiveDocument.Editor;
  137             ed.WriteMessage("\n*Cancel*");
  138             Autodesk.AutoCAD.Internal.Utils.PostCommandPrompt();
  139         }
  140     }
  141 }

This video clip shows the code in action.

If you watched the video clip carefully, you would notice that when the new CustomObjectSnapMode in the code is activated, AutoCAD actually adds it into the context menu of "OSnap" button in AutoCAD's status bar and allow user to activate/deactivate it transparently.

Now, between the 2 custom object snapping approach, which one to use? For the custom OsnapOverrule one presented in my previous article, the Overrule's built-in entity filtering mechanism might be key factor to use, if you want to apply the object snapping on specific entity or entities; whole for Glyph derived object snapping approach, you can easily draw the snapping point in your preferred geometry to make it more eye-catching. Use whichever that suit your need and whichever you can come up with.

Blog Archive

Labels

.NET Programming 2D Drafting 3D Animation 3D Art 3D Artist 3D design 3D effects 3D Engineering 3D Materials 3D Modeling 3D models 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 Adaptive Clearing adaptive components Add-in Development Additive Manufacturing Advanced CAD features Advanced Modeling AEC Technology AEC Tools affordable Autodesk tools AI AI animation AI Assistance AI collaboration AI Design AI Design Tools AI Experts AI for Revit AI Guide AI in CAD AI in CNC AI in design AI in Manufacturing AI in Revit AI insights AI lighting AI rigging AI Tips AI Tools AI troubleshooting AI workflow AI-assisted AI-assisted rendering AI-enhanced Animation animation pipeline animation tips Animation workflow annotation AR architectural design architectural modeling architectural preservation architectural visualization Architecture architecture design Architecture Engineering Architecture Firm Architecture Productivity architecture software architecture technology Architecture Workflow Arnold Renderer Arnold Shader Artificial Intelligence As-Built Model Asset Management augmented reality AutoCAD AutoCAD advice AutoCAD API AutoCAD Basics AutoCAD Beginner AutoCAD Beginners AutoCAD Civil 3D AutoCAD Civil3D AutoCAD commands AutoCAD efficiency AutoCAD Expert Advice AutoCAD features AutoCAD File Management AutoCAD Layer AutoCAD Layers AutoCAD learning AutoCAD print settings AutoCAD productivity AutoCAD Teaching AutoCAD Techniques 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 Automated Design Automation Automation Tutorial automotive design automotive visualization Backup Basic Commands Basics Batch Plot Beginner Beginner Tips beginner tutorial beginners guide 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 Standards BIM technology BIM tools BIM Trends BIM workflow Block Editor Block Management Block Organization Building Design Software Building Maintenance building modeling Building Systems Building Technology ByLayer CAD CAD API CAD assembly CAD Automation CAD Blocks CAD CAM CAD commands CAD comparison CAD Customization CAD Data Management CAD Design CAD errors CAD Evolution CAD File Size Reduction CAD Integration CAD Learning CAD line thickness CAD management CAD Migration CAD mistakes CAD modeling CAD Optimization CAD plugins CAD Productivity CAD Rendering CAD Security CAD Skills CAD software CAD software 2026 CAD software training CAD standards CAD technology CAD Tips CAD Tools CAD tricks CAD Tutorial CAD workflow CAM car design software Case Study CEO Guide CGI design Character Rig 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 CAD file cleaning command client engagement Cloud CAD Cloud Collaboration Cloud design platform Cloud Engineering Cloud Management Cloud Storage Cloud-First CNC CNC machining collaboration command abbreviations Complex Renovation concept car conceptual workflow Connected Design construction Construction Analytics Construction Automation Construction BIM Construction Cloud Construction Planning Construction Scheduling Construction Technology contractor tools Contractor Workflow Contraints corridor design Cost Effective Design cost estimation Create resizable blocks Creative Teams CTB STB Custom visual styles Cutting Parameters Cybersecurity Data Backup data management Data Protection Data Reference Data Security Data Shortcut Design Automation Design Career Design Collaboration Design Comparison Design Coordination design efficiency Design Engineering Design Hacks Design Innovation design optimization Design Options design productivity design review Design Rules design software design software tips Design Technology design tips Design Tools Design Workflow design-to-construction Designer Designer Tools Digital Art Digital Assets Digital Construction Digital Construction Technology Digital Content Digital Design Digital engineering digital fabrication Digital Manufacturing digital marketing digital takeoff Digital Thread Digital Tools Digital Transformation Digital Twin Digital Twins digital workflow dimension dimensioning Disaster Recovery drafting Drafting Efficiency Drafting Shortcuts Drafting Standards Drafting Tips Drawing Drawing Automation drawing tips Dref Dynamic Block Dynamic Block AutoCAD Dynamic Blocks Dynamic doors Dynamic windows Dynamo Dynamo automation early stage design eco design editing commands Electrical Systems Emerging Features Energy Analysis energy efficiency Engineering Engineering Automation engineering data Engineering Design Engineering Innovation Engineering Productivity Engineering Skills engineering software Engineering Technology engineering tools Engineering Tools 2025 Engineering Workflow Excel Export Workflow Express Tools External Reference facial animation Facial Rigging Facility Management Families Fast Structural Design Field Documentation File Optimization File Recovery Flame flange tips flat pattern Forge Development Forge Viewer FreeCAD Fusion 360 Fusion 360 API Fusion 360 tutorial Future of Design Future Skills Game Development Gamification Generative Design Geospatial Data GIS Global design teams global illumination grading optimization green building Green Technology Grips Handoff HDRI health check Healthcare Facilities heavy CAD file Heavy CAD Files heritage building conservation hidden commands Hospital Design HVAC HVAC Design Tools HVAC Engineering Hydraulic Modeling IK/FK iLogic Import Workflow Industry 4.0 Infrastructure infrastructure design Infrastructure Monitoring Infrastructure Planning Infrastructure Technology InfraWorks innovation Insight intelligent modeling 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 joints Keyboard Shortcuts keyframe animation Keyframe generation Landscape Design Large Projects Laser Scan Layer Management Layer Organization Learn AutoCAD Legacy CAD Licensing light techniques Lighting and shading Lighting Techniques Linked Models Machine Learning Machine Learning in CAD Machine Optimization Machining Efficiency maintenance command Management manufacturing Manufacturing Innovation Manufacturing Technology Mapping Technology marketing visuals Material Creation Maya Maya character animation Maya lighting Maya Shader Maya Tips Maya tutorial measurement Mechanical Design Mechanical Engineering Media & Entertainment MEP Modeling Mesh-to-BIM Metal Structure modal analysis Model Management Model Optimization Modeling Secrets Modular Housing Motion capture motion graphics motion simulation MotionBuilder Multi Office Workflow Multi-User Environment multileader Navisworks Navisworks Best Practices Net Zero Design ObjectARX .NET API Open Source CAD Organization OVERKILL OVERKILL AutoCAD Page Setup Palette Parametric Components parametric design parametric family Parametric Modeling particle effects particle systems PDF PDM system Personal Brand Phasing PlanGrid Plot Settings Plot Style Plot Style AutoCAD Plotting Plugin Tutorial Plumbing Design point cloud Portfolio Post Construction Post-Processing Practice Drawing preconstruction workflow predictive analysis predictive animation Predictive Maintenance Predictive rigging Prefabrication Presentation-ready visuals Printing Printing Quality Procedural animation procedural motion Procedural Rig Procedural Textures Product Design Product Development product lifecycle product rendering Productivity productivity tools Professional 3D design Professional CAD Professional Drawings professional printing Professional Tips Project Documentation project efficiency project management Project Management Tools Project Visualization PTC Creo PURGE PURGE AutoCAD Rail Transit Rapid Prototyping realistic rendering ReCap Redshift Shader reduce CAD file size Render Render Passes Render Quality Render Settings Rendering rendering engine Rendering Engines Rendering Optimization rendering software Rendering Tips Rendering Workflow RenderMan Renewable Energy Renovation Project Renovation Workflow Reports Resizable Block restoration 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 Plugins Revit Scripting Revit skills Revit Standards Revit Template Revit Tips Revit tutorial Revit Workflow Ribbon Rigging robotics ROI Scale Autodesk Schedules screen Sculpting Secure Collaboration Sensor Data Shader Networks Sheet Metal Design Sheet Metal Tricks Sheet Set Manager shortcut keys Shortcuts Siemens NX Simulation simulation tools Sketch Sketching Tricks Small Firms Smart Architecture Smart Block Smart Building Design Smart City Smart Design Smart Engineering Smart Factory Smart Infrastructur Software Compliance software ecosystem Software Management Software Trends software troubleshooting Software Update Solar Energy Solar Panels SolidWorks Startup Design static stress Steel Structure Design Structural Optimization subscription model Subscription Value Surface Modeling sustainability sustainable design Sustainable Manufacturing system performance T-Spline team training guide Technical Drawing technical support Template Setup text style Texture Mapping Texturing thermal analysis Time Management time saving tools Title Blocks toolbar Toolpath Optimization Toolpaths Topography Troubleshooting Tutorial Tutorials urban planning User Interface (UI) UV Mapping UV Unwrap V-Ray Vault Best Practices Vault Lifecycle Vault Mistakes Vector Plotting vehicle modeling VFX Viewport configuration Virtual Environments virtual reality visual effects visualization workflow VR VR Tools VRED Water Infrastructure Water Management 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 Xrefs เขียนแบบ