HI, I'm trying to hold the value of any dimensions on model space and "add them together"...how could I do that?
This is the code that I have...but it's not doing anything but counting the objects on my screen and printing them on my text box. With this code I was trying to see if I could at least print out the number of dimensions that I have selected on the screen!But I can't get it. Thank you
Private Sub cmdSelect_Click()
'Dim DimHold As AcadDimension
Dim SqTotal
SqTotal = ThisDrawing.ModelSpace.Count
txtDimension.Text = SqTotal
End Sub
This is the code that I have...but it's not doing anything but counting the objects on my screen and printing them on my text box. With this code I was trying to see if I could at least print out the number of dimensions that I have selected on the screen!But I can't get it. Thank you
Private Sub cmdSelect_Click()
'Dim DimHold As AcadDimension
Dim SqTotal
SqTotal = ThisDrawing.ModelSpace.Count
txtDimension.Text = SqTotal
End Sub