Message 1 of 4

Not applicable
01-17-2018
01:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am looking to replace the "thisdrawing" with the actual file name, any insight you can provide would be appreciated. I am looking to move this code out of the drawings so the "thisdrawing" won't be applicable
Public Sub BreakAllLines() Dim ent As AcadEntity Dim line As AcadLine Dim broken As Boolean Dim go As Boolean Do go = False For Each ent In ThisDrawing.ModelSpace If TypeOf ent Is AcadLine Then Set line = ent If BreakLine(line) Then go = True Exit For End If End If Next Loop Until Not go End Sub
Solved! Go to Solution.