<?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: Parent object's Z coordinate in AutoCAD Architecture Customization Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559891#M6543</link>
    <description>Does anybody know the property of mass elements. I am trying to have a PSD pull the elevation from a mass element. I think the ceiling one will work, i just need to change the object type instead of clg.location to ????.location or ????.elevation.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there a listing of these anywhere?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Eric</description>
    <pubDate>Thu, 19 Feb 2009 18:39:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-02-19T18:39:35Z</dc:date>
    <item>
      <title>Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559875#M6527</link>
      <description>I need to get elevation of a wall to which my window is attached to.&lt;BR /&gt;
I had hoped to get it like this:&lt;BR /&gt;
&lt;BR /&gt;
Dim Anch, Obj, PObj, App&lt;BR /&gt;
&lt;BR /&gt;
Set App = GetObject(,"AutoCAD.Application")&lt;BR /&gt;
Set Obj = App.Activedocument.ObjectIDtoobject("[ObjectID]")&lt;BR /&gt;
Set Anch = Obj.GetAnchor&lt;BR /&gt;
Set PObj = Anch.Reference&lt;BR /&gt;
&lt;BR /&gt;
RESULT = PObj.Location(2)&lt;BR /&gt;
&lt;BR /&gt;
This fails, why?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Jussi</description>
      <pubDate>Fri, 17 Feb 2006 11:56:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559875#M6527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-17T11:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559876#M6528</link>
      <description>What version of ADT are you using?  Your "Set App" line needs to be changed, based on the version you use:&lt;BR /&gt;
&lt;BR /&gt;
2004&lt;BR /&gt;
Set App = GetObject(,"AutoCAD.Application.16")&lt;BR /&gt;
&lt;BR /&gt;
2005&lt;BR /&gt;
Set App = GetObject(,"AutoCAD.Application.16.1")&lt;BR /&gt;
&lt;BR /&gt;
2006&lt;BR /&gt;
Set App = GetObject(,"AutoCAD.Application.16.2")&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
David Koch&lt;BR /&gt;
Autodesk Discussion Group Facilitator</description>
      <pubDate>Fri, 17 Feb 2006 12:29:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559876#M6528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-17T12:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559877#M6529</link>
      <description>It's 2006, but this way it will work on 2004 to 2006 versions.&lt;BR /&gt;
I know this is something you shouldn't do...&lt;BR /&gt;
&lt;BR /&gt;
Jussi&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;DAVID_W._KOCH&gt; kirjoitti viestissä:5089334@discussion.autodesk.com...&lt;BR /&gt;
What version of ADT are you using?  Your "Set App" line needs to be changed, &lt;BR /&gt;
based on the version you use:&lt;BR /&gt;
&lt;BR /&gt;
2004&lt;BR /&gt;
Set App = GetObject(,"AutoCAD.Application.16")&lt;BR /&gt;
&lt;BR /&gt;
2005&lt;BR /&gt;
Set App = GetObject(,"AutoCAD.Application.16.1")&lt;BR /&gt;
&lt;BR /&gt;
2006&lt;BR /&gt;
Set App = GetObject(,"AutoCAD.Application.16.2")&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
David Koch&lt;BR /&gt;
Autodesk Discussion Group Facilitator&lt;/DAVID_W._KOCH&gt;</description>
      <pubDate>Fri, 17 Feb 2006 16:42:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559877#M6529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-17T16:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559878#M6530</link>
      <description>OK, I see where omitting the number altogether does work, at least it does in 2004 and I can not test any other version right now.&lt;BR /&gt;
