<?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: Smart Block to regular block in AutoCAD Electrical Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8962948#M19795</link>
    <description>&lt;P&gt;Technically I guess you could open the blocks in block editor and rename all the attributes. That way it would technically meet the criteria, in that the block would still have attributes but it would not be intelligent in the sense that ACADE would not know what to do with the attribute data. Though why they would want this is beyond me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also doing this to every single block is not going to be fun.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Jim alluded to ACADE produces 100% standard AutoCAD DWG drawings. You can open these in AutoCAD, AutoCAD LT, etc. You could, for example, open an ACADE block in the AutoCAD LT attribute editor and see it has an attribute called 'ASSYCODE' and its value is 'xyz' like any other kind of attribute. The difference between ACADE and AutoCAD vanilla is ACADE knows to look up its database for parts with corresponding 'ASSEMBLYLIST' values whereas AutoCAD will just treat it as any other attribute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could even edit attribute values, move blocks, redraw lines etc. in regular AutoCAD but it is very likely to cause project issues if that drawing is later used again in ACADE.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 10:57:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-13T10:57:37Z</dc:date>
    <item>
      <title>Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954023#M19789</link>
      <description>&lt;P&gt;As we are migrating to AutoCAD Electric one of our clients has an Issue. I know that Special Explode will convert all to lines etc.&amp;nbsp; Our client wishes for the blocks to remain however just not electrical.&amp;nbsp; Blocks with attributes, just not intelligence.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 19:40:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954023#M19789</guid>
      <dc:creator>Ken.castillo</dc:creator>
      <dc:date>2019-08-07T19:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954035#M19790</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Blocks with attributes are intelligent. Not sure what you are wanting here.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 19:45:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954035#M19790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-07T19:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954042#M19791</link>
      <description>&lt;P&gt;can Electrical drawing can be opened in regular autocad?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 19:47:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954042#M19791</guid>
      <dc:creator>Ken.castillo</dc:creator>
      <dc:date>2019-08-07T19:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954058#M19792</link>
      <description>&lt;P&gt;This might answer your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-electrical-forum/opening-autocad-electrical-file-with-autocad-lt/td-p/8398969" target="_blank"&gt;https://forums.autodesk.com/t5/autocad-electrical-forum/opening-autocad-electrical-file-with-autocad-lt/td-p/8398969&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 19:53:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954058#M19792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-07T19:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954077#M19793</link>
      <description>Well, it's the attributes that make the blocks intelligent, so this probably isn't possible.&lt;BR /&gt;&lt;BR /&gt;Or, more accurately, it's the attributes in the blocks that allow ACADE to execute its commands. The intelligence is actually in the command structure, but we still often refer to the blocks as if they are what's 'smart'. Put those blocks in any other software and they're as dumb as a box of rocks. But, the same can be said for a block in this software, if it doesn't have any (or the correct) attributes.&lt;BR /&gt;&lt;BR /&gt;If you take out the attributes of an ACADE block, you're also removing all of its annotation. Cross references, tags, pin numbers, etc are all held in attributes.&lt;BR /&gt;&lt;BR /&gt;That being said:&lt;BR /&gt;&lt;BR /&gt;If your clients aren't running ACADE, then they won't be able to use the attributes anyway - so might as well leave them in. &lt;BR /&gt;&lt;BR /&gt;And if your clients ARE using ACADE, then taking the attributes out of the blocks would totally undermine the software's ability to use them. Essentially, you'd be breaking the blocks so that they no longer work. Which means you wouldn't be able to do anything with them either, for instance if the client wanted the drawings edited in the future.&lt;BR /&gt;&lt;BR /&gt;If they're adamant that you supply them with drawings where the blocks aren't intelligent, but are still blocks, then I suppose you could use Special Explode to remove the unused attributes, and then re-block each symbol with a new name. The amount of CAD time this would take could very quickly cost the client more than what it did to create the drawings to begin with.&lt;BR /&gt;&lt;BR /&gt;It should be noted that any block built specifically for use within ACADE should function just fine in non-Electrical AutoCAD software. Meaning, you can take any one of ACADE's symbols into Mechanical, or regular vanilla ACAD, and use them as a block. You won't need a proxy handler or anything like that.</description>
      <pubDate>Wed, 07 Aug 2019 20:03:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954077#M19793</guid>
      <dc:creator>jseefdrumr</dc:creator>
      <dc:date>2019-08-07T20:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954169#M19794</link>
      <description>&lt;P&gt;Yes I agree, however when working with GLOBAL mega oil and gas corps that have drawings that are over 60 years old, they are very reluctant to change. Unfortunately it is mostly the US based companies that are like that.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 20:54:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8954169#M19794</guid>
      <dc:creator>Ken.castillo</dc:creator>
      <dc:date>2019-08-07T20:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8962948#M19795</link>
      <description>&lt;P&gt;Technically I guess you could open the blocks in block editor and rename all the attributes. That way it would technically meet the criteria, in that the block would still have attributes but it would not be intelligent in the sense that ACADE would not know what to do with the attribute data. Though why they would want this is beyond me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also doing this to every single block is not going to be fun.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Jim alluded to ACADE produces 100% standard AutoCAD DWG drawings. You can open these in AutoCAD, AutoCAD LT, etc. You could, for example, open an ACADE block in the AutoCAD LT attribute editor and see it has an attribute called 'ASSYCODE' and its value is 'xyz' like any other kind of attribute. The difference between ACADE and AutoCAD vanilla is ACADE knows to look up its database for parts with corresponding 'ASSEMBLYLIST' values whereas AutoCAD will just treat it as any other attribute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could even edit attribute values, move blocks, redraw lines etc. in regular AutoCAD but it is very likely to cause project issues if that drawing is later used again in ACADE.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 10:57:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8962948#M19795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T10:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8990529#M19796</link>
      <description>&lt;P&gt;Just for fun, I made a little VBA macro, that stupidifies the drawings. It renames all layers/blocks/attributes.&lt;/P&gt;
