<?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: Snapshot Multiple Bookmarks and Proposals in InfraWorks Forum</title>
    <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9589275#M7282</link>
    <description>&lt;P&gt;I'm also unable to run any of these scripts in InfraWorks 20.0.25.0 (I am unwilling to upgrade after the trouble it caused last time). I have been able to run these script in the past on this build so not sure what's going on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The debugger is not happy from the start:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var doc = app.ActiveDocument(); // the Active Document&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run anyway I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There is no image format associated with the specified extension. Do you want to use JPEG format?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to get a ton of snapshots out soon and would appreciate any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jun 2020 10:25:20 GMT</pubDate>
    <dc:creator>srksphillips</dc:creator>
    <dc:date>2020-06-19T10:25:20Z</dc:date>
    <item>
      <title>Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9148054#M7272</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a design where we need to show the client 3 different options and the existing site. I have designed each of these as separate proposals in Infraworks. I then have 7 bookmarks (viewpoints) that the client would like me to create snapshots from.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know of anyway to automate the creation of these snapshots? Maybe a script? I don't want to go through and create 28 different snapshots each time the client wants to change the design.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help or advice!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kelby&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 03:35:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9148054#M7272</guid>
      <dc:creator>kwilktrihydro</dc:creator>
      <dc:date>2019-11-15T03:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9153953#M7273</link>
      <description>&lt;P&gt;Easily done using scripts, example to get you started &lt;A href="https://knowledge.autodesk.com/search-result/caas/simplecontent/content/tip-batch-snapshots-infraworks.html?collection=152456" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt; by Matt Wunch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@Anonymous&amp;nbsp; also outlines some of the process he used combining the above&amp;nbsp;&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/infraworks-forum/infraworks-using-bookmarks-with-a-script/m-p/9138244#M19711" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 01:20:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9153953#M7273</guid>
      <dc:creator>Glenn.Coppard</dc:creator>
      <dc:date>2019-11-19T01:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9154030#M7274</link>
      <description>&lt;P&gt;You will probably also what to look at this post &lt;A title="proposal switching JS" href="https://forums.autodesk.com/t5/infraworks-forum/javascript-setproposalname-function/m-p/6382699" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt; from&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/54517"&gt;@Matt__W&lt;/a&gt;&amp;nbsp; (&lt;EM&gt;again &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/EM&gt;) and&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1960481"&gt;@elliott.rosenfeld&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 03:43:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9154030#M7274</guid>
      <dc:creator>Glenn.Coppard</dc:creator>
      <dc:date>2019-11-19T03:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9167168#M7275</link>
      <description>&lt;P&gt;I should probably write a new script that cycles through each proposal and snapshots each bookmark.&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 11:55:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9167168#M7275</guid>
      <dc:creator>Matt__W</dc:creator>
      <dc:date>2019-11-26T11:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9168722#M7276</link>
      <description>&lt;P&gt;Wow, thank you both&amp;nbsp;for your input.&amp;nbsp; &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3174177"&gt;@Glenn.Coppard&lt;/a&gt;&amp;nbsp; I really appreciate the links! I will definitely take a look at these files and see what I can do! Sorry it took me so long, I got taken over by another project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/54517"&gt;@Matt__W&lt;/a&gt;&amp;nbsp; if you do end up revising your script, definitely let me know. If not, it looks like you have done most of the lifting, and I have been meaning to dive into the world of Infraworks scripting anyway.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kelby&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 01:39:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9168722#M7276</guid>
      <dc:creator>kwilktrihydro</dc:creator>
      <dc:date>2019-11-27T01:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9168726#M7277</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2309474"&gt;@kwilktrihydro&lt;/a&gt;&amp;nbsp;the new code is already underway and should be done soon (next few days, give or take, depending on the Thanksgiving holiday break).&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 01:44:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9168726#M7277</guid>
      <dc:creator>Matt__W</dc:creator>
      <dc:date>2019-11-27T01:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9168736#M7278</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/54517"&gt;@Matt__W&lt;/a&gt;&amp;nbsp; sounds good to get the non-script savvy going in a brute-force fashion.&lt;BR /&gt;&lt;BR /&gt;We generally structure our Bookmark Naming to the Proposal (or general) and then loop through the Proposals and output the relevant 'prefixed' bookmarks for that option and files named accordingly.&lt;/P&gt;&lt;P&gt;Saves a lot of time filtering through un-necessary JPG files....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There a few more hints/tips for you&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2309474"&gt;@kwilktrihydro&lt;/a&gt;&amp;nbsp; don't forget to accept the solution - will help others find the info in the future - good luck. [edit] &lt;EM&gt;OK - looks like that 'button' is MIA these days - O'well&lt;/EM&gt;[/edit]&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 02:05:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9168736#M7278</guid>
      <dc:creator>Glenn.Coppard</dc:creator>
      <dc:date>2019-11-27T02:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9168785#M7279</link>
      <description>&lt;P&gt;Alright.... here you go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will cycle through each proposal and create a snapshot for each bookmark. Enjoy.&lt;/P&gt;