&lt;BR /&gt;
From where are you getting the ObjectID property?  [Perhaps this was added in 2005 or 2006, in which case you will have to excuse my ignorance, as I do not have access to either of those versions right now.]  You may have better luck using the Handle automatic property.  I have seen the following work in 2004, 2005 and 2006, to get the wall object in which a door is anchored.  A similar approach should work for windows, as well.  Note that while you can leave off the ".16" and have it work in 2004, you can not omit the ".4".  This should be ".4.5" for 2005 and ".4.7" for 2006.  I leave working out whether the "Location(2)" part will return the elevation of the wall up to you.&lt;BR /&gt;
&lt;BR /&gt;
Set app = GetObject(,"AutoCAD.Application.16")&lt;BR /&gt;
Set sched = app.GetInterfaceObject("AecX.AecScheduleApplication.4")&lt;BR /&gt;
Set door = app.ActiveDocument.HandleToObject("[Handle]")&lt;BR /&gt;
Set anchor = door.GetAnchor()&lt;BR /&gt;
Set wall = anchor.Reference&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
David Koch&lt;BR /&gt;
Autodesk Discussion Group Facilitator</description>
      <pubDate>Fri, 17 Feb 2006 23:35:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559878#M6530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-17T23:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559879#M6531</link>
      <description>ObjectID comes from the Window. Using ObjectIDs is similar to Handles, but &lt;BR /&gt;
the big difference is that Handles fail inside XREFs.&lt;BR /&gt;
Anyway, I'm able to get to the parent object (Wall) succesfully, the actual &lt;BR /&gt;
problem is with the Location property.&lt;BR /&gt;
&lt;BR /&gt;
Formula succeeds if the last line is&lt;BR /&gt;
&lt;BR /&gt;
    RESULT = PObj.Location&lt;BR /&gt;
&lt;BR /&gt;
.. but this returns unusable information.&lt;BR /&gt;
Extracting the value for z coordinate ("Location(2)") fails.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Jussi&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;DAVID_W._KOCH&gt; kirjoitti viestissä:5090236@discussion.autodesk.com...&lt;BR /&gt;
OK, I see where omitting the number altogether does work, at least it does &lt;BR /&gt;
in 2004 and I can not test any other version right now.&lt;BR /&gt;
&lt;BR /&gt;
From where are you getting the ObjectID property?  [Perhaps this was added &lt;BR /&gt;
in 2005 or 2006, in which case you will have to excuse my ignorance, as I do &lt;BR /&gt;
not have access to either of those versions right now.]  You may have better &lt;BR /&gt;
luck using the Handle automatic property.  I have seen the following work in &lt;BR /&gt;
2004, 2005 and 2006, to get the wall object in which a door is anchored.  A &lt;BR /&gt;
similar approach should work for windows, as well.  Note that while you can &lt;BR /&gt;
leave off the ".16" and have it work in 2004, you can not omit the ".4". &lt;BR /&gt;
This should be ".4.5" for 2005 and ".4.7" for 2006.  I leave working out &lt;BR /&gt;
whether the "Location(2)" part will return the elevation of the wall up to &lt;BR /&gt;
you.&lt;BR /&gt;
&lt;BR /&gt;
Set app = GetObject(,"AutoCAD.Application.16")&lt;BR /&gt;
Set sched = app.GetInterfaceObject("AecX.AecScheduleApplication.4")&lt;BR /&gt;
Set door = app.ActiveDocument.HandleToObject("[Handle]")&lt;BR /&gt;
Set anchor = door.GetAnchor()&lt;BR /&gt;
Set wall = anchor.Reference&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
David Koch&lt;BR /&gt;
Autodesk Discussion Group Facilitator&lt;/DAVID_W._KOCH&gt;</description>
      <pubDate>Sun, 19 Feb 2006 15:22:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559879#M6531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-19T15:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559880#M6532</link>
      <description>Jussi wrote:&lt;BR /&gt;
&amp;gt; Formula succeeds if the last line is&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt;     RESULT = PObj.Location&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; .. but this returns unusable information.&lt;BR /&gt;
&amp;gt; Extracting the value for z coordinate ("Location(2)") fails.&lt;BR /&gt;
&lt;BR /&gt;
Try this instead of the single line above:&lt;BR /&gt;
&lt;BR /&gt;
Dim pnt as Variant&lt;BR /&gt;
pnt = PObj.Location&lt;BR /&gt;
&lt;BR /&gt;
RESULT = pnt(2)&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Brian Winterscheidt&lt;BR /&gt;
LWPB Architects &amp;amp; Planners, P.C.&lt;BR /&gt;
Oklahoma City, Oklahoma</description>
      <pubDate>Mon, 20 Feb 2006 00:32:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559880#M6532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-20T00:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559881#M6533</link>
      <description>No luck here...&lt;BR /&gt;
