VB.Net for AutoCAD®

MText.WidthFactor

by Will on December 7, 2010

If you’ve ever tried to edit the widthfactor of mtext through VBA or VB.NET, you’ll have realised that there isn’t a method for doing so. However, there is a built in trick which bypasses the requirement for doing this. Try ..read more

{ Comments on this entry are closed }

ThisDrawing.PaperSpace

by Will on December 6, 2010

ThisDrawing.PaperSpace is a very useful way to access the PaperSpace of your drawing through VBA or VB.NET.

When developing tools that draw entites in a drawing, we can sometimes use ThisDrawing.PaperSpace, forgetting that the tool might actually end up being used ..read more

{ Comments on this entry are closed }

ThisDrawing.ModelSpace

by Will on December 6, 2010

ThisDrawing.ModelSpace is a very useful way to access the ModelSpace of your drawing through VBA or VB.NET.

When developing tools that draw entites in a drawing, we can sometimes use ThisDrawing.ModelSpace, forgetting that the tool might actually end up being used in ..read more

{ Comments on this entry are closed }

Someone recently asked about determining if a point resides within a polyline using VBA. There are a few ways to achieve this, some being more complex than others, each with their own advantages. However, there is one way that is ..read more

{ Comments on this entry are closed }

Introduction to VB.NET in AutoCAD

by Will on November 18, 2010

VBA is in the process of being phased out, and the replacement is .NET. This may disappoint some of you that have VBA applications/skills, but you will be pleased to hear that you can still use code that you have, ..read more

{ Comments on this entry are closed }