B2 - LIC Basemap

Script Family

Series B - Drafting Aids

Purpose

Automates acquisition, processing, and attachment of LandsD LIC basemap tiles.

When to Use

Use B2 when the drawing needs iB1000 or iB5000 topographic map tiles as a background reference.

Inputs

  • Current view extent in Model Space or active Layout Viewport.
  • Target directory for downloaded basemap tiles.
  • Overwrite option for existing map tile drawings.
  • Map Product: iB1000 Topographic Map or iB5000 Topographic Map.

Outputs

  • Downloaded basemap tile drawings.
  • Processed halftone basemap drawings.
  • XREF attachments inserted into the current drawing.

Workflow Summary

  1. Pan and zoom to the desired view extent.
  2. Specify the target directory for map tile storage.
  3. Configure whether existing basemap files should be overwritten.
  4. Select the target map product.
  5. Run the script to download, process, and attach basemap tiles.

None directly. The script uses map tile DWG files acquired through LandsD Map Service API.

Reverse-Engineering Notes

When reverse-engineering this Dynamo graph, identify:

  • How the active view extent is read in Model Space and Layout Viewport contexts.
  • How required tile names or extents are calculated.
  • How the LandsD Map Service API request is assembled.
  • How downloaded tiles are converted to halftone presentation.
  • How processed drawings are attached as XREFs.

Source Basis

  • Primary source: HAPI User Manual.pdf, Section 2.4.2.
  • This note is a manual-facing script overview, not a PythonNet3 implementation specification.

Open Questions

  • Confirm how authentication, network access, or API endpoint configuration is handled in the actual graph.
Built with LogoFlowershow