&lt;BR /&gt;
I tried this both with "as Variant" declaration and without. Since Formulas &lt;BR /&gt;
are VBScript not VBA, I think there's only Variant data type.&lt;BR /&gt;
&lt;BR /&gt;
Jussi&lt;BR /&gt;
&lt;BR /&gt;
"Brian Winterscheidt" &lt;BWINTERSCHEIDT-NO&gt; kirjoitti &lt;BR /&gt;
viestissä:5090675@discussion.autodesk.com...&lt;BR /&gt;
Jussi wrote:&lt;BR /&gt;
&amp;gt; Formula succeeds if the last line is&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;     RESULT = PObj.Location&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; .. but this returns unusable information.&lt;BR /&gt;
&amp;gt; Extracting the value for z coordinate ("Location(2)") fails.&lt;BR /&gt;
&lt;BR /&gt;
Try this instead of the single line above:&lt;BR /&gt;
&lt;BR /&gt;
Dim pnt as Variant&lt;BR /&gt;
pnt = PObj.Location&lt;BR /&gt;
&lt;BR /&gt;
RESULT = pnt(2)&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Brian Winterscheidt&lt;BR /&gt;
LWPB Architects &amp;amp; Planners, P.C.&lt;BR /&gt;
Oklahoma City, Oklahoma&lt;/BWINTERSCHEIDT-NO&gt;</description>
      <pubDate>Mon, 20 Feb 2006 12:45:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559881#M6533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-20T12:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559882#M6534</link>
      <description>Jussi wrote:&lt;BR /&gt;
&amp;gt; No luck here...&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&amp;gt; I tried this both with "as Variant" declaration and without. Since Formulas &lt;BR /&gt;
&amp;gt; are VBScript not VBA, I think there's only Variant data type.&lt;BR /&gt;
&amp;gt; &lt;BR /&gt;
&lt;BR /&gt;
Doh.  Yeah, I was working in VBA at the time, and just typed it in &lt;BR /&gt;
there...  directly referencing the Location(2) didn't work in VBA, but &lt;BR /&gt;
assigning it to pnt and referencing that *did* work in VBA.  Forgot to &lt;BR /&gt;
check it in VBScript.  Sorry about that...&lt;BR /&gt;
&lt;BR /&gt;
Does the Elevation prop instead of Location give the same results?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Brian Winterscheidt&lt;BR /&gt;
LWPB Architects &amp;amp; Planners, P.C.&lt;BR /&gt;
Oklahoma City, Oklahoma</description>
      <pubDate>Tue, 21 Feb 2006 17:00:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559882#M6534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-21T17:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559883#M6535</link>
      <description>To my understanding there's no elevation property, not as an Automatic &lt;BR /&gt;
Property in PSDs or AecWall object property...&lt;BR /&gt;
&lt;BR /&gt;
Jussi&lt;BR /&gt;
&lt;BR /&gt;
"Brian Winterscheidt" &lt;BWINTERSCHEIDT-NO&gt; kirjoitti &lt;BR /&gt;
viestissä:5092082@discussion.autodesk.com...&lt;BR /&gt;
Jussi wrote:&lt;BR /&gt;
&amp;gt; No luck here...&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt; I tried this both with "as Variant" declaration and without. Since &lt;BR /&gt;
&amp;gt; Formulas&lt;BR /&gt;
&amp;gt; are VBScript not VBA, I think there's only Variant data type.&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
Doh.  Yeah, I was working in VBA at the time, and just typed it in&lt;BR /&gt;
there...  directly referencing the Location(2) didn't work in VBA, but&lt;BR /&gt;
assigning it to pnt and referencing that *did* work in VBA.  Forgot to&lt;BR /&gt;
check it in VBScript.  Sorry about that...&lt;BR /&gt;
&lt;BR /&gt;
Does the Elevation prop instead of Location give the same results?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Brian Winterscheidt&lt;BR /&gt;
LWPB Architects &amp;amp; Planners, P.C.&lt;BR /&gt;
Oklahoma City, Oklahoma&lt;/BWINTERSCHEIDT-NO&gt;</description>
      <pubDate>Tue, 21 Feb 2006 20:41:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559883#M6535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-21T20:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559884#M6536</link>
      <description>Has anyone found a way to acquire the 'Z' location of a wall thru VBScipt?&lt;BR /&gt;
