<?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: How to get properties of point in block reference C# in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-get-properties-of-point-in-block-reference-c/m-p/10315003#M16416</link>
    <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for your support, It worked as well as I hope &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 15 May 2021 14:31:29 GMT</pubDate>
    <dc:creator>KinAkira</dc:creator>
    <dc:date>2021-05-15T14:31:29Z</dc:date>
    <item>
      <title>How to get properties of point in block reference C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-properties-of-point-in-block-reference-c/m-p/10314877#M16414</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How we can get properties of some points in block reference?&lt;/P&gt;&lt;P&gt;I tried with code:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        var blockrf = (BlockReference)tr.GetObject(per.ObjectId, OpenMode.ForRead);
        var blockrc = (BlockTableRecord)tr.GetObject(blockrf.BlockTableRecord, OpenMode.ForRead);

                foreach(ObjectId id in blockrc)
                {
                    DBObject entObj = tr.GetObject(id, OpenMode.ForRead);
                    if (enobj is Point3d) // Error
                    {
                        var point = entObj as Point3d;
                    }
                }&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 15 May 2021 12:47:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-properties-of-point-in-block-reference-c/m-p/10314877#M16414</guid>
      <dc:creator>KinAkira</dc:creator>
      <dc:date>2021-05-15T12:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to get properties of point in block reference C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-properties-of-point-in-block-reference-c/m-p/10314957#M16415</link>
      <description>&lt;P&gt;Point3d is geometric information of a location/position, not an AutoCAD entity. The point entity in AutoCAD is DBPoint. So, your code should be&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if (enObj is DBPoint)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; // this is a point entity in the block definition.&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 13:57:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-properties-of-point-in-block-reference-c/m-p/10314957#M16415</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2021-05-15T13:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get properties of point in block reference C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-get-properties-of-point-in-block-reference-c/m-p/10315003#M16416</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/543921"&gt;@norman.yuan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for your support, It worked as well as I hope &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 May 2021 14:31:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-get-properties-of-point-in-block-reference-c/m-p/10315003#M16416</guid>
      <dc:creator>KinAkira</dc:creator>
      <dc:date>2021-05-15T14:31:29Z</dc:date>
    </item>
  </channel>
</rss>

