I have some vba events that I'd like to run each time I start Autocad. I originally put a call to them in acad.lsp, but each succesive opened drawing, I'd receive a message telling me that they were already loaded. What can I do to avoid this message? Also, I was wondering if someone could help me with finishing this event up?
'Private Sub AcadDocument_BeginCommand(ByVal CommandName As String)
' If CommandName = "PLOT" Then
' Dim AcadDim As AcadDimension
' Dim SelSet As AcadSelectionSet
'
' Set SelSet = ThisDrawing.SelectionSets.Add("Dimension")
'
' For Each AcadDim In SelSet
' SendCommand "_.draworder" & vbCr & vbCr
' Next AcadDim
' End If
'End Sub
What I'm trying to accomplish is moving all dimensions to the back of the draworder before plotting, so there are no extension lines showing up in print that are laid out along a line. Thanks.