<?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: level finder! in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653422#M254019</link>
    <description>&lt;P&gt;Check some of my videos in youtube. Just go to Search and type LLAM TECH. There are some videos for beginners.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please subscribe and share.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;A href="http://youtu.be/eSys8gb2Ooo" target="_blank"&gt;http://youtu.be/eSys8gb2Ooo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2016 14:38:00 GMT</pubDate>
    <dc:creator>Llam.Tech</dc:creator>
    <dc:date>2016-10-28T14:38:00Z</dc:date>
    <item>
      <title>level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653372#M254017</link>
      <description>&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;I am super new in AutoCad and actually I am not a constructor;however, there is a project that I am working on it and I need to extract some info from a Cad file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assume you have some cubes (3d). The lower plan of each cubes is located in some arbitrary&amp;nbsp;height from z=0. If I have many cubes with different coordinates (x,y,z) how can I find the z coordinates of the buttom plan of each cubes in respect of an imaginary plan located at z=0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the attachment as an&amp;nbsp;example and assume I have 2000 cubes with different size in different positions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have a nice weekend all!&lt;/P&gt;&lt;P&gt;/Sam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 14:26:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653372#M254017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-28T14:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653400#M254018</link>
      <description>&lt;P&gt;type "ID" &amp;lt;&amp;lt;enter&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;ID: Identification&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 14:33:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653400#M254018</guid>
      <dc:creator>Llam.Tech</dc:creator>
      <dc:date>2016-10-28T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653422#M254019</link>
      <description>&lt;P&gt;Check some of my videos in youtube. Just go to Search and type LLAM TECH. There are some videos for beginners.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please subscribe and share.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;A href="http://youtu.be/eSys8gb2Ooo" target="_blank"&gt;http://youtu.be/eSys8gb2Ooo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 14:38:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653422#M254019</guid>
      <dc:creator>Llam.Tech</dc:creator>
      <dc:date>2016-10-28T14:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653475#M254020</link>
      <description>Hello&lt;BR /&gt;There are tones of materials in internet. I am looking specifically for the solution of what i posted. As i said i do not need to learn acad. It is not my field.&lt;BR /&gt;&lt;BR /&gt;Anyhow thx&lt;BR /&gt;Best&lt;BR /&gt;Sam</description>
      <pubDate>Fri, 28 Oct 2016 14:52:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653475#M254020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-28T14:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653487#M254021</link>
      <description>&lt;P&gt;Check my first comment regarding "ID"..&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 14:57:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653487#M254021</guid>
      <dc:creator>Llam.Tech</dc:creator>
      <dc:date>2016-10-28T14:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653597#M254022</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Assume you have some cubes (3d). The lower plan of each cubes is located in some arbitrary&amp;nbsp;height from z=0. If I have many cubes with different coordinates (x,y,z) how can I find the z coordinates of the buttom plan of each cubes in respect of an imaginary plan located at z=0.&lt;/P&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The suggestion to use the ID command will work &lt;EM&gt;if&lt;/EM&gt; you're looking from a point of view such as in your image, in which you will be able to pick on a &lt;EM&gt;bottom&lt;/EM&gt; corner of such a cube, presumably using ENDpoint or INTersection Object Snap.&amp;nbsp; ID will report to you the XYZ coordinates of the point you pick -- the elevation you want will be the last number [the Z coordinate].&amp;nbsp; But if you want to do this &lt;EM&gt;in plan view&lt;/EM&gt;, you won't be able to tell whether what it reports is the bottom corner or the top corner of the vertical edge at which you pick.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will tell you what you want to know, from any object [even things that are not 3D solid, and even non-model-type objects such as Text], and no matter what direction you're viewing from, with just the selection of the object:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun C:&lt;STRONG&gt;BLF&lt;/STRONG&gt; (/ esel minpt maxpt); = Base Level Finder
  (if (setq esel (entsel "\nObject to report level of base: "))
    (progn ; then
      (vla-getboundingbox (vlax-ename-&amp;gt;vla-object (car esel)) 'minpt 'maxpt)
      (prompt
        (strcat
          "\nBase of object is at Z = "
          (rtos (caddr (vlax-safearray-&amp;gt;list minpt)))
          "."
        ); strcat
      ); prompt
    ); progn
    (prompt "\nNo object selected.")
  ); if
  (princ)
); defun&lt;BR /&gt;(vl-load-com)&lt;BR /&gt;(prompt "\nType BLF for the Base Level Finder.")&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy [Ctrl-C] the code and paste it into a plain-text editor such as Notepad.&amp;nbsp; Save that to a file with a filetype ending of &lt;STRONG&gt;.&lt;/STRONG&gt;LSP [call it whatever you want -- I would use something obvious like BaseLevelFinder.lsp], in any location you will be able to find.&amp;nbsp; In an AutoCAD drawing, type AP [command alias for the APPLOAD command], navigate to where you saved that file, select and Load it.&amp;nbsp; Then type &lt;STRONG&gt;BLF&lt;/STRONG&gt; and select an object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It reports the base level elevation in whatever&amp;nbsp;type of Units&amp;nbsp;is currently set [decimal, fractional, architectural, etc.] in the Length category in the Units command dialog box, and to whatever precision is set there.&amp;nbsp; But it could be made to report it in any type of Units and precision you prefer [for instance, to round to the nearest whole unit, or to the nearest micron, or the nearest foot even if your drawing is not in architectural units, etc.].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that reports what you are looking for, there are things you could do to make it potentially more useful.&amp;nbsp; For example, it could easily be enhanced to let you select as many objects as you want, and to put the base elevations of all of them into an external file such as you can open in Notepad or Excel, or put them into the drawing as Text or Mtext, or average them, or....&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 16:02:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6653597#M254022</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2016-10-28T16:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6656642#M254023</link>
      <description>&lt;P&gt;Thanls I will try to see if it works in my case&amp;nbsp;&lt;/P&gt;&lt;P&gt;But thank you for the detail &amp;nbsp;description!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2016 07:46:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6656642#M254023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-31T07:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6659227#M254024</link>
      <description>Hello Thanx for the guidelines.&lt;BR /&gt;It is interesting but still I need to click on each surface of the cube. Is there any possibilities to have a loop that it automatically counts all the objects with X,y,Z) coordinates?)&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 01 Nov 2016 07:42:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6659227#M254024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-01T07:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6659734#M254025</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;....&amp;nbsp;I need to click on each surface of the cube. Is there any possibilities to have a loop that it automatically counts all the objects with X,y,Z) coordinates?) ....&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't quite understand.&amp;nbsp; You should get the base-plane elevation from selecting a cube [or anything else] &lt;EM&gt;anywhere&lt;/EM&gt;, and only &lt;EM&gt;once&lt;/EM&gt;.&amp;nbsp; So what is the "each surface" part about?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, it can be made to work with multiple selection&amp;nbsp;[see the second sentence in the last paragraph of Post 6].&amp;nbsp; But "all the objects with XYZ coordinates" would mean &lt;EM&gt;all objects in the drawing&lt;/EM&gt;, since &lt;EM&gt;all&lt;/EM&gt; drawn objects must necessarily have XYZ coordinates.&amp;nbsp; A simple &lt;EM&gt;count&lt;/EM&gt; [reporting of a numerical quantity] would not need to have any relation to any object's &lt;EM&gt;level&lt;/EM&gt; as the Subject line suggests there should be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What kind of output are you looking for?&amp;nbsp; Report to the Command line?&amp;nbsp; Text in the drawing?&amp;nbsp; An external text or spreadsheet file?&amp;nbsp; Should there be an entry for every object, or some kind of collective information such as the word "count" implies to me?&amp;nbsp;&amp;nbsp;If an entry for every object,&amp;nbsp;what ingredients should the output for an object contain?&amp;nbsp;&amp;nbsp;Only&amp;nbsp;its&amp;nbsp;base-plane elevation, as the Subject line implies?&amp;nbsp; The entity name and&amp;nbsp;its base-plane elevation?&amp;nbsp;&amp;nbsp;A set of&amp;nbsp;XYZ coordinates, and if so, the coordinates of &lt;EM&gt;what location&lt;/EM&gt; on the object?&amp;nbsp; Etc., etc., etc.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 13:10:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6659734#M254025</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2016-11-01T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6660525#M254026</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous﻿,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am guessing that a &lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2017/ENU/AutoCAD-Core/files/GUID-D1433C93-0E7F-46D0-8D05-78DF3626B146-htm.html" target="_blank"&gt;data extraction&lt;/A&gt; would do this for you. &amp;nbsp;You can identify which items you want information and include the geometry with Z position. Then you can easily export the data to Excel and sort by the Z value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#3366FF"&gt;Please select the Accept as Solution button if my post solves your issue or answers your question.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 18:08:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6660525#M254026</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2016-11-01T18:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: level finder!</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6663578#M254027</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous﻿,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am checking back to see if my post or others helped you with your problem.&lt;BR /&gt;Please add a post with how you decide to proceed and your results so other Community members may benefit.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#666699"&gt;Please select the Accept as Solution button if a post or posts fully solved your issue or answered your question.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2016 21:24:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/level-finder/m-p/6663578#M254027</guid>
      <dc:creator>john.vellek</dc:creator>
      <dc:date>2016-11-02T21:24:46Z</dc:date>
    </item>
  </channel>
</rss>