&lt;P&gt;(I guess now I have to write up a new AKN article for this.)&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;// get the active document
var doc = app.ActiveDocument();
// get all of the bookmarks in zsthe active document
var bmList = app.ActiveDocument().Bookmarks;
// Get all proposals in the model, cycle through them &amp;amp; print them to the debug panel
var varProps = doc.GetAllProposals("");
// image width
var imgWidth = 1920;
// image height
var imgHeight = 1080;

for (x in varProps) {
    var propName = (varProps[x]);
    doc.ChangeProposal(varProps[x]);
    for (var i=0; i&amp;lt;bmList.length; i++) {
        var bm = bmList [i];
        doc.MoveToBookmark(bm.name);
        // location to save snapshots
        var strFilePath = "C:\\Snapshots\\";
        // bookmark name
        var bName = (propName+"-"+bm.name);
        //file name (prefix + bookmark name + .JPG extension
        var bmName = (bName+".jpg");
        // complete output path and filename
        strFilePath = strFilePath + bmName;
        // create the snapshot
        app.CreateSnapshot(strFilePath, imgWidth, imgHeight);
    }
}&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Nov 2019 03:05:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9168785#M7279</guid>
      <dc:creator>Matt__W</dc:creator>
      <dc:date>2019-11-27T03:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9170704#M7280</link>
      <description>&lt;P&gt;Here's a new AKN article for batch snapshotting all bookmarks and all proposals. It also includes a link to download the JS code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/community/article/273056" target="_blank"&gt;https://knowledge.autodesk.com/community/article/273056&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 21:20:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9170704#M7280</guid>
      <dc:creator>Matt__W</dc:creator>
      <dc:date>2019-11-27T21:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9173230#M7281</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm not that familiar with javascripts, but I think I'm doing something wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got this message:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.PNG" style="width: 495px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/702698i5BC70897CD597B1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.PNG" alt="error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 08:38:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9173230#M7281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-29T08:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9589275#M7282</link>
      <description>&lt;P&gt;I'm also unable to run any of these scripts in InfraWorks 20.0.25.0 (I am unwilling to upgrade after the trouble it caused last time). I have been able to run these script in the past on this build so not sure what's going on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The debugger is not happy from the start:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var doc = app.ActiveDocument(); // the Active Document&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run anyway I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There is no image format associated with the specified extension. Do you want to use JPEG format?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to get a ton of snapshots out soon and would appreciate any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 10:25:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/9589275#M7282</guid>
      <dc:creator>srksphillips</dc:creator>
      <dc:date>2020-06-19T10:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/14048397#M25207</link>
      <description>&lt;P&gt;Mike here from the future.&amp;nbsp; Do any of these scripts work?&amp;nbsp; I have the same problem but none of the links seem to work anymore after AutoDesk's brutal purge of the forum.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2026 22:08:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/14048397#M25207</guid>
      <dc:creator>m_kingdon</dc:creator>
      <dc:date>2026-03-09T22:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/14049551#M25208</link>
      <description>&lt;P&gt;Hello Mike from the future!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This script creates 4K snapshots from your bookmarks for the current proposal only. It identifies the active proposal name and the bookmark names, then uses these values to name each snapshot. The files are saved in a folder called Snapshots on your C drive (C:\Snapshots). You will need to create this folder or change the path in the script to suit your setup.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The file path appears in the script as "C:\\Snapshots\\" rather than "C:\Snapshots". This is normal because the backslashes must be escaped in the code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you prefer HD images you can change the imgWidth and imgHeight values to 1920 and 1080.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;// get the active document
var doc = app.ActiveDocument();
// get all of the bookmarks in the active document
var bmList = app.ActiveDocument().Bookmarks;
// image width
var imgWidth = 3840;
// image height
var imgHeight = 2160;

// Get the name of the currently active proposal
var activeProposal = doc.ActiveProposalName;

