Hi everyone,
I'm trying to create and use a custom print layout in Infrastructure Studio 2015 using the basic web layout.
I've created the print layout and I'm following the instructions here to create a printable page:
http://help.autodesk.com/view/AIMS/2015/ENU/?guid=GUID-32E2B0EC-13F7-4B8A-9E9E-5EE46994E8D9
The trouble is when I go to 'Add Command', 'Get Printable Page' isn't listed under 'Built-In Command'.
Any help is much appreciated!
Solved! Go to Solution.
Solved by gluckett. Go to Solution.
Help is incorrect. Get Printable Page is now just the Quick Plot in the Basic Web Layout - the Print Layouts don't do anything anymore.
The reason I was looking at the 'get printable page' function was to be able to change the background colour of the map while plotting. Is this possible with Quick Plots? I cannot find any information indicating it is. Thanks again for your help!
In the C:\Program Files\Autodesk\Autodesk Infrastructure Web Server Extension 2015\www\mapviewerphp\quickplotgeneratepicture.php
You could hard-code the color your wish to plot the background with - around line 102:
$colorString = $map->GetBackgroundColor();
// The returned color string is in AARRGGBB format. But the constructor of MgColor needs a string in RRGGBBAA format
$colorString = substr($colorString, 2, 6) . substr($colorString, 0, 2);
$color = new MgColor($colorString);
just comment out the $color line with two forward slashes:
//$color = new MgColor($colorString);
and add a RRGGBBAA format - this example is lime green background.
$color = new MgColor('b9edafff');
If you don't know how to generate the RRGGBBAA format, click the 3rd colour picker on this site:
http://peteroupc.github.io/colorpicker/
"Alpha Color Picker (RRGGBBAA format)"
regards
gordon