Collection Selectionsets in .NET

71 Views, 0 Replies
03-24-2006 11:40 PM
I have write an application by Com Interop and now i want translate to :Net
but don't find the Collection SelectionSets .

Acad2006 --- visualstudio 2003

COM interop
Sub Example_SelectionSets()
' This example finds the current SelectionSets collection and
' adds a new SelectionSet to that collection.

Dim SSetColl As AcadSelectionSets
Set SSetColl = ThisDrawing.SelectionSets

' Create a SelectionSet named "TEST" in the current drawing
Dim ssetObj As AcadSelectionSet
Set ssetObj = SSetColl.Add("TEST")
MsgBox "A new SelectionSet called " & ssetObj.name & " has been added to
the SelectionSets collection.", vbInformation, "SelectionSets Example"
End Sub

.NET --------------->>>>> ?????????????????????????????

Thank's in advance
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!