&lt;PRE&gt;Option Explicit

Public Sub Stupidify()

    
    ' Rename layers (Except 0 and defpoints)
    Dim Layer As AcadLayer
    Dim BlockRef As AcadBlockReference
    Dim Block As AcadBlock
    Dim AttRef As AcadAttributeReference
    Dim Att As AcadAttribute
    Dim Ent As AcadEntity
    Dim Counter As Integer
    Dim Prefix As String
    Dim NewName As String
    Counter = 0
    Prefix = "LAYER_"
    NewName = Prefix &amp;amp; CStr(Format(Counter, "0000"))
    For Each Layer In ActiveDocument.Layers
        If Layer.Name &amp;lt;&amp;gt; "0" And StrComp(Layer.Name, "defpoints", vbTextCompare) &amp;lt;&amp;gt; 0 Then
            While DoesLayerExist(NewName)
                Counter = Counter + 1
                NewName = Prefix &amp;amp; CStr(Format(Counter, "0000"))
            Wend
            Layer.Name = NewName
        End If
    Next
    
    
    Counter = 0
    Prefix = "BLOCK_"
    NewName = Prefix &amp;amp; CStr(Format(Counter, "0000"))
    
    For Each Block In ActiveDocument.Blocks
        
        If Left(Block.Name, 1) &amp;lt;&amp;gt; "*" Then
             While DoesBlockExist(NewName)
                Counter = Counter + 1
                NewName = Prefix &amp;amp; CStr(Format(Counter, "0000"))
            Wend
            Block.Name = NewName
        End If
        
        Dim AttCounter As Integer
        Dim AttPrefix As String
        Dim AttNewName As String
        AttCounter = 0
        AttPrefix = "ATT_"
        AttNewName = AttPrefix &amp;amp; CStr(Format(AttCounter, "0000"))
        
        For Each Ent In Block
            
            If TypeOf Ent Is IAcadAttribute Then
                Set Att = Ent
                While DoesAttributeExist(AttNewName, Block)
                    AttCounter = AttCounter + 1
                    AttNewName = AttPrefix &amp;amp; CStr(Format(AttCounter, "0000"))
                Wend
                Att.TagString = AttNewName
            End If
            
        Next
    Next
    
    Dim ss As AcadSelectionSet
    Dim DxfCode(0) As Integer
    Dim DxfData(0) As Variant
    
    DxfCode(0) = 0
    DxfData(0) = "INSERT"
    Set ss = ActiveDocument.SelectionSets.Add("BLOCKS")
    ss.Select acSelectionSetAll, , , DxfCode, DxfData
    
    For Each BlockRef In ss
        Counter = 0
        Prefix = "ATT_"
        NewName = Prefix &amp;amp; CStr(Format(Counter, "0000"))
        Dim Atts As Variant
        Dim AttCnt As Integer

        If BlockRef.HasAttributes Then
            Atts = BlockRef.GetAttributes
            For AttCnt = LBound(Atts) To UBound(Atts)
                Set AttRef = Atts(AttCnt)
                While DoesAttributeReferenceExist(NewName, BlockRef)
                    Counter = Counter + 1
                    NewName = Prefix &amp;amp; CStr(Format(Counter, "0000"))
                Wend
                
                AttRef.TagString = NewName
            Next
        End If
        
    Next

End Sub

Private Function DoesLayerExist(ByVal LayerName As String) As Boolean
    
    Dim Layer As AcadLayer
    
    For Each Layer In ActiveDocument.Layers
        If StrComp(Layer.Name, LayerName, vbTextCompare) = 0 Then
            DoesLayerExist = True
            Exit Function
        End If
    Next
    
    DoesLayerExist = False
    
End Function

Private Function DoesBlockExist(ByVal BlockName As String) As Boolean
    
    Dim Block As AcadBlock
    
    For Each Block In ActiveDocument.Blocks
        If StrComp(Block.Name, BlockName, vbTextCompare) = 0 Then
            DoesBlockExist = True
            Exit Function
        End If
    Next
    
    DoesBlockExist = False
    
End Function

Private Function DoesAttributeExist(ByVal AttName As String, Block As AcadBlock) As Boolean
    
    Dim Att As AcadAttribute
    Dim Ent As AcadEntity
    
    For Each Ent In Block
        If TypeOf Ent Is AcadAttribute Then
            Set Att = Ent
            If StrComp(Att.TagString, AttName, vbTextCompare) = 0 Then
                DoesAttributeExist = True
                Exit Function
            End If
        End If
    Next
    
    DoesAttributeExist = False
    
End Function

Private Function DoesAttributeReferenceExist(ByVal AttName As String, Block As AcadBlockReference) As Boolean
    
    Dim Att As AcadAttributeReference
    Dim Atts As Variant
    Dim AttCnt As Integer
    
    If Block.HasAttributes Then
        Atts = Block.GetAttributes
        For AttCnt = LBound(Atts) To UBound(Atts)
            Set Att = Atts(AttCnt)
            If StrComp(Att.TagString, AttName) = 0 Then
                DoesAttributeReferenceExist = True
                Exit Function
            End If
        Next
    End If

    DoesAttributeReferenceExist = False
    
End Function
&lt;/PRE&gt;
&lt;P&gt;Can be run in a script to apply to many drawings.&lt;/P&gt;
&lt;P&gt;See attached drawing for example.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2019 16:12:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/8990529#M19796</guid>
      <dc:creator>rhesusminus</dc:creator>
      <dc:date>2019-08-27T16:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/10190468#M19797</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/431646"&gt;@rhesusminus&lt;/a&gt;&amp;nbsp;Any advice on how to use this in a script? I have some work I need to send to a competitor and we don't want to lose any IP. Many thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 20:34:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/10190468#M19797</guid>
      <dc:creator>SeedyNotions</dc:creator>
      <dc:date>2021-03-26T20:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Block to regular block</title>
      <link>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/10191649#M19798</link>
      <description>&lt;P&gt;-VBARUN&lt;/P&gt;
&lt;P&gt;Filename.dvb!modulename.macroname&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works in a script.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Mar 2021 12:33:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-electrical-forum/smart-block-to-regular-block/m-p/10191649#M19798</guid>
      <dc:creator>rhesusminus</dc:creator>
      <dc:date>2021-03-27T12:33:21Z</dc:date>
    </item>
  </channel>
</rss>

