<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Selection Set Order in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073504#M25648</link>
    <description>Just checking, but what do you mean by this line?&lt;BR /&gt;&lt;BR /&gt;'' target block before updating its attribute here.&lt;BR /&gt;&lt;BR /&gt;It my be linked to reason why I can not get the .objectID to come up with&lt;BR /&gt;res.&lt;BR /&gt;&lt;BR /&gt;Please let me know.&lt;BR /&gt;</description>
    <pubDate>Sun, 17 Jun 2018 16:31:55 GMT</pubDate>
    <dc:creator>conveyor1</dc:creator>
    <dc:date>2018-06-17T16:31:55Z</dc:date>
    <item>
      <title>Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8057166#M25641</link>
      <description>&lt;P&gt;I am trying to write some VB.net code to allow an AutoCAD user to select some block and based on the order of selection, an attribute within the block will be updated with the number in the selection.&amp;nbsp; So the first block selected will get a 1 and the fifth will get a five, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know if the selection set keeps the order of selection or do I need to record the order in some other manner?&amp;nbsp; If another manner, any recommendations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 22:02:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8057166#M25641</guid>
      <dc:creator>conveyor1</dc:creator>
      <dc:date>2018-06-08T22:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8057390#M25642</link>
      <description>&lt;P&gt;The selection set should be ordered in the order that entities in it were explicitly picked (e.g., no window/crossing or other form of selection).&amp;nbsp; Hence, the user must pick each object individually in the desired order - They can't rely on the order of objects selected using other means.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can force the user to explicitly pick objects by setting the &lt;EM&gt;&lt;STRONG&gt;SinglePickInSpace&lt;/STRONG&gt; &lt;/EM&gt;property of the PromptSelectionOptions class to true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1179727"&gt;@conveyor1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I am trying to write some VB.net code to allow an AutoCAD user to select some block and based on the order of selection, an attribute within the block will be updated with the number in the selection.&amp;nbsp; So the first block selected will get a 1 and the fifth will get a five, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know if the selection set keeps the order of selection or do I need to record the order in some other manner?&amp;nbsp; If another manner, any recommendations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know your thoughts.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 03:42:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8057390#M25642</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2018-06-09T03:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8071600#M25643</link>
      <description>&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;I am having an issue were i am unable to restrict the person using cad to select only one item at a time into the selection set.&amp;nbsp; But&amp;nbsp;I am still able to select multiple items with either a crossing or window.&amp;nbsp; Would someone be able to look as see what could be incorrect?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    Public Sub Single_Pick_SelectionSet()
        Dim myDB As DatabaseServices.Database
        Dim myDWG As ApplicationServices.Document
        Dim myEd As EditorInput.Editor
        Dim myPSR As EditorInput.PromptSelectionResult
        Dim myPSO As New EditorInput.PromptSelectionOptions
        Dim mySS As EditorInput.SelectionSet
        Dim myTV(0) As DatabaseServices.TypedValue
        myTV(0) = New DatabaseServices.TypedValue(0, "INSERT")
        Dim myFilter As New EditorInput.SelectionFilter(myTV)
        Dim myObjIDs As ObjectIdCollection
        Dim myObjID As ObjectId
        myDWG = ApplicationServices.Application.DocumentManager.MdiActiveDocument
        myDB = myDWG.Database
        myEd = myDWG.Editor
        'myPSO.SingleOnly = True
        myPSO.SinglePickInSpace = True
        myPSR = myEd.GetSelection(myPSO, myFilter)
        mySS = myPSR.Value

        Dim myTransMan As DatabaseServices.TransactionManager
        myTransMan = myDB.TransactionManager

        If Not IsNothing(myPSR.Value) Then

            MsgBox(mySS.Count) ' Number of items selected

            Dim myTrans As Transaction = myTransMan.StartTransaction()

            myObjIDs = New DatabaseServices.ObjectIdCollection(myPSR.Value.GetObjectIds)
            For Each myObjID In myObjIDs
                MsgBox(Class1_Obj.ReadAttributeValue(myObjID, "TEMP").ToString)
            Next

            ' End Transactions
            myTrans.Commit()
            myTrans.Dispose()
            myTransMan.Dispose()

        End If

    End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 17:42:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8071600#M25643</guid>
      <dc:creator>conveyor1</dc:creator>
      <dc:date>2018-06-15T17:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073030#M25644</link>
      <description>&lt;P&gt;It seems to me that the user has to decide the order of the blocks being selected. In this case, it does not make much sense to use Editor.GetSelection(), because the user could select multiple entities with picking windows/polygons (not to mention that when window is picked from left to right, it is window-selection, from right to left, it is window-crossing-selecting...).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the order is important, you should use Editor.GetEntity() to select one at a time in a loop, something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;int i=1;&lt;/P&gt;
