<?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: Using GeometricExtents with UCS problems in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/using-geometricextents-with-ucs-problems/m-p/4923968#M44707</link>
    <description>&lt;P&gt;Perhaps like this&lt;/P&gt;
&lt;PRE&gt;AttEndPt = New Point3d(attref.GeometricExtents.MaxPoint.TransformBy(blkRef,BlockTransform).X, _

attref.GeometricExtents.MaxPointTransformBy(blkRef,BlockTransform).Y)
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 31 Mar 2014 20:19:53 GMT</pubDate>
    <dc:creator>Hallex</dc:creator>
    <dc:date>2014-03-31T20:19:53Z</dc:date>
    <item>
      <title>Using GeometricExtents with UCS problems</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-geometricextents-with-ucs-problems/m-p/4923890#M44706</link>
      <description>&lt;P&gt;I've looked around at some other posts but can't find the answer to my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get the distance from the insertion point of a block and the maxX, maxY of an attribute of the block. My routine works fine when there is no UCS, however, the MaxPoints I get back when there is&amp;nbsp;a UCS present is different. This is the line of code I'm using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AttEndPt = &lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;&lt;FONT face="Consolas" color="#0000ff" size="2"&gt;New&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;&lt;FONT face="Consolas" color="#2b91af" size="2"&gt;Point2d&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;(attref.GeometricExtents.MaxPoint.X, attref.GeometricExtents.MaxPoint.Y)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;The point returned is different if there is no UCS and when there is a UCS.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;cj&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 20:00:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-geometricextents-with-ucs-problems/m-p/4923890#M44706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-31T20:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using GeometricExtents with UCS problems</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-geometricextents-with-ucs-problems/m-p/4923968#M44707</link>
      <description>&lt;P&gt;Perhaps like this&lt;/P&gt;
&lt;PRE&gt;AttEndPt = New Point3d(attref.GeometricExtents.MaxPoint.TransformBy(blkRef,BlockTransform).X, _

attref.GeometricExtents.MaxPointTransformBy(blkRef,BlockTransform).Y)
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2014 20:19:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-geometricextents-with-ucs-problems/m-p/4923968#M44707</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2014-03-31T20:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using GeometricExtents with UCS problems</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-geometricextents-with-ucs-problems/m-p/4925438#M44708</link>
      <description>&lt;P&gt;Thanks Hallex,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It turns out it was more of a problem in my logic..got it working the way I needed to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cj&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2014 12:26:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-geometricextents-with-ucs-problems/m-p/4925438#M44708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-01T12:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using GeometricExtents with UCS problems</title>
      <link>https://forums.autodesk.com/t5/net-forum/using-geometricextents-with-ucs-problems/m-p/4929544#M44709</link>
      <description>&lt;P&gt;The saga continues..... Although I have altered my logic, still have an issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I really need to do is find the coordinate that represents the end of an Attribute value when there is a UCS present.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have tried using the GeometricExtents, with and without the transformby and can't seem to get where I need to be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure of what logic to use, try and get the length of the text of the Attribute value, then apply that to the insertion point, but I can't seem to do this with UCS coordinates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone provide some insight or any&amp;nbsp;suggestions on the easiet way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2014 15:38:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/using-geometricextents-with-ucs-problems/m-p/4929544#M44709</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-02T15:38:10Z</dc:date>
    </item>
  </channel>
</rss>