&lt;BR /&gt;
We have tried some things here:&lt;BR /&gt;
http://forums.augi.com/showthread.php?p=512816#post512816&lt;BR /&gt;
&lt;BR /&gt;
Terry

Message was edited by: tatriest</description>
      <pubDate>Fri, 30 Jun 2006 10:50:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559884#M6536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-06-30T10:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559885#M6537</link>
      <description>Well, I have concluded that the Location Variant is an array, as seen in the attached Prop Set Def, the 'IsArray' defintion returns TRUE.&lt;BR /&gt;
&lt;BR /&gt;
I have tried numerous ways to extract each coordinate, but failed.&lt;BR /&gt;
&lt;BR /&gt;
I am beginning to think it is unreachable.&lt;BR /&gt;
&lt;BR /&gt;
HAS ANYONE EVER DONE THIS ????&lt;BR /&gt;
&lt;BR /&gt;
Terry

Message was edited by: tatriest</description>
      <pubDate>Wed, 05 Jul 2006 16:05:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559885#M6537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-05T16:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559886#M6538</link>
      <description>This is a fundamental problem with vbscript and array properties in AutoCAD/ADT.  &lt;BR /&gt;
&lt;BR /&gt;
I think this can be solved 3 ways: &lt;BR /&gt;
&lt;BR /&gt;
1) C++ and OMF, add a query to the wall object called "Elevation".   This is a very clean and easy solution but you must be an ADN member and also distribute the arx file with your drawings. &lt;BR /&gt;
&lt;BR /&gt;
2) Use dotnet and expose a method to activex that you use from a forumula property set. No ADN required, but you still have the same deployment issues. You will also have to register the dll and it will be much slower than #1. &lt;BR /&gt;
&lt;BR /&gt;
3) The start and endpoint of the wall are exposed to lisp as dxf code 10. You could try the lisp activex interface in a VBS formula.  This avoids the deployment issue but will also be slower than #1.  &lt;BR /&gt;
&lt;BR /&gt;
Chris Arps &lt;BR /&gt;
www.visionrez.com</description>
      <pubDate>Thu, 06 Jul 2006 15:10:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559886#M6538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-06T15:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559887#M6539</link>
      <description>THIS CAN BE DONE&lt;BR /&gt;
&lt;BR /&gt;
This is the vbscript code placed in a property set that applies to a ceiling grid object.  The result you get is the elevation of the grid.  Which we use in a display theme to show by color the elevations of the ceiling grids.&lt;BR /&gt;
&lt;BR /&gt;
Place this into a Formula Property Definition and call it elevation.  Then use this in a Display defintion and you got coolness.&lt;BR /&gt;
&lt;BR /&gt;
RESULT="--"&lt;BR /&gt;
On Error Resume Next&lt;BR /&gt;
Set app = GetObject(,"AutoCAD.Application")&lt;BR /&gt;
Set aec = app.GetInterfaceObject("AecX.AecBaseApplication.5.5")&lt;BR /&gt;
aec.Init app&lt;BR /&gt;
Set util = aec.ActiveDocument.Utility&lt;BR /&gt;
Set clg = app.ActiveDocument.HandleToObject("[Handle]")&lt;BR /&gt;
pt1 = util.ConvertToVariantArray(clg.location)&lt;BR /&gt;
RESULT = pt1(2)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
two things:&lt;BR /&gt;
1)  &lt;BR /&gt;
The Z value is buried in two different properties of the object.  Sometimes it's know as "location" and sometimes it's know as "elevation".  Thus the call the get the property of the "clg" object in this case is "location".  But with a door or wall it may be "elevation"&lt;BR /&gt;
&lt;BR /&gt;
2)&lt;BR /&gt;
I am running AutoCAD MEP 2008 so possibly the statement:&lt;BR /&gt;
("AecX.AecBaseApplication.5.5")&lt;BR /&gt;
&lt;BR /&gt;
Please let me know if this works in AutoCAD Architecture 2008&lt;BR /&gt;
&lt;BR /&gt;
You could also test it in past versions by changing the version number as posted previously.  But this will not work in 2007 versions.  The dll for 2007 left out parts needed to make this vbscript work.  I was able to acquire a modified dll from tech support at AU last year that made it work in 2007.  And in 2008 it seems to run fine but we have noticed some problems on 2008 installations on Vista.  We have not found the error yet.  We just don't run this stuff on that machine...</description>
      <pubDate>Fri, 25 May 2007 20:26:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559887#M6539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-25T20:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559888#M6540</link>
      <description>A bit late, but I did not have access to 2008 at the time of the original post, and only recently was reminded of this thread.  This works just fine for me in 2008 and also 2009, if you change "AecX.AecBaseApplication.5.5" to "AecX.AecBaseApplication.5.7".  I do not have Vista, so I can not comment on potential issues when running it under Vista.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
