.NET

Reply
*GPaolo
Message 1 of 1 (70 Views)

Collection Selectionsets in .NET

70 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
GPaolo
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!