• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk InfraWorks

    Reply
    *Expert Elite*
    BrianHailey
    Posts: 2,384
    Registered: ‎04-27-2005
    Accepted Solution

    Units Confusion

    661 Views, 2 Replies
    08-01-2012 12:38 PM

    I'm a bit confused. Does AIM always work in meters? I have a project set up to Colorado State Planes US Foot coordinate system, I have the units set to display in feet, my data source is in feet, but in the script for the building elevations, it shows as follows:

     

    function Process(SOURCE, BUILDINGS) {
        BUILDINGS.EXTERNAL_ID = SOURCE["FeatId"];
        BUILDINGS.ROOF_HEIGHT = toMeter(5, (SOURCE["ROOF_ELEV"]-SOURCE["GRND_ELEV"]));
        BUILDINGS.ROOF_MATERIAL = "Material/Roofing/Aspahalt Grey";
        BUILDINGS.ROOF_SLOPE = 33;
        BUILDINGS.RULE_STYLE = "Facade/Brick/Biron";
    
        return true;
    }

    The BUILDINGS.ROOF_HIEGHT has the toMeters syntax. This is taking the elvations that are imperial, converting them to metric, then displaying them imperial when I select the properties of one of the buildings. Does that sound correct?

     

    Thanks for any insight on this.

    Please use plain text.
    Employee
    konstantin.baumann
    Posts: 84
    Registered: ‎01-04-2011

    Re: Units Confusion

    08-02-2012 01:00 AM in reply to: BrianHailey

    Yes, that is correct. All length values stored in the internal model DB are stored in "meters".

    Please use plain text.
    Active Contributor
    Posts: 45
    Registered: ‎11-13-2006

    Re: Units Confusion

    02-27-2013 09:59 AM in reply to: BrianHailey

    I have similar confusion on units in AIM...

    See attached screen clip.  I have an image attached with a world file coord file.  The units displaying in the model view of AIM show state plane coordinates with an "m" following the coords.  It seems to indicate the coordinates displayed are meters.  In fact the actual values appear to be Indiana State Plane west zone coordinates that are indeed where the actual image should be.  SO... it appears the display is showing state plane feet coordinates, but the "m" seems to indicate meters.

     

    Any help for an AIM rookie?  Thanks!

    Please use plain text.