Lets make small modules that we can test, then combine them all into a larger program. Lets start by loading some line types. Dashed and Hidden to get started.
I'll start us off
Public Sub LLine()
End Sub
For those that are coding (read following) along, put this in the ThisDrawing Module of a new project. (For anyone needing help getting a new project started or help locating this, PM me)
What goes between the first and last line I posted? I'll give you a hint. We are going to use a method inside of ThisDrawing to load our linetypes, so ......
Public Sub LLine()
ThisDrawing.
End Sub
If you type that in, and hit the DOT (period) after ThisDrawing, you will get a list of methods we can access. Lets see who can figure out what goes next.