<?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 Betreff: Create Plugin in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11275954#M12713</link>
    <description>&lt;P&gt;I did everything as per your instructions, however, I can't find it by running the "MYTABLE" command in Civil3D.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Main file" style="width: 977px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1087530iA564F3DE9656EEDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="foto01.png" alt="Main file" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Main file&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LayerToTable" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1087531i2451E6B20F7C3E30/image-size/large?v=v2&amp;amp;px=999" role="button" title="foto02.png" alt="LayerToTable" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;LayerToTable&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2022 13:31:14 GMT</pubDate>
    <dc:creator>guilherme.franklin</dc:creator>
    <dc:date>2022-07-04T13:31:14Z</dc:date>
    <item>
      <title>Create Plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11225926#M12711</link>
      <description>&lt;P&gt;I want to develop a plugin to select a layer and create a table with the objects data, for example, the size of all circles that are in certain selected layer.&lt;/P&gt;&lt;P&gt;I'm new to Autocad API.NET, I'll be grateful for the help.&lt;/P&gt;&lt;P&gt;I'm using Autocad Civil 3D.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 22:59:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11225926#M12711</guid>
      <dc:creator>guilherme.franklin</dc:creator>
      <dc:date>2022-06-09T22:59:44Z</dc:date>
    </item>
    <item>
      <title>Betreff: Create Plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11231647#M12712</link>
      <description>&lt;P&gt;Here is a example for &lt;STRONG&gt;CIRCLES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In Autocad, you can use the command MYTABLE and select a object and get all circles on this layer in a table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your main file do something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Tools.LayerToTable layerToTable = null;
