<?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: Blocks, attributes and selection sets in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333523#M48669</link>
    <description>&lt;P&gt;I use the C# version of VS Express and I can step through code, halt at break points, inspect/set watches, etc.&amp;nbsp; Can't edit-and-continue, but my work process kind of minimizes the impact of that limitation.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2013 18:11:04 GMT</pubDate>
    <dc:creator>dgorsman</dc:creator>
    <dc:date>2013-07-17T18:11:04Z</dc:date>
    <item>
      <title>Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331537#M48661</link>
      <description>&lt;P&gt;I am just getting into programming a dll inside acad. &amp;nbsp;Not sure this is the route to go since I have an data object that I need get and incorporate into my dll. &amp;nbsp;Is there any way to get an object inside a dll from another outside program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a routine that asks for a selection set of lbocks (probably filtered i guess) then serches for a specific attribute tag, which would be a number, then to adds the set of blocks with that attribute value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have gotten to the part where it ask the user to select some elements which I will filter out the blocks (of many differant block names) the I want to look at a specific attribute tag and add them, if it is valid. &amp;nbsp;I have a sample which I am just beginning to debug. &amp;nbsp;The tag name is: DEVICENUMBER, the value is any number. &amp;nbsp;Could use some help from the experts. &amp;nbsp;The following code does not work for getting a selection set I need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Public Sub GetSelection()&lt;BR /&gt;Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor&lt;BR /&gt;Dim values() As TypedValue = {New TypedValue(DxfCode.Start, "BLOCK")}'this is where I am having the selection problem&lt;BR /&gt;Dim sfilter As New SelectionFilter(values) ' Create the filter using our values...&lt;BR /&gt;'Set the selection options&lt;BR /&gt;Dim SelOpts As New PromptSelectionOptions()&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SelOpts.MessageForAdding = "Select elements:"&lt;BR /&gt;SelOpts.AllowDuplicates = True&lt;BR /&gt;'Make the selection:&lt;BR /&gt;Dim res As PromptSelectionResult = ed.GetSelection(SelOpts, sfilter)&lt;/P&gt;&lt;P&gt;If Not res.Status = PromptStatus.OK Then Return&lt;BR /&gt;Dim SS As Autodesk.AutoCAD.EditorInput.SelectionSet = res.Value&lt;BR /&gt;Dim idarray As ObjectId() = SS.GetObjectIds()&lt;BR /&gt;Dim db As Database = Application.DocumentManager.MdiActiveDocument.Database&lt;BR /&gt;Dim tm As Autodesk.AutoCAD.DatabaseServices.TransactionManager = db.TransactionManager&lt;BR /&gt;Dim myT As Transaction = tm.StartTransaction()&lt;/P&gt;&lt;P&gt;Try&lt;BR /&gt;Dim id As ObjectId&lt;BR /&gt;For Each id In idarray&lt;BR /&gt;Dim entity As Entity = tm.GetObject(id, OpenMode.ForRead, True)&lt;BR /&gt;ed.WriteMessage((ControlChars.Lf + "You selected: " + entity.GetType().FullName))&lt;BR /&gt;Next id&lt;BR /&gt;Finally&lt;BR /&gt;myT.Dispose()&lt;BR /&gt;End Try&lt;BR /&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 14:17:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331537#M48661</guid>
      <dc:creator>jaboone</dc:creator>
      <dc:date>2013-07-16T14:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331685#M48662</link>
      <description>&lt;P&gt;The entity type in the filter is wrong:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim values() As TypedValue = {New TypedValue(DxfCode.Start, "BLOCK")}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;should be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim values() As TypedValue = {New TypedValue(DxfCode.Start, "INSERT")}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So,&amp;nbsp;the returned entities in the SelectionSet will be guaranteed to be BlockReferences. The you loop through each block refernce's AttributeCollection to se if there is/are attribute/attributes with tab "DEVICENUMBER", if yes, set AttributeReference.TextString to the desired number ( a String value).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you go though all the selected block references, you may need to determine if the block is the block you are after, because differnt block may have attribute with the same tag. If all the targeting block is not a dynamic bklock, you can simply add block name into selection filter, so that only blocks with given name is selected. However, if the block is dynamic block, you can only identify targeting block by going through each selected blocks, then test its name, if it is not a dynamic block, or find its name by going after the block refernce's dynamic block definition.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As long as you idtentified the block reference is the targeting block, then you can simply:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Each id As ObjectId in theBlockreference.AttrbuteCollection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim att as AttributeReference=tran.GetObject(id, OpenMode.ForRead)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If att.Tag.ToUpper()=DEVICENUMBER" Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; att.UpgradeOpen()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; att.TextString=theNumber.ToString()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 15:59:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331685#M48662</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2013-07-16T15:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331791#M48663</link>
      <description>&lt;P&gt;Thanks Norman &amp;nbsp;The insert was exactly what I was looking for and see the solution even closer.&lt;/P&gt;&lt;P&gt;I am now hung up on what object the "&lt;SPAN&gt;theBlockreference.AttrbuteCollection" is coming from. &amp;nbsp;I know you mentioned searching the selection for a collection of the a specific block, but in my case, I want many blocks and want to do a search for an attribute.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 17:32:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331791#M48663</guid>
      <dc:creator>jaboone</dc:creator>
      <dc:date>2013-07-16T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331808#M48664</link>
      <description>&lt;P&gt;OK, if you do not have to sort out block by name and want to go through all the blocks selected and find Attribute tagged as "DEVICENUMBER", your code will be like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.... ''you cdoe to get selection set&lt;/P&gt;&lt;P&gt;Try&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim id As ObjectId&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each id In idarray&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&amp;nbsp;blk As BlockReference&amp;nbsp;= myT.GetObject(id, OpenMode.ForRead, True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;ed.WriteMessage((ControlChars.Lf + "You selected: " + entity.GetType().FullName))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each attId As ObjectId In blk.AttributeCollection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim att As AttributeReference=myT.GetObject(attId,OpenMode.ForRead)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If att.Tag.ToUpper="DEVICENUMBER" THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; att.UpgradeOpen()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; att.textString="12345"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Next id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; myT.Commit() ''Do not forget to commit the transaction!&lt;BR /&gt;Finally&lt;BR /&gt;&amp;nbsp;myT.Dispose()&lt;BR /&gt;End Try&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 17:46:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331808#M48664</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2013-07-16T17:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331879#M48665</link>
      <description>&lt;P&gt;i'm affreaid I'm not having any luck at all with this. &amp;nbsp;the function does not get past the &amp;nbsp;for, &amp;nbsp;so that tells me the logical attid is not valid for that selection set.&lt;/P&gt;&lt;P&gt;I also get The block : *MODEL_SPACE in acad so that tells me I don't have a good selection set either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor&lt;BR /&gt;Dim values() As TypedValue = {New TypedValue(DxfCode.Start, "INSERT")}&lt;BR /&gt;Dim sfilter As New SelectionFilter(values)&lt;BR /&gt;Dim SelOpts As New PromptSelectionOptions()&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SelOpts.MessageForAdding = "Select receptacle blocks:"&lt;BR /&gt;SelOpts.AllowDuplicates = True&lt;BR /&gt;'Make the selection:&lt;BR /&gt;Dim res As PromptSelectionResult = ed.GetSelection(SelOpts, sfilter)&lt;/P&gt;&lt;P&gt;If Not res.Status = PromptStatus.OK Then Return&lt;BR /&gt;Dim SS As Autodesk.AutoCAD.EditorInput.SelectionSet = res.Value&lt;BR /&gt;Dim idarray As ObjectId() = SS.GetObjectIds()&lt;BR /&gt;Dim db As Database = Application.DocumentManager.MdiActiveDocument.Database&lt;BR /&gt;Dim tm As Autodesk.AutoCAD.DatabaseServices.TransactionManager = db.TransactionManager&lt;BR /&gt;Dim myT As Transaction = tm.StartTransaction()&lt;BR /&gt;Dim x As Integer&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Try&lt;BR /&gt;Dim id As ObjectId&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For Each id In idarray&lt;BR /&gt;Dim blk As BlockReference = myT.GetObject(id, OpenMode.ForRead, True)&lt;BR /&gt;'ed.WriteMessage((ControlChars.Lf + "You selected: " + Entity.GetType().FullName))&lt;BR /&gt;ed.WriteMessage((ControlChars.Lf + "The block: " + blk.BlockName.ToString))&lt;BR /&gt;For Each attId As ObjectId In blk.AttributeCollection&lt;BR /&gt;Dim att As AttributeReference = myT.GetObject(attId, OpenMode.ForRead)&lt;BR /&gt;ed.WriteMessage((", Search: " + att.TextString.ToString))&lt;BR /&gt;If att.Tag.ToUpper = "DEVICENUMBER" Then&lt;BR /&gt;ed.WriteMessage((", Attribute: " + att.TextString.ToString))&lt;BR /&gt;att.UpgradeOpen()&lt;BR /&gt;x = Val(att.TextString)&lt;BR /&gt;'att.TextString = "12345"&lt;BR /&gt;End If&lt;BR /&gt;Next&lt;BR /&gt;Next id&lt;BR /&gt;myT.Commit() ''Do not forget to commit the transaction!&lt;BR /&gt;Finally&lt;BR /&gt;myT.Dispose()&lt;BR /&gt;End Try&lt;BR /&gt;txtWatts.Text = x.tostring&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2013 18:38:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4331879#M48665</guid>
      <dc:creator>jaboone</dc:creator>
      <dc:date>2013-07-16T18:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333170#M48666</link>
      <description>&lt;P&gt;I was able to find some code on a autodesk related web site that had sample code of getting an attribute out of a block. &amp;nbsp;Not sure why this doesn't work for me since I can't debug the code. &amp;nbsp;I wish I could becuase that is where I learn the most about what is going on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I selected some blocks with a known attributes in them but the code never printed the attribute tag string telling me that the funtion never got past the second for in this case. &amp;nbsp;The first print for block name did fine. &amp;nbsp;Can someone please explain why it never got there when there are attributes in the blocks I had selected? &amp;nbsp;Is this perhaps searching for plain attribute outside a block?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;CommandMethod("LISTATT")&amp;gt; _&lt;BR /&gt;Public Sub ListAttributes()&lt;BR /&gt;Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor&lt;BR /&gt;Dim db As Database = HostApplicationServices.WorkingDatabase&lt;BR /&gt;Dim tr As Transaction = db.TransactionManager.StartTransaction()&lt;/P&gt;&lt;P&gt;' Start the transaction&lt;BR /&gt;Try&lt;BR /&gt;' Build a filter list so that only&lt;BR /&gt;' block references are selected&lt;BR /&gt;Dim filList As TypedValue() = New TypedValue(0) {New TypedValue(CInt(DxfCode.Start), "INSERT")}&lt;BR /&gt;Dim filter As New SelectionFilter(filList)&lt;BR /&gt;Dim opts As New PromptSelectionOptions()&lt;BR /&gt;opts.MessageForAdding = "Select block references: "&lt;BR /&gt;Dim res As PromptSelectionResult = ed.GetSelection(opts, filter)&lt;/P&gt;&lt;P&gt;' Do nothing if selection is unsuccessful&lt;BR /&gt;If res.Status &amp;lt;&amp;gt; PromptStatus.OK Then&lt;BR /&gt;Return&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;Dim selSet As SelectionSet = res.Value&lt;BR /&gt;Dim idArray As ObjectId() = selSet.GetObjectIds()&lt;BR /&gt;For Each blkId As ObjectId In idArray&lt;BR /&gt;Dim blkRef As BlockReference = DirectCast(tr.GetObject(blkId, OpenMode.ForRead), BlockReference)&lt;BR /&gt;Dim btr As BlockTableRecord = DirectCast(tr.GetObject(blkRef.BlockTableRecord, OpenMode.ForRead), BlockTableRecord)&lt;BR /&gt;ed.WriteMessage(vbLf &amp;amp; "Block: " + btr.Name)&lt;BR /&gt;btr.Dispose()&lt;/P&gt;&lt;P&gt;Dim attCol As AttributeCollection = blkRef.AttributeCollection&lt;BR /&gt;For Each attId As ObjectId In attCol&lt;BR /&gt;Dim attRef As AttributeReference = DirectCast(tr.GetObject(attId, OpenMode.ForRead), AttributeReference)&lt;/P&gt;&lt;P&gt;Dim str As String = ((vbLf &amp;amp; " Attribute Tag: " + attRef.Tag &amp;amp; vbLf &amp;amp; " Attribute String: ") + attRef.TextString)&lt;BR /&gt;ed.WriteMessage(str)&lt;BR /&gt;Next&lt;BR /&gt;Next&lt;BR /&gt;tr.Commit()&lt;BR /&gt;Catch ex As Autodesk.AutoCAD.Runtime.Exception&lt;BR /&gt;ed.WriteMessage(("Exception: " + ex.Message))&lt;BR /&gt;Finally&lt;BR /&gt;tr.Dispose()&lt;BR /&gt;End Try&lt;BR /&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 15:31:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333170#M48666</guid>
      <dc:creator>jaboone</dc:creator>
      <dc:date>2013-07-17T15:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333356#M48667</link>
      <description>&lt;P&gt;So your code does selected some block references and can print block name to the command line. The following code that loops through block's AttributeCollection looks good to me. If you step through your code in debugging, it should reveal the reason why the execution does not go inside For Each... of AttributeCollection (You mentioned you cannot debug, why? Writing code without being able to debug is a worst thing one can come to).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure the block selected has attribute in it? Note, if the attribute defined in block definition is constant, the block reference will not have corresponding attribute reference in it. If the block reference is inserted by your .NET code, the attribute reference has to be explicitly created and added into Blockreference's AttributeCollection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, you can simply add one line code to indicate if there is attributerefence in the block reference or not (well, since you cannot debug for odd, unknown reason):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim attCol As AttributeCollection = blkRef.AttributeCollection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ed.WriteMessage(vbcrlf &amp;amp; "{0} attribute found in block reference.", attCol.Count)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 16:41:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333356#M48667</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2013-07-17T16:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333469#M48668</link>
      <description>&lt;P&gt;I figured the problem and thanks for your help Norman. &amp;nbsp;The attribute was set for constant and I could have sworn I fixed those blocks a while back. &amp;nbsp;Moved the constant to preset and it works fine now. &amp;nbsp;That could have been the problem in the first example, but I have to move on now since this is what I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as the debugger is concerned, I am using the vb express version. &amp;nbsp;If I continue to program more I want to purchase the pro version. &amp;nbsp;I understand the debugger can not work in Express.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 17:44:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333469#M48668</guid>
      <dc:creator>jaboone</dc:creator>
      <dc:date>2013-07-17T17:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333523#M48669</link>
      <description>&lt;P&gt;I use the C# version of VS Express and I can step through code, halt at break points, inspect/set watches, etc.&amp;nbsp; Can't edit-and-continue, but my work process kind of minimizes the impact of that limitation.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 18:11:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333523#M48669</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2013-07-17T18:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333527#M48670</link>
      <description>&lt;P&gt;It should work for me then. &amp;nbsp;is there a blog for how to do that somewhere or can you tell me how?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 18:12:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333527#M48670</guid>
      <dc:creator>jaboone</dc:creator>
      <dc:date>2013-07-17T18:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Blocks, attributes and selection sets</title>
      <link>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333530#M48671</link>
      <description>&lt;P&gt;OH, keep in mind that I am creating dll's.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2013 18:13:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/blocks-attributes-and-selection-sets/m-p/4333530#M48671</guid>
      <dc:creator>jaboone</dc:creator>
      <dc:date>2013-07-17T18:13:49Z</dc:date>
    </item>
  </channel>
</rss>

