<?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 C# code to create Wblock does not save it to 0,0,0 in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10553110#M15510</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        [CommandMethod("WW", CommandFlags.UsePickSet | CommandFlags.Redraw)]
        public void WW()
        {
            var doc = Application.DocumentManager.MdiActiveDocument;
            var db = doc.Database;
            var ed = doc.Editor;
            doc.Editor.Command("._-OVERKILL", "_ALL", "", "");

            string message, title, defaultValue;
            string myValue;
            message = "Enter The First Six Digits" + Environment.NewLine + "of the Work Order Number";
            title = "Save W-Block";
            defaultValue = "";
            myValue = Interaction.InputBox(message, title, defaultValue);
            if (myValue == "") return;
            MyVar = myValue.Substring(0, 3);
            MyResult = myValue;
            MyFolder = @"W:\" + MyVar + "\\";

            var prRes = ed.GetSelection();
            if (prRes.Status != PromptStatus.OK)
                return;
            var objIds = new ObjectIdCollection();
            var objIdArray = prRes.Value.GetObjectIds();

            foreach (var id in objIdArray)
                objIds.Add(id);

            using (var newDb = new Database(true, false))
            {
                using (Transaction tr = db.TransactionManager.StartTransaction())
                {
                    db.Wblock(newDb, objIds, new Point3d(0,0,0), DuplicateRecordCloning.Ignore);
                    FileName = MyFolder + MyResult;
                    FileName = FileName.Replace("(OK,", "");
                    FileName = FileName.Replace(")", "");
                    var mess = "Enter The Name to Save the File as";
                    var tle = "Save W-Block";

                    myValue = Interaction.InputBox(mess, tle, FileName);

                    if (myValue == "")
                    {
                        Application.Quit();
                    }
                    else if (myValue != "")
                    {
                        if (File.Exists(myValue + ".dwg"))
                        {
                            var dialogResult = MessageBox.Show("File Exists, Overwrite?", "Question",
                                MessageBoxButtons.YesNo);
                            if (dialogResult == DialogResult.Yes)
                            newDb.SaveAs(myValue + ".dwg", DwgVersion.AC1027);
                            else
                                return;
                        }
                        else
                        {
                            newDb.SaveAs(myValue + ".dwg", DwgVersion.AC1027);
                        }
                    }
                }
            }
            ;
            MoreWs();
        }&lt;/LI-CODE&gt;&lt;P&gt;This is the method I'm using, but the Wblock is never at the 0,0,0 location. Any help would be appreciated.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 20:24:53 GMT</pubDate>
    <dc:creator>user08QGULW</dc:creator>
    <dc:date>2021-08-17T20:24:53Z</dc:date>
    <item>
      <title>C# code to create Wblock does not save it to 0,0,0</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10553110#M15510</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        [CommandMethod("WW", CommandFlags.UsePickSet | CommandFlags.Redraw)]
        public void WW()
        {
            var doc = Application.DocumentManager.MdiActiveDocument;
            var db = doc.Database;
            var ed = doc.Editor;
            doc.Editor.Command("._-OVERKILL", "_ALL", "", "");

            string message, title, defaultValue;
            string myValue;
            message = "Enter The First Six Digits" + Environment.NewLine + "of the Work Order Number";
            title = "Save W-Block";
            defaultValue = "";
            myValue = Interaction.InputBox(message, title, defaultValue);
            if (myValue == "") return;
            MyVar = myValue.Substring(0, 3);
            MyResult = myValue;
            MyFolder = @"W:\" + MyVar + "\\";

            var prRes = ed.GetSelection();
            if (prRes.Status != PromptStatus.OK)
                return;
            var objIds = new ObjectIdCollection();
            var objIdArray = prRes.Value.GetObjectIds();

            foreach (var id in objIdArray)
                objIds.Add(id);

            using (var newDb = new Database(true, false))
            {
                using (Transaction tr = db.TransactionManager.StartTransaction())
                {
                    db.Wblock(newDb, objIds, new Point3d(0,0,0), DuplicateRecordCloning.Ignore);
                    FileName = MyFolder + MyResult;
                    FileName = FileName.Replace("(OK,", "");
                    FileName = FileName.Replace(")", "");
                    var mess = "Enter The Name to Save the File as";
                    var tle = "Save W-Block";

                    myValue = Interaction.InputBox(mess, tle, FileName);

                    if (myValue == "")
                    {
                        Application.Quit();
                    }
                    else if (myValue != "")
                    {
                        if (File.Exists(myValue + ".dwg"))
                        {
                            var dialogResult = MessageBox.Show("File Exists, Overwrite?", "Question",
                                MessageBoxButtons.YesNo);
                            if (dialogResult == DialogResult.Yes)
                            newDb.SaveAs(myValue + ".dwg", DwgVersion.AC1027);
                            else
                                return;
                        }
                        else
                        {
                            newDb.SaveAs(myValue + ".dwg", DwgVersion.AC1027);
                        }
                    }
                }
            }
            ;
            MoreWs();
        }&lt;/LI-CODE&gt;&lt;P&gt;This is the method I'm using, but the Wblock is never at the 0,0,0 location. Any help would be appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 20:24:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10553110#M15510</guid>
      <dc:creator>user08QGULW</dc:creator>
      <dc:date>2021-08-17T20:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: C# code to create Wblock does not save it to 0,0,0</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10571482#M15511</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;You will have better luck posting this --&amp;gt; &lt;A href="https://forums.autodesk.com/t5/net/bd-p/152" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;HTH&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 05:44:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10571482#M15511</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2021-08-25T05:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: C# code to create Wblock does not save it to 0,0,0</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10572793#M15512</link>
      <description>&lt;P&gt;Thank you for the head-up &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt; !&lt;BR /&gt;I moved this thread to .NET forum&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 14:23:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10572793#M15512</guid>
      <dc:creator>lena.talkhina</dc:creator>
      <dc:date>2021-08-25T14:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: C# code to create Wblock does not save it to 0,0,0</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10573302#M15513</link>
      <description>&lt;P&gt;So, you want to select some entities and save it as a block dwg file with Database.WBlock() method. I assume when you say "&lt;EM&gt;...&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;but the Wblock is never at the 0,0,0 location...&lt;/EM&gt;", you mean the base point of the created block is not where you want it to be. But you do explicitly passed Point3d(0,0,0), so yes, the base point is where your code want it to be - the current drawing's 0.0, 0.0, which might not be the intended block insertion/base point, if the selected entities is far from 0.0, 0.0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Since your intention is to create a block by selecting existing entities in current drawing, you SHOULD also ask user to select a point as the base/insertion point for the block. Following code works as expected, where I select a Circle and a few other entities to be WBlocked, then I select the center of the circle as base point. The generated block has its base point at where it should be:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;        [CommandMethod("MyWBlock")]
        public static void DoWBlock()
        {
            var dwg = CadApp.DocumentManager.MdiActiveDocument;
            var ed = dwg.Editor;

            SelectEntitiesAndBasePoint(ed, out ObjectIdCollection entIds, out Point3d basePoint);
            if (entIds!=null)
            {
                using (var newDB = new Database(true, true))
                {
                    dwg.Database.Wblock(newDB, entIds, basePoint, DuplicateRecordCloning.Ignore);
                    newDB.SaveAs(@"E:\Temp\MyTestBlock.dwg", DwgVersion.Current);
                }
            }
        }


        private static void SelectEntitiesAndBasePoint(
            Editor ed, out ObjectIdCollection entIds, out Point3d basePoint)
        {
            entIds = null;
            basePoint = Point3d.Origin;

            var selectionRes = ed.GetSelection();
            if (selectionRes.Status== PromptStatus.OK)
            {
                var pointRes = ed.GetPoint("\nSelect base point for WBLOCKing:");
                if (pointRes.Status== PromptStatus.OK)
                {
                    entIds = new ObjectIdCollection(selectionRes.Value.GetObjectIds());
                    basePoint = pointRes.Value;
                }
            }
        }&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also regarding your code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. There is no need to start a Transaction for calling Database.WBlock(). Furthermore, you started a Transaction but not commit it, which is bad practice. Again, transaction is not needed here;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. When creating the new Database, yes, the first argument should be "true",&amp;nbsp; but the second argument should also be "true" (meaning no document);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Why do you have this:&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-csharp"&gt;&lt;CODE&gt;if (myValue == "")
                    {
                        Application.Quit();
                    }&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You cannot (should not) close down AutoCAD while you are running a command in DocumentContext. In your case, if the block name (myValue) is not entered, you simply not save the newDB and let it be disposed at the end of using(){...} block, and the command finishes. Better yet, you should ask user for the block name BEFORE creating the newDB and call WBlock() method, so that if user does not enter block name, no new database is created, nor WBlock() call is needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 17:09:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10573302#M15513</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2021-08-25T17:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: C# code to create Wblock does not save it to 0,0,0</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10573598#M15514</link>
      <description>&lt;P&gt;Hi Norman,&lt;/P&gt;&lt;P&gt;Thank you for your time and suggestions. I will make the changes accordingly!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 19:25:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10573598#M15514</guid>
      <dc:creator>user08QGULW</dc:creator>
      <dc:date>2021-08-25T19:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: C# code to create Wblock does not save it to 0,0,0</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10573634#M15515</link>
      <description>&lt;P&gt;Hi Norman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After testing the code you provided, the W-Block still maintains it's original position on the screen. I would like the W-Block to be created at the 0,0 location. Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 19:38:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10573634#M15515</guid>
      <dc:creator>user08QGULW</dc:creator>
      <dc:date>2021-08-25T19:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: C# code to create Wblock does not save it to 0,0,0</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10573854#M15516</link>
      <description>&lt;P&gt;Well, I do not know how you tested. Following video shows how the code from my previous post worked as expected: I ran the code twice to select 2 different groups of entities, with different base points, to create the block file with WBlock() method. The generated block file were exactly as I wanted with their insertion points in the correct location. So, I have no other answer for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="b9344b47-5089-4853-9fc7-956f19cb1b45" class="myscreencast-iframe iframe-container active-myscreencast"&gt;&lt;IFRAME src="https://screencast.autodesk.com/Embed/Timeline/b9344b47-5089-4853-9fc7-956f19cb1b45" width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/b9344b47-5089-4853-9fc7-956f19cb1b45"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV class="myscreencast-iframe iframe-container active-myscreencast"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="a2417075-f444-4d8b-b3d5-2f4f3781e9a9" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/a2417075-f444-4d8b-b3d5-2f4f3781e9a9"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="139bb535-5697-4b81-bb68-c4ec57e4f8fd" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/139bb535-5697-4b81-bb68-c4ec57e4f8fd"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="ff4a3c7c-f424-49ed-b117-cb337299af8c" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/ff4a3c7c-f424-49ed-b117-cb337299af8c"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="1d6b411d-2561-4030-8d3a-dc4d3f9985f3" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/1d6b411d-2561-4030-8d3a-dc4d3f9985f3"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="707b6b2c-3848-476c-8937-625e90536d81" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/707b6b2c-3848-476c-8937-625e90536d81"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="3dbcf42e-6375-435d-b1a1-7b99b8a6c657" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/3dbcf42e-6375-435d-b1a1-7b99b8a6c657"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="19782a02-f60e-4942-9e60-f72fcca2b7e4" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/19782a02-f60e-4942-9e60-f72fcca2b7e4"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="304a6fcb-420d-40e4-bdc9-9e95475b5a98" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="680" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/304a6fcb-420d-40e4-bdc9-9e95475b5a98"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="c21a4cae-514d-4aa0-a84b-d4ee21414359" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/c21a4cae-514d-4aa0-a84b-d4ee21414359"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="c82f9b20-ebb5-4cc8-a231-c7cc630573f5" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="680" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/c82f9b20-ebb5-4cc8-a231-c7cc630573f5"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="56b3d1f5-4352-45ce-bcad-633aaafe5700" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/56b3d1f5-4352-45ce-bcad-633aaafe5700"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="27542ff4-d357-4d75-9275-a9ce77af9ec7" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/27542ff4-d357-4d75-9275-a9ce77af9ec7"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="53476c94-2cb6-4e15-88a8-bc402033c2a2" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/53476c94-2cb6-4e15-88a8-bc402033c2a2"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="32b28b51-944b-4a67-8d23-aa402aabf154" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/32b28b51-944b-4a67-8d23-aa402aabf154"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="31a3b77b-2605-4964-a93e-550fdaebc3ee" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/31a3b77b-2605-4964-a93e-550fdaebc3ee"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="31769b36-4d11-41ab-b2e8-3cc2d055e7ec" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/31769b36-4d11-41ab-b2e8-3cc2d055e7ec"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="551f7cd3-3b19-43e9-9ecc-1919eec085ca" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="680" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/551f7cd3-3b19-43e9-9ecc-1919eec085ca"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="593b985f-3b05-4f75-bca7-e989f95b0513" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/593b985f-3b05-4f75-bca7-e989f95b0513"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="058a151f-12fd-4374-b8ef-c22cda6d0ba5" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/058a151f-12fd-4374-b8ef-c22cda6d0ba5"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="dc56311b-e6b0-415e-9e09-907434f5c813" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/dc56311b-e6b0-415e-9e09-907434f5c813"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="0f53a9ae-05f8-4a30-a518-60ca2f2a2bb4" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/0f53a9ae-05f8-4a30-a518-60ca2f2a2bb4"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="12de9a5f-bee4-4913-9e4a-cb26526cbc06" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="680" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/12de9a5f-bee4-4913-9e4a-cb26526cbc06"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="25f90c13-dead-41a9-bdd0-5c9aa241d4ea" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/25f90c13-dead-41a9-bdd0-5c9aa241d4ea"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="8139cb90-adc5-4813-9154-dfb1a668c76e" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/8139cb90-adc5-4813-9154-dfb1a668c76e"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="138aa0e0-b1f2-4e91-8392-2a7ee44ff769" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/138aa0e0-b1f2-4e91-8392-2a7ee44ff769"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="aa3027c7-0fa2-48f6-8f07-4eab76f36d24" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="680" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/aa3027c7-0fa2-48f6-8f07-4eab76f36d24"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="6fb7ce24-fa07-4567-a13a-013ff6a07844" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/6fb7ce24-fa07-4567-a13a-013ff6a07844"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="b1c2b204-d4c3-4a45-a3d3-35bdfbb8d905" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/b1c2b204-d4c3-4a45-a3d3-35bdfbb8d905"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="95274e66-6ff1-4310-aa0e-3064d6ae8dfe" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/95274e66-6ff1-4310-aa0e-3064d6ae8dfe"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="7bcefadd-6bd1-4c07-94a2-71c03e71d8db" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="680" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/7bcefadd-6bd1-4c07-94a2-71c03e71d8db"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="8c995628-93d1-42a8-919f-2f56790ad59e" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="620" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/8c995628-93d1-42a8-919f-2f56790ad59e"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="fdfe7fe3-264a-4e0a-ac5e-e0a143c34b32" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/fdfe7fe3-264a-4e0a-ac5e-e0a143c34b32"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="2c0c2d96-f9d8-40e4-bce7-193ac05192a3" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/2c0c2d96-f9d8-40e4-bce7-193ac05192a3"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="835605ed-b87e-4e00-9072-718e95221454" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/835605ed-b87e-4e00-9072-718e95221454"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="f7e38816-5609-4a6b-b9a7-07ae8e5db6ff" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/f7e38816-5609-4a6b-b9a7-07ae8e5db6ff"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="7bf6c199-c86c-4950-9974-8ac92d1d5bdf" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="680" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/7bf6c199-c86c-4950-9974-8ac92d1d5bdf"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="172dd7c7-982a-4067-b85c-9375d2e0d29d" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/172dd7c7-982a-4067-b85c-9375d2e0d29d"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="dc200d1b-780c-4f44-9b2d-4f8c1d6772eb" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/dc200d1b-780c-4f44-9b2d-4f8c1d6772eb"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="cd03713c-e6a4-4602-a7d2-25fdef51ac58" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="710" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/cd03713c-e6a4-4602-a7d2-25fdef51ac58"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="79c13653-e085-44d4-bfbb-272f1df76a6f" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/79c13653-e085-44d4-bfbb-272f1df76a6f"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="6f1c8983-48fb-454f-8262-99b69e38d7b9" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="680" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/6f1c8983-48fb-454f-8262-99b69e38d7b9"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="e05c9446-00eb-48ba-9066-c0fbf01fd4d2" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/e05c9446-00eb-48ba-9066-c0fbf01fd4d2"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="c62988c4-573b-412a-8ecf-e3507f5c872c" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="680" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/c62988c4-573b-412a-8ecf-e3507f5c872c"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;DIV id="83e37fdd-5485-4508-b061-322f4ee62908" class="myscreencast-iframe iframe-container" style="display: none;"&gt;&lt;IFRAME width="640" height="650" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" data-src="https://screencast.autodesk.com/Embed/Timeline/83e37fdd-5485-4508-b061-322f4ee62908"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Aug 2021 21:20:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-code-to-create-wblock-does-not-save-it-to-0-0-0/m-p/10573854#M15516</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2021-08-25T21:20:17Z</dc:date>
    </item>
  </channel>
</rss>