David Koch&lt;BR /&gt;
Using ADT 2004 at work; access to 2005-2009 at home</description>
      <pubDate>Wed, 17 Sep 2008 02:16:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559888#M6540</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-17T02:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559889#M6541</link>
      <description>Here is a sample file, with two formulas extracting the Z-coordinate of a Wall (one using the Location property, and one using the StartPoint property - both give the same result).  The formula has been extended to test for the version running, and to use the correct application version (works only for 2008 and 2009 as written).&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
&lt;BR /&gt;
David Koch&lt;BR /&gt;
Using ADT 2004 at work; access to 2005-2009 at home</description>
      <pubDate>Wed, 17 Sep 2008 02:49:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559889#M6541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-17T02:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559890#M6542</link>
      <description>Somehow my last post got changed from the new David_W._Koch who has less than 100 posts to the old David_W._Koch who has over 11,000 posts, and the attachment appears to have been lost in the translation (at least from the web interface).  An attempt to repost the file met with failure, so perhaps there are issues with attachments at the moment and the original one will magically appear in the future.  If not, I will try to remember to attempt another repost in the future.&lt;BR /&gt;
&lt;BR /&gt;
&lt;P&gt;
--
&lt;/P&gt;
&lt;P&gt;
David Koch&lt;BR /&gt;
Using ADT 2004 at work; access to 2005-2009 at home
&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2008 22:24:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559890#M6542</guid>
      <dc:creator>David_W_Koch</dc:creator>
      <dc:date>2008-09-29T22:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559891#M6543</link>
      <description>Does anybody know the property of mass elements. I am trying to have a PSD pull the elevation from a mass element. I think the ceiling one will work, i just need to change the object type instead of clg.location to ????.location or ????.elevation.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there a listing of these anywhere?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Thu, 19 Feb 2009 18:39:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559891#M6543</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-02-19T18:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Parent object's Z coordinate</title>
      <link>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559892#M6544</link>
      <description>You can find the properties of various AEC Objects in the Help.  In the 2009 Help, on the Contents tab, expand AutoCAD Architecture 2009 Help &amp;gt; AutoCAD Architecture ActiveX Reference.  There are a number of subnodes here; which one to expand will depend upon the object type in question.  Mass Elements happen to be under the AEC Base Automation Reference node.  Scroll down and select the AECMassElement Object to see the Methods, Properties and Events that apply to Mass Element objects (each is a hyperlink to the Help topic on that method/property/event).&lt;BR /&gt;
&lt;BR /&gt;
It would appear that you can get the insertion point of the Mass Element from the Location property.  If you need to get to the Z-coordinate, you will likely need to use the method that BHashman noted above (assuming you are using 2008 or 2009); I would assume that the point array returned would not be directly readable by VBScript in a formula property.</description>
      <pubDate>Thu, 19 Feb 2009 22:54:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-architecture/parent-object-s-z-coordinate/m-p/1559892#M6544</guid>
      <dc:creator>David_W_Koch</dc:creator>
      <dc:date>2009-02-19T22:54:10Z</dc:date>
    </item>
  </channel>
</rss>