[CommandMethod("MYTABLE")]
public void MyTable()
{
    if (layerToTable == null) { layerToTable = new Tools.LayerToTable(); }
    try
    {
        layerToTable.GetObjectsOnLayer();
    }
    catch (System.Exception e) { MessageBox.Show("Original error: " + e.Message); }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then make a new file (LayerToTable.cs) and paste this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.EditorInput;
using acApp = Autodesk.AutoCAD.ApplicationServices.Application;
using System.Linq;
using System.Collections.Generic;
using Autodesk.AutoCAD.Interop.Common;
using Autodesk.AutoCAD.Interop;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.Colors;
using System;

namespace Tools
{
    public partial class LayerToTable
    {
        public void GetObjectsOnLayer()
        {
            // Use the active document
            Document doc = acApp.DocumentManager.MdiActiveDocument;
            Database db = doc.Database;
            Editor ed = doc.Editor;

            // Select a object
            PromptSelectionOptions pso = new PromptSelectionOptions();
            pso.SingleOnly = true;
            pso.SinglePickInSpace = true;
            PromptSelectionResult Selection = ed.GetSelection(pso);

            if (Selection.Status == PromptStatus.OK)
            {
                using (Transaction tr = db.TransactionManager.StartTransaction())
                {
                    try
                    {
                        // Get the selected entity
                        Entity SelectedEntity = (Entity)(tr.GetObject(Selection.Value.OfType&amp;lt;SelectedObject&amp;gt;().First().ObjectId, OpenMode.ForRead));

                        try
                        {
                            // Create the selection set
                            PromptSelectionResult acSSPrompt = null;

                            try
                            {
                                try
                                {
                                    TypedValue[] acTypValAr = new TypedValue[4];
                                    acTypValAr.SetValue(new TypedValue(67, 0), 0); // Model space = 0, paper space = 1
                                    acTypValAr.SetValue(new TypedValue((int)DxfCode.Visibility, 0), 1); // Visible = 0, invisible = 1
                                    acTypValAr.SetValue(new TypedValue((int)DxfCode.LayerName, SelectedEntity.Layer), 2); // Layer name
                                    acTypValAr.SetValue(new TypedValue((int)DxfCode.Start, "CIRCLE"), 3); // Circle
                                    SelectionFilter acSelFtr = new SelectionFilter(acTypValAr);

                                    // Select all entities on the selected object layer
                                    acSSPrompt = ed.SelectAll(acSelFtr);
                                }
                                catch (System.Exception ex)
                                {
                                    acApp.ShowAlertDialog("Filter error. Original error: " + ex.Message);
                                }

                                if (acSSPrompt.Value.Count &amp;lt;= 0)
                                {
                                    acApp.ShowAlertDialog("no objects selected.");
                                    return;
                                }

                                // Create a list with all circles in the selection
                                List&amp;lt;Tuple&amp;lt;Circle, Point3d, double&amp;gt;&amp;gt; circles = new List&amp;lt;Tuple&amp;lt;Circle, Point3d, double&amp;gt;&amp;gt;();
                                try
                                {
                                    foreach (SelectedObject obj in acSSPrompt.Value)
                                    {
                                        try
                                        {
                                            using (Circle circle = (Circle)obj.ObjectId.GetObject(OpenMode.ForRead))
                                            {
                                                circles.Add(new Tuple&amp;lt;Circle, Point3d, double&amp;gt;(circle, circle.Center, circle.Radius));
                                            }
                                        }
                                        catch
                                        {
                                            // All objects except circles...
                                            //acApp.ShowAlertDialog("Using circle error (not a circle?)");
                                        }
                                    }
                                }
                                catch
                                {
                                    acApp.ShowAlertDialog("ObjectId error");
                                }

                                // Start creating the table
                                if (circles.Count &amp;gt; 0)
                                {
                                    try
                                    {
                                        bool result = CrateTable(circles);
                                        if (!result) acApp.ShowAlertDialog("Table not created.");
                                    }
                                    catch (System.Exception ex)
                                    {
                                        acApp.ShowAlertDialog("CreateTable() error. Original error: " + ex.Message);
                                    }
                                }
                                else
                                {
                                    acApp.ShowAlertDialog("no circles found on this layer: " + SelectedEntity.Layer);
                                }
                            }
                            catch (System.Exception ex)
                            {
                                acApp.ShowAlertDialog("Select error. Original error: " + ex.Message);
                            }
                            acSSPrompt = null;
                        }
                        catch
                        {
                            acApp.ShowAlertDialog("No objects found...");
                        }
                    }
                    catch
                    {
                        acApp.ShowAlertDialog("No valid object...");
                    }
                    tr.Commit();
                }
            }
        }

        private bool CrateTable(List&amp;lt;Tuple&amp;lt;Circle, Point3d, double&amp;gt;&amp;gt; circles)
        {
            AcadDocument thisDrawing = (AcadDocument)acApp.DocumentManager.MdiActiveDocument.GetAcadDocument();
            Document doc = acApp.DocumentManager.MdiActiveDocument;
            Database db = doc.Database;
            Editor ed = doc.Editor;

            PromptPointResult pr = ed.GetPoint("\nEnter table insertion point: ");
            if (pr.Status == PromptStatus.OK)
            {
                // Create the table
                using (DocumentLock acLckDoc = doc.LockDocument())
                {
                    // Layer for the table (current layer or the layername below)
                    bool useCurrentLayer = true;
                    string tableLayer = "0";

                    // Color for position text in the table
                    string strColor = string.Format("Autocad.AcCmColor.{0}", acApp.Version.Major);
                    Color posColorFromIndex = Color.FromColorIndex(ColorMethod.ByAci, 84); // 84 = dark green (autocad color index)
                    AcadAcCmColor posColor = ((AcadApplication)Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication).GetInterfaceObject(strColor);
                    posColor.SetRGB(posColorFromIndex.ColorValue.R, posColorFromIndex.ColorValue.G, posColorFromIndex.ColorValue.B);

                    // Table layer
                    try
                    {
                        using (Transaction acTrans = db.TransactionManager.StartTransaction())
                        {
                            // Open the layer table for read
                            LayerTable acLyrTbl;
                            acLyrTbl = acTrans.GetObject(db.LayerTableId, OpenMode.ForRead) as LayerTable;
                            LayerTableRecord acLyrTblRec_Clayer = acTrans.GetObject(db.Clayer, OpenMode.ForRead) as LayerTableRecord;

                            // Abort if the layers are locked
                            if (!useCurrentLayer &amp;amp;&amp;amp; acLyrTbl.Has(tableLayer) == true)
                            {
                                // Use the custom layer for the table
                                LayerTableRecord acLyrTblRec_TableLayer = acTrans.GetObject(acLyrTbl[tableLayer], OpenMode.ForRead) as LayerTableRecord;
                                if (acLyrTblRec_Clayer.IsLocked || acLyrTblRec_TableLayer.IsLocked)
                                {
                                    acApp.ShowAlertDialog("Current layer and table layer ( " + tableLayer + ") must NOT be locked!");
                                    return false;
                                }
                            }
                            else
                            {
                                // Use the current layer for the table
                                tableLayer = acLyrTblRec_Clayer.Name;
                                if (acLyrTblRec_Clayer.IsLocked)
                                {
                                    acApp.ShowAlertDialog("Current layer must NOT be locked!");
                                    return false;
                                }
                            }
                        }
                    }
                    catch (System.Exception ex)
                    {
                        acApp.ShowAlertDialog("Layer error. Original error: " + ex.Message);
                        return false;
                    }

                    using (Transaction acTrans = db.TransactionManager.StartTransaction())
                    {
                        try
                        {
                            // Rows and columns
                            int rows = circles.Count() + 4; // Title | Header + ...Entities... + Empty line | Total line (means entities + 4 rows)
                            int columns = 3;

                            // Width and height of the cells
                            double defaultRowHeight = 5.7;
                            double defaultColumnWidth = 40;
                            double positionColumnWidth = 10;

                            // Round values to...
                            int decimalPlaces = 2;

                            double[] insertPoint = { pr.Value.X, pr.Value.Y, pr.Value.Z };
                            AcadTable acTable = new AcadTable();
                            acTable = thisDrawing.ModelSpace.AddTable(insertPoint, rows, columns, defaultRowHeight, defaultColumnWidth);

                            try
                            {
                                acTable.SetTextHeight((int)AcRowType.acTitleRow, 3);
                                acTable.SetTextHeight((int)AcRowType.acHeaderRow, 2);
                                acTable.SetTextHeight((int)AcRowType.acDataRow, 2);
                                acTable.SetTextStyle((int)AcRowType.acTitleRow, "Arial");
                                acTable.SetTextStyle((int)AcRowType.acHeaderRow, "Arial");
                                acTable.SetTextStyle((int)AcRowType.acDataRow, "Arial");
                                acTable.RowHeight = defaultRowHeight;
                                acTable.Layer = tableLayer;
                            }
                            catch (System.Exception ex)
                            {
                                acApp.ShowAlertDialog("Error define table. Original error: " + ex.Message);
                                return false;
                            }

                            try
                            {
                                // For each row...
                                for (int i = 0; i &amp;lt; rows; i++)
                                {
                                    if (i == 0)
                                    {
                                        // Title
                                        try
                                        {
                                            acTable.SetRowHeight(i, 0.5);
                                            string title = "Object list: " + circles[0].Item1.GetType().Name;
                                            acTable.SetCellValue(i, 0, title);
                                            acTable.SetCellAlignment(i, 0, AcCellAlignment.acMiddleCenter);
                                        }
                                        catch (System.Exception ex)
                                        {
                                            acApp.ShowAlertDialog("Title error: " + ex.Message);
                                            return false;
                                        }
                                    }
                                    else if (i == 1)
                                    {
                                        // Header
                                        try
                                        {
                                            for (int j = 0; j &amp;lt; columns; j++)
                                            {
                                                if (j == 0)
                                                {
                                                    // Pos.
                                                    SetTableCellValue(acTable, i, j, "Pos.", AcCellAlignment.acMiddleLeft);
                                                    acTable.SetCellContentColor(i, j, posColor);
                                                    acTable.SetColumnWidth(j, positionColumnWidth);
                                                }
                                                else if (j == 1)
                                                {
                                                    // Coordinates
                                                    SetTableCellValue(acTable, i, j, "Coordinates", AcCellAlignment.acMiddleLeft);
                                                    acTable.SetColumnWidth(j, defaultColumnWidth);
                                                }
                                                else if (j == 2)
                                                {
                                                    // Radius
                                                    SetTableCellValue(acTable, i, j, "Radius", AcCellAlignment.acMiddleLeft);
                                                    acTable.SetColumnWidth(j, defaultColumnWidth);
                                                }
                                            }
                                        }
                                        catch (System.Exception ex)
                                        {
                                            acApp.ShowAlertDialog("Header error: " + ex.Message);
                                            return false;
                                        }
                                    }
                                    else if (i == circles.Count() + 2)
                                    {
                                        // Empty line below before the total line
                                        try
                                        {
                                            acTable.VertCellMargin = 0;
                                            acTable.SetRowHeight(i, 0.5);
                                            acTable.MergeCells(i, i, 0, acTable.Columns - 1);
                                            continue;
                                        }
                                        catch (System.Exception ex)
                                        {
                                            acApp.ShowAlertDialog("Emptyline error: " + ex.Message);
                                            return false;
                                        }
                                    }
                                    else if (i == circles.Count() + 3)
                                    {
                                        // Total line below
                                        try
                                        {
                                            acTable.VertCellMargin = 0;
                                            acTable.SetRowHeight(i, defaultRowHeight);
                                            acTable.MergeCells(i, i, 0, acTable.Columns - 1);

                                            SetTableCellValue(acTable, i, 0, "Total: " + circles.Count().ToString(), AcCellAlignment.acMiddleLeft);
                                            continue;
                                        }
                                        catch (System.Exception ex)
                                        {
                                            acApp.ShowAlertDialog("Totelline error: " + ex.Message);
                                            return false;
                                        }
                                    }
                                    else
                                    {
                                        // All entity lines
                                        try
                                        {
                                            for (int j = 0; j &amp;lt; columns; j++)
                                            {
                                                if (j == 0)
                                                {
                                                    // Pos.
                                                    SetTableCellValue(acTable, i, j, (i - 1).ToString(), AcCellAlignment.acMiddleLeft);
                                                    acTable.SetCellContentColor(i, j, posColor);
                                                }
                                                else if (j == 1)
                                                {
                                                    // Coordinates
                                                    Point3d center = circles[i - 2].Item2;
                                                    string xyzText = Math.Round(center.X, decimalPlaces).ToString() + ","
                                                        + Math.Round(center.Y, decimalPlaces).ToString() + ","
                                                        + Math.Round(center.Z, decimalPlaces).ToString();
                                                    SetTableCellValue(acTable, i, j, xyzText, AcCellAlignment.acMiddleRight);
                                                }
                                                else if (j == 2)
                                                {
                                                    // Radius
                                                    string radiusText = Math.Round(circles[i - 2].Item3, decimalPlaces).ToString();
                                                    SetTableCellValue(acTable, i, j, radiusText, AcCellAlignment.acMiddleRight);
                                                }
                                            }
                                        }
                                        catch (System.Exception ex)
                                        {
                                            acApp.ShowAlertDialog("Entity error: " + ex.Message);
                                            return false;
                                        }
                                    }
                                }
                            }
                            catch (System.Exception ex)
                            {
                                acApp.ShowAlertDialog("Fill table cells error: Original error: " + ex.Message);
                                return false;
                            }
                        }
                        catch (System.Exception ex)
                        {
                            acApp.ShowAlertDialog("AcadTable error: " + ex.Message);
                            return false;
                        }
                        acTrans.Commit();
                    }
                }
            }
            return true;
        }

        private void SetTableCellValue(AcadTable table, int r, int c, string value, AcCellAlignment alignment)
        {
            table.SetCellValue(r, c, value);
            table.SetCellAlignment(r, c, alignment);
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 06:21:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11231647#M12712</guid>
      <dc:creator>stefan.hofer</dc:creator>
      <dc:date>2022-06-14T06:21:08Z</dc:date>
    </item>
    <item>
      <title>Betreff: Create Plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11275954#M12713</link>
      <description>&lt;P&gt;I did everything as per your instructions, however, I can't find it by running the "MYTABLE" command in Civil3D.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Main file" style="width: 977px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1087530iA564F3DE9656EEDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="foto01.png" alt="Main file" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Main file&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LayerToTable" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1087531i2451E6B20F7C3E30/image-size/large?v=v2&amp;amp;px=999" role="button" title="foto02.png" alt="LayerToTable" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;LayerToTable&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 13:31:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11275954#M12713</guid>
      <dc:creator>guilherme.franklin</dc:creator>
      <dc:date>2022-07-04T13:31:14Z</dc:date>
    </item>
    <item>
      <title>Betreff: Create Plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11275992#M12714</link>
      <description>&lt;P&gt;Your main file should look something like this one:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using System;
using System.Windows.Forms;
using Autodesk.AutoCAD.Runtime;

[assembly: CommandClass(typeof(Tools.index))]
namespace Tools
{
    public class index : IExtensionApplication
    {
        public void Initialize() { }

        public void Terminate() { throw new NotImplementedException(); }

        Tools.LayerToTable layerToTable = null;
        [CommandMethod("MYTABLE")]
        public void MyTable()
        {
            if (layerToTable == null) { layerToTable = new Tools.LayerToTable(); }
            try
            {
                layerToTable.GetObjectsOnLayer();
            }
            catch (System.Exception e) { MessageBox.Show("Original error: " + e.Message); }
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And you have to load this dll in autocad with the NETLOAD command. (or load it with a lisp file on startup)&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 13:54:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11275992#M12714</guid>
      <dc:creator>stefan.hofer</dc:creator>
      <dc:date>2022-07-04T13:54:43Z</dc:date>
    </item>
    <item>
      <title>Betreff: Create Plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11276403#M12715</link>
      <description>&lt;P&gt;I managed to execute, however, when inserting the points of the table I could not understand the code execution.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="select layers" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1087614iB3316BFC0EB5B410/image-size/large?v=v2&amp;amp;px=999" role="button" title="foto01.png" alt="select layers" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;select layers&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="insert table points" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1087615i0C7F4D49D6EA7877/image-size/large?v=v2&amp;amp;px=999" role="button" title="foto02.png" alt="insert table points" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;insert table points&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error defining table" style="width: 416px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1087613iF128E1B2F6BDE7B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="foto03.png" alt="error defining table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;error defining table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 18:18:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11276403#M12715</guid>
      <dc:creator>guilherme.franklin</dc:creator>
      <dc:date>2022-07-04T18:18:31Z</dc:date>
    </item>
    <item>
      <title>Betreff: Create Plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11276445#M12716</link>
      <description>&lt;P&gt;key not found?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i don't use civil. pearhaps in civil some table keys don't exist.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;try
{
    acTable.SetTextHeight((int)AcRowType.acTitleRow, 3);
    acTable.SetTextHeight((int)AcRowType.acHeaderRow, 2);
    acTable.SetTextHeight((int)AcRowType.acDataRow, 2);
    acTable.SetTextStyle((int)AcRowType.acTitleRow, "Arial");
    acTable.SetTextStyle((int)AcRowType.acHeaderRow, "Arial");
    acTable.SetTextStyle((int)AcRowType.acDataRow, "Arial");
    acTable.RowHeight = defaultRowHeight;
    acTable.Layer = tableLayer;
}
catch (System.Exception ex)
{
    acApp.ShowAlertDialog("Error define table. Original error: " + ex.Message);
    return false;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think (int)acRowType is the key.&lt;/P&gt;&lt;P&gt;you can try to comment out those lines. but i can't say exactly what the problem is.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 19:13:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11276445#M12716</guid>
      <dc:creator>stefan.hofer</dc:creator>
      <dc:date>2022-07-04T19:13:00Z</dc:date>
    </item>
    <item>
      <title>Betreff: Create Plugin</title>
      <link>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11276455#M12717</link>
      <description>&lt;P&gt;I understand. You helped me a lot, thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 19:24:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/create-plugin/m-p/11276455#M12717</guid>
      <dc:creator>guilherme.franklin</dc:creator>
      <dc:date>2022-07-04T19:24:24Z</dc:date>
    </item>
  </channel>
</rss>