&lt;P&gt;while(true)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; var opt=new PromptEntityOptions($"\nSelect block {i}:");&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; opt.SetRejectMessage("\nNot a block!");&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; opt.AddAllowedClass(typeof(BlockRefernce), true);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; var res=ed.GetEntity(opt);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; if (res.Status==PromptStatus.OK)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Set the attribute of the selected block with picking order (i, in this case)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UpdateTheBlock(res.ObjectId, i);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i++;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; else&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;//When user press Esc, break from the loop&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // You can also user keyword with GetEntity() to explicitly ask user to quit&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jun 2018 02:14:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073030#M25644</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2018-06-17T02:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073031#M25645</link>
      <description>&lt;P&gt;Contrary to what I wrote above, I don't think it's possible to restrict selection of multiple objects to 'picking only', or at least not with the managed API. If I'm mistaken, then I hope someone can demonstrate how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even with LISP's (ssget) function there seems to be problems with the '.' mode string, which is likely a result of changes made to accommodate subselection filtering and selection of faces, edges and vertices. The managed API does not support the "." mode string at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And contrary to what I suggested above, the SinglePickInSpace property doesn't allow for multiple selections by picking only. It will return immediately after the first object is picked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the only option is to use GetEntity() in a loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1179727"&gt;@conveyor1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;I am having an issue were i am unable to restrict the person using cad to select only one item at a time into the selection set.&amp;nbsp; But&amp;nbsp;I am still able to select multiple items with either a crossing or window.&amp;nbsp; Would someone be able to look as see what could be incorrect?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    Public Sub Single_Pick_SelectionSet()
        Dim myDB As DatabaseServices.Database
        Dim myDWG As ApplicationServices.Document
        Dim myEd As EditorInput.Editor
        Dim myPSR As EditorInput.PromptSelectionResult
        Dim myPSO As New EditorInput.PromptSelectionOptions
        Dim mySS As EditorInput.SelectionSet
        Dim myTV(0) As DatabaseServices.TypedValue
        myTV(0) = New DatabaseServices.TypedValue(0, "INSERT")
        Dim myFilter As New EditorInput.SelectionFilter(myTV)
        Dim myObjIDs As ObjectIdCollection
        Dim myObjID As ObjectId
        myDWG = ApplicationServices.Application.DocumentManager.MdiActiveDocument
        myDB = myDWG.Database
        myEd = myDWG.Editor
        'myPSO.SingleOnly = True
        myPSO.SinglePickInSpace = True
        myPSR = myEd.GetSelection(myPSO, myFilter)
        mySS = myPSR.Value

        Dim myTransMan As DatabaseServices.TransactionManager
        myTransMan = myDB.TransactionManager

        If Not IsNothing(myPSR.Value) Then

            MsgBox(mySS.Count) ' Number of items selected

            Dim myTrans As Transaction = myTransMan.StartTransaction()

            myObjIDs = New DatabaseServices.ObjectIdCollection(myPSR.Value.GetObjectIds)
            For Each myObjID In myObjIDs
                MsgBox(Class1_Obj.ReadAttributeValue(myObjID, "TEMP").ToString)
            Next

            ' End Transactions
            myTrans.Commit()
            myTrans.Dispose()
            myTransMan.Dispose()

        End If

    End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jun 2018 02:17:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073031#M25645</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2018-06-17T02:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073068#M25646</link>
      <description>Evening,&lt;BR /&gt;&lt;BR /&gt;I think I like this way better then selecting everything first then running&lt;BR /&gt;the updates.&lt;BR /&gt;&lt;BR /&gt;Not familiar with c. Doing this in VB.net.&lt;BR /&gt;&lt;BR /&gt;But in short summary, the user picks the item, it filters the pick and&lt;BR /&gt;displays the appropriate message, if everything is good, then it updates&lt;BR /&gt;the item and the process repeats until the user hits escape.&lt;BR /&gt;&lt;BR /&gt;If you or someone knows VB.net, what would the code look like for the&lt;BR /&gt;selection filters?&lt;BR /&gt;&lt;BR /&gt;Please let me know your thoughts.&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Jun 2018 03:42:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073068#M25646</guid>
      <dc:creator>conveyor1</dc:creator>
      <dc:date>2018-06-17T03:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073369#M25647</link>
      <description>&lt;P&gt;Editor.GetEntity() has its own way to filter what type of entity user can pick, which is Acad API thing, regardless the .NET language (C#, or VB.NET). Here is the VB.NET code of what I posted previously:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dim i As Integer=1&lt;/P&gt;
&lt;P&gt;While True&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dim opt As New PromptEntityOptions(vbCrlf &amp;amp; "Select block " &amp;amp; i &amp;amp; ":")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;''&amp;nbsp;&amp;nbsp;Set up "filter" here, so user can only pick block reference&lt;/P&gt;
&lt;P&gt;&amp;nbsp; opt.SetRejectMessage(vbCrLf &amp;amp; "Not a block!")&lt;/P&gt;
&lt;P&gt;&amp;nbsp; opt.AddAllowedClass(GetType(BlockReference), True)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Dim res As PromptResult = ed.GetEntity(opt)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If res.Status=PromptStatus.OK Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; '' You may also need to test if the picked block is the&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; '' target block before updating its attribute here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; UpdateTheBlock(res.ObjectId, i)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; i=i+1&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Else&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Exit While&lt;/P&gt;
&lt;P&gt;&amp;nbsp; End If&lt;/P&gt;
&lt;P&gt;End While&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jun 2018 12:19:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073369#M25647</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2018-06-17T12:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073504#M25648</link>
      <description>Just checking, but what do you mean by this line?&lt;BR /&gt;&lt;BR /&gt;'' target block before updating its attribute here.&lt;BR /&gt;&lt;BR /&gt;It my be linked to reason why I can not get the .objectID to come up with&lt;BR /&gt;res.&lt;BR /&gt;&lt;BR /&gt;Please let me know.&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Jun 2018 16:31:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073504#M25648</guid>
      <dc:creator>conveyor1</dc:creator>
      <dc:date>2018-06-17T16:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073825#M25649</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1179727"&gt;@conveyor1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Just checking, but what do you mean by this line?&lt;BR /&gt;&lt;BR /&gt;'' target block before updating its attribute here.&lt;BR /&gt;&lt;BR /&gt;It my be linked to reason why I can not get the .objectID to come up with&lt;BR /&gt;res.&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;My guess is that Norman is protecting against the accidental selection of an unintended block insertion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another procedural option to the algorithm is to add the ID of each selected block to a list and process all inserts inside one code block. This would be a slightly faster option, but has the downside of the user not seeing each insert update and&amp;nbsp;may also lead to blocks being selected multiple times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You probably should be posting more code and an indicator or where and how you are having difficulty with obtaining the Insertion ID ... Have you attempted stepping through the code in the debugger and inspecting the variable values ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jun 2018 00:50:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8073825#M25649</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2018-06-18T00:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Set Order</title>
      <link>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8075966#M25650</link>
      <description>&lt;P&gt;Final code if anyone is interested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    Public Sub UpdatebyPick()
        Dim myDB As DatabaseServices.Database
        Dim myDWG As ApplicationServices.Document
        Dim myEd As EditorInput.Editor
        Dim myPER As EditorInput.PromptEntityResult
        Dim myEnt As DatabaseServices.Entity

        myDWG = ApplicationServices.Application.DocumentManager.MdiActiveDocument
        myDB = myDWG.Database
        myEd = myDWG.Editor

        Dim Count As Integer = 1

        Dim myTransMan As DatabaseServices.TransactionManager

        While True

            Dim myPEO As New EditorInput.PromptEntityOptions(vbCrLf &amp;amp; "Select block " &amp;amp; Count &amp;amp; ":")
            myPEO.SetRejectMessage(vbCrLf &amp;amp; "Not a block!") ' Message For Error
            myPEO.AddAllowedClass(GetType(BlockReference), True) ' filter for a Block's only
            myPER = myEd.GetEntity(myPEO)
            If myPER.Status = PromptStatus.OK Then
                ' Start Transaction
                myTransMan = myDB.TransactionManager
                Dim myTrans As Transaction = myTransMan.StartTransaction()

                'Get information from Selection
                myEnt = myPER.ObjectId.GetObject(DatabaseServices.OpenMode.ForRead)
                Dim myObjID As ObjectId
                myObjID = myEnt.ObjectId

                ' Check for only Conveyor Blocks
                Dim myBTR As DatabaseServices.BlockTableRecord
                Dim myBlkRef As BlockReference
                myBlkRef = myObjID.GetObject(DatabaseServices.OpenMode.ForRead, False)
                If myBlkRef.IsDynamicBlock = False Then
                    myBTR = myBlkRef.BlockTableRecord.GetObject(DatabaseServices.OpenMode.ForRead)
                Else
                    myBTR = myBlkRef.DynamicBlockTableRecord.GetObject(DatabaseServices.OpenMode.ForRead)
                End If

                If myBTR.Name = "GENERAL BLOCK" Then
                    ' Mesage for changing CID in Block
                    MsgBox(Class1_Obj.ReadAttributeValue(myObjID, "CID").ToString &amp;amp; " will change to " &amp;amp; TextBox39.Text)

                    ' End Transactions
                    myTrans.Commit()
                    myTrans.Dispose()
                    myTransMan.Dispose()

                    ' Update Attribute1 in Block
                    Class1_Obj.Setattributes(myObjID, "Attribute1", TextBox39.Text)
                    TextBox39.Text = CInt(TextBox39.Text) + CInt(TextBox40.Text)
                    Count = Count + 1
                Else
                    MsgBox("Not a Vendor Block.  Please Resellect:")
                    myTrans.Dispose()
                    myTransMan.Dispose()
                End If
            Else

                Exit While
            End If
        End While

    End Sub&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Jun 2018 19:27:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/selection-set-order/m-p/8075966#M25650</guid>
      <dc:creator>conveyor1</dc:creator>
      <dc:date>2018-06-18T19:27:56Z</dc:date>
    </item>
  </channel>
</rss>

