Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Function vbdPowerGroup(strName As String) As AcadGroup
'
' *** vbdPowerGroup ***
'
' Function to add a new group by name, and check
' for an existing group.
'
Dim objGrp As AcadGroup
Dim objGrpCol As AcadGroups
Set objGrpCol = AcadDoc.Groups
For Each objGrp In objGrpCol
If objGrp.Name = strName Then
objGrpCol.Item(strName).Delete
Exit For
End If
Next
Set objGrp = objGrpCol.Add(strName)
Set vbdPowerGroup = objGrp
End Function