// Iterate through each bookmark in the active proposal
for (var i = 0; i &amp;lt; bmList.length; i++) {
    var bm = bmList[i];
    // Move to the bookmark
    doc.MoveToBookmark(bm.name);
    // location to save snapshots
    var strFilePath = "C:\\Snapshots\\";
    // bookmark name
    var bName = (activeProposal + "-" + bm.name);
    // file name (Proposal Name + Bookmark Name + .JPEG extension)
    var bmName = (bName + ".jpeg");
    // complete output path and filename
    strFilePath = strFilePath + bmName;
    // create the snapshot
    app.CreateSnapshot(strFilePath, imgWidth, imgHeight);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the same as above but iterates through all proposals except the Master.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;// get the active document
var doc = app.ActiveDocument();
// get all of the bookmarks in the active document
var bmList = app.ActiveDocument().Bookmarks;
// Get all proposals in the model
var varProps = doc.GetAllProposals("");
// image width
var imgWidth = 3840;
// image height
var imgHeight = 2160;

// iterate through each proposal
for (x in varProps) {
    var propName = (varProps[x]);
    // Check if the proposal is not the default "master" proposal
    if (propName !== "master") {
        // Activate a proposal
        doc.ChangeProposal(varProps[x]);
        // iterate through each bookmark
        for (var i=0; i&amp;lt;bmList.length; i++) {
            var bm = bmList[i];
            // Move to the bookmark
            doc.MoveToBookmark(bm.name);
            // location to save snapshots
            var strFilePath = "C:\\Snapshots\\";
            // bookmark name
            var bName = (propName + "-" + bm.name);
            // file name (Proposal Name + Bookmark Name + .JPEG extension)
            var bmName = (bName + ".jpeg");
            // complete output path and filename
            strFilePath = strFilePath + bmName;
            // create the snapshot
            app.CreateSnapshot(strFilePath, imgWidth, imgHeight);
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This script generates text that lists all bookmark names together with detailed camera information for each one. The output includes coordinates, heading, tilt and roll. You can use this information to create a CSV file that can be imported as GIS data. This allows you to plot arrows that show the position and direction of each bookmark view.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After running the script, select the text in the output window and save it in Notepad as a CSV file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;print("Name,Lon,Lat,Elevation,X,Y,Z,Heading,Tilt,Roll");

var doc = app.ActiveDocument(); // Get the active document
var bmList = doc.Bookmarks;     // Retrieve the list of bookmarks

for (var i = 0; i &amp;lt; bmList.length; i++) {
    var bm = bmList[i];
    doc.MoveToBookmark(bm.name);

    var viewPoints = doc.GetCurrentViewPoint(); // [position, target, up]
    var pos = viewPoints[0];
    var target = viewPoints[1];

    // Convert LL84 to model coordinates (meters)
    var pos2d = new adsk.Vec2d(pos.X, pos.Y);
    var target2d = new adsk.Vec2d(target.X, target.Y);

    var posProjected = app.ReprojectPointLL84ToDb(pos2d);
    var targetProjected = app.ReprojectPointLL84ToDb(target2d);

    // Direction vector in model coordinates
    var dx = targetProjected.X - posProjected.X;
    var dy = targetProjected.Y - posProjected.Y;
    var dz = target.Z - pos.Z;

    // Heading (bearing from north, clockwise)
    var heading = (Math.atan2(dx, dy) * 180 / Math.PI + 360) % 360;

    // Tilt (pitch angle in degrees)
    var horizontalDistance = Math.sqrt(dx * dx + dy * dy);
    var tilt = Math.atan2(dz, horizontalDistance) * 180 / Math.PI;

    // Roll (assumed 0 unless known)
    var roll = 0;

    print(
        bm.name + "," +
        pos.X.toFixed(6) + "," +     // Longitude
        pos.Y.toFixed(6) + "," +     // Latitude
        pos.Z.toFixed(3) + "," +     // Elevation
        posProjected.X.toFixed(3) + "," + // X in meters
        posProjected.Y.toFixed(3) + "," + // Y in meters
        pos.Z.toFixed(3) + "," +     // Z in meters
        heading.toFixed(2) + "," +
        tilt.toFixed(2) + "," +
        roll.toFixed(2)
    );
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Just to confirm that all the scripts above work exactly as expected. I have run them today and everything functions correctly.&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2026 16:35:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/14049551#M25208</guid>
      <dc:creator>srksphillips</dc:creator>
      <dc:date>2026-03-10T16:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Snapshot Multiple Bookmarks and Proposals</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/14051769#M25209</link>
      <description>&lt;P&gt;Hi Steve, the code works great.&amp;nbsp; Cheers very much for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2026 06:12:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/snapshot-multiple-bookmarks-and-proposals/m-p/14051769#M25209</guid>
      <dc:creator>m_kingdon</dc:creator>
      <dc:date>2026-03-12T06:12:22Z</dc:date>
    </item>
  </channel>
</rss>

