AnsweredAssumed Answered

Lot ID in CGA script?

Question asked by rjmercier1 on Feb 23, 2017
Latest reply on Mar 20, 2017 by CLau-esristaff

I'm using the report mechanism to dump metadata about the buildings on a lot.  Each building is composed of one or more components.  Each of those components imports geometry and places it to make up the whole building.  What'd I'd like to do is to tag each component with the "Lot ID" of the parcel of land the building is created on.  The best I've done so far is:


Lot -->

   Building(seedian)      # Seems to be unique, and consistent, for each Lot


Building(id) -->



Floors(id) -->

   split(y) { 10: Floor(id) }*


Floor(id) -->


   reportLib.makeReport(id, floorGeo)



etc.  Mostly following the report generating Tutorial.  Is this the "right" way to do this?  I want the resulting

metadata organized by Lot.  In the export script it didn't seem modelOID or shapeOID were per-Lot, or that

there was any way to look up the OID of the source Lot.


Sorry, I'm pretty new to all this.  I apologise if I'm using the wrong language to describe this stuff.


Thanks for any help!