| Commands | CAPCAD_GEO_STREETVIEW (opens the palette) and CAPCAD_GEO_STREETVIEW_PICK (the click loop). Internal commands, called by the palette and by the alignment drive: CAPCAD_GEO_STREETVIEW_NAVIGATE, CAPCAD_GEO_STREETVIEW_MOVE_ARROW, CAPCAD_GEO_STREETVIEW_DRIVE_BEGIN, CAPCAD_GEO_STREETVIEW_DRIVE_END and CAPCAD_GEO_STREETVIEW_DRIVE_TO. Separately, CAPCAD_GEO_LOCATE_DRAWING geolocates the drawing |
| Shortcut | none |
| Ribbon | CapCad tab › Geo panel › Identify split button › Google Street View: Palette (the pegman icon), with the tooltip "Assistente Google Street View & Maps". CAPCAD_GEO_LOCATE_DRAWING is on the same panel, under the Data split button › GeoImage Background Set Assistant, tooltip "GeoLocation AutoCAD Assistant" |
| Category | GeoData (CAPCAD_GEO_LOCATE_DRAWING); NEW (CAPCAD_GEO_STREETVIEW) |
| Form | the dockable CapStreetView palette, tab Street View — not a form, but a control with an embedded WebView2 browser |
| Hosts | the whole family exists on all five: AutoCAD, BricsCAD, GstarCAD, ZWCAD and ARES Commander. See Notes: outside AutoCAD the coordinate-system check on opening and the internal: system path are not available |
| Also used by | the alignment drive (CAPCAD_ALIGNMENT_DRIVE), with its Street View box ticked, drives the palette at every step of the run |
The street photograph beside the design, with both pointing the same way. Switching between the CAD and a browser to check where each sign goes costs more time than designing does; here the panorama lives inside the CAD and knows where you clicked.
- One click in the drawing, the panorama of that point. No typing a coordinate, no copying a link, no leaving the CAD.
- Already facing the road. The heading comes from the alignment's tangent at the point you clicked — you arrive looking down the road, not into the bushes.
- An arrow that follows. A live arrow in the drawing shows where the panorama is and which way it is looking; turn the panorama and the arrow turns with it.
- And the way back. Walk inside the panorama and the arrow walks in the drawing, converted into the project's coordinate system.
- Historical imagery. Google's own list of capture dates sits in the palette, and the palette goes yellow when you are not looking at the most recent image.
- An automatic run. The alignment drive walks the alignment and takes the panorama along, step by step, keeping the year you chose.
- And the drawing on the map.
CAPCAD_GEO_LOCATE_DRAWINGputs the drawing in the right place on the globe and switches on AutoCAD's native aerial imagery.
What it does
CAPCAD_GEO_STREETVIEW opens the CapStreetView palette and, inside it, a WebView2 browser that loads the Google Maps JavaScript API with a StreetViewPanorama. The palette is dockable (left and right), has an auto-hide button and a close button, and is one per session: running the command again only brings it back.
Before it opens, the command requires a coordinate system for the drawing, resolved in the usual order — active alignment → dwg setting → Civil 3D → whatever you supply. With no coordinate system the command ends silently, because nothing the palette does would make sense: turning the drawing's X,Y into latitude and longitude is the heart of all of it. See Coordinates and the coordinate system — and note that only some of the systems on offer actually resolve, so a drawing on BNG (the United Kingdom profile's default) never gets past this gate.
CAPCAD_GEO_STREETVIEW_PICK is the click loop, fired by the palette's Pick button or typed directly. On every click it:
- reads the point in the drawing;
- finds the foot of the perpendicular from the point onto the active alignment and takes the tangent direction there, turned into an azimuth (0° = north, clockwise) — with no alignment loaded, the heading is 0°;
- converts X,Y into latitude and longitude using the coordinate system resolved when the palette opened;
- draws the arrow at the point and takes the panorama there, already facing that azimuth.
The loop continues until you press Esc. A point that cannot be converted does not interrupt anything: the command line reports it and the loop carries on.
The other five commands are not for day-to-day typing — they are the entry points the palette and the drive use between themselves:
| Command | What it does |
|---|---|
CAPCAD_GEO_STREETVIEW_NAVIGATE |
Positions the arrow and takes the panorama to a coordinate. It is the entry point for anyone calling Street View from outside. |
CAPCAD_GEO_STREETVIEW_MOVE_ARROW |
Only moves the existing arrow, without touching the panorama. |
CAPCAD_GEO_STREETVIEW_DRIVE_BEGIN |
Marks the start of a run: the date-list refresh is suspended while it lasts, so that the list does not flicker at every step. |
CAPCAD_GEO_STREETVIEW_DRIVE_END |
Ends the run and restores the list refresh. |
CAPCAD_GEO_STREETVIEW_DRIVE_TO |
Repositions the panorama without reloading the page, looking for the nearest panorama within 50 m. |
The three run commands only answer with the palette open.
Workflow
Checking points of the design
- Have the active alignment and the coordinate system set.
- Run
CAPCAD_GEO_STREETVIEW. The palette opens floating; dock it to the right if you prefer. - Click Pick (6). The command line asks Pick a point (Esc to finish).
- Click in the drawing. The panorama loads at that point, facing along the alignment, and the arrow appears in the drawing.
- Click another point, and another. Esc ends the loop — the arrow stays where it was.
- To go back to an older image, choose the date in History (7). The box goes yellow while you are not on the most recent image.
- Capture (4) writes a PNG of what is on screen.
Driving the stretch
- With the palette open, click Drive (5): it opens the alignment drive already set up for a run.
- Tick Street View there and start. At every step the panorama jumps to the next point and the arrow follows in the drawing.
- The date chosen in History is taken into account: at each point the command prefers the panorama of the year nearest the one you chose.
Walking in the panorama and seeing where that is in the drawing
- Walk inside the panorama (Street View's own arrows).
- On every change of position, the latitude and longitude come back to CapCad, are converted into the drawing's system, and the arrow moves there.
- Turning the view turns the arrow, even without moving.
The palette
No screenshot. The numbers below follow the order in which the controls appear: the first strip has the coordinate box and five buttons, left to right; the second strip has the date list on the left and the mark button on the right; the rest of the palette is the panorama.
| # | Control | What it does |
|---|---|---|
| 1 | coordinate box | latitude,longitude in decimal degrees, with a dot decimal. It is filled on every clicked point. Enter is the same as clicking Go. Any text that is not two comma-separated numbers is ignored without warning. |
| 2 | Go | Loads the panorama at the coordinate in box 1. It does not touch the arrow in the drawing: this is a stand-alone navigation, from the world into the palette. |
| 3 | AI Analyze | Captures the palette image as a PNG and sends it for AI analysis. The analysis is not available in this version: the command only shows a box with the path of the captured file. |
| 4 | Capture | Writes what is visible in the panorama as a PNG in Documents\CapCad\StreetViewCaptures\streetview_<date>_<time>.png and opens Explorer with the file selected. |
| 5 | Drive | Opens the alignment drive with the run settings, to walk the alignment with the panorama alongside. |
| 6 | Pick | Fires CAPCAD_GEO_STREETVIEW_PICK: the click loop in the drawing. |
| 7 | History | The capture dates Google holds for that panorama, as YYYY-MM-DD, oldest first. The most recent comes selected; choosing another swaps the panorama at once. It is disabled when the point has no history. Pale yellow background = you are not looking at the most recent image. |
| 8 | ⚑ Mark | Inserts a label in the drawing at the point matching the panorama. Not available in this version. |
The palette keeps the chosen date from one click to the next: when you move to another point, it first looks for the same panorama and, failing that, the date nearest the one you had chosen. That is what stops it falling back to the most recent image at every new point.
The arrow in the drawing
The arrow is not a drawing entity: it is a transient object, drawn over the screen. It is not saved in the dwg, does not enter selections, is not plotted, and disappears when the palette is closed or hidden.
| Shape | open five-vertex polyline: a shaft with an arrowhead |
| Length | 10 drawing units (the head takes 3) |
| Colour | ACI 2 (yellow) |
| Lineweight | 0.30 mm |
| Initial heading | north (+Y of the drawing) |
| Heading afterwards | the panorama's view azimuth, converted to the CAD angle |
The arrow is fixed in drawing units: 10 units in a drawing in metres is a 10 m arrow, invisible at a whole-stretch zoom and enormous at a street-corner zoom. There is no scale factor.
How the palette and the drawing talk
The outward path — drawing to panorama — is always the same: X,Y → latitude/longitude → StreetViewPanorama.
The return path — panorama to drawing — has three variants, chosen by the kind of coordinate system in the session:
| Coordinate system | Path | Result |
|---|---|---|
internal:… (AutoCAD / Civil 3D geolocation) |
the drawing's own geolocation | arrow moved (AutoCAD only) |
a recognised UTM-<zone>[N\|S] |
direct conversion to the matching EPSG | arrow moved |
anything else (a Civil 3D code, internal:active, blank) |
— | not available in this version — see Notes |
Two throttles keep the CAD from redrawing needlessly while you walk in the panorama:
- 250 ms between two arrow movements;
- about 2 m of minimum displacement (0.00002° in latitude and longitude) — the panorama fires its position event twice as it settles, and the second is discarded.
Turning the view does not go through those throttles: the arrow turns immediately, even when standing still.
Geolocating the drawing — CAPCAD_GEO_LOCATE_DRAWING
A sibling command with a different purpose: instead of bringing the photograph into the CAD, it tells AutoCAD where in the world the drawing is, so that the drawing's coordinates are the coordinates of the chosen UTM zone. That done, AutoCAD's native aerial imagery (GEOMAP) can be switched on over the design.
What it does, in order:
- Checks the Autodesk sign-in (
ONLINEUSERNAME). Without one, it says you need to sign in — and that a CAD restart may be needed — and ends. - The first time in each session, it shows the guidance to answer "Yes" to "Use geolocation data", opens the native
GEOGRAPHICLOCATIONdialog and ends. Run the command again to continue. - Resolves the coordinate system (alignment → dwg → last used → whatever you supply). Blank ends the command.
- Translates it into the native identifier:
BNGbecomesBritishNatGrid;UTM-<zone><N|S>becomesUTM84-<zone><N|S>. A system that is not a valid UTM zone (1 to 60) stops the command with a message about the SIRGAS 2000 datum. - Shows the steps with three buttons — Prosseguir (continue), Cancelar and Video tutorial — once per session.
- Writes the geolocation into the drawing: it erases any existing one, creates the new one, of grid type, with the design point on the zone's central meridian (E = 500,000 at latitude 40° N or 40° S; for the British case, the BNG calibrated point) and checks the result with a round-trip transformation.
- Switches on the aerial imagery (
GEOMAPin Aerial mode) and reports on the command line which system was applied.
It draws nothing and converts no geometry: it only records the location information. If the drawing is not really in that zone, the aerial image will appear displaced — the command does not check that.
Remembered between sessions
Nothing on this page is written to disk.
Within the CAD session, what is kept is: the coordinate system resolved on the last Pick (used by the panorama → drawing return), the preferred date/panorama from the History list, and, in CAPCAD_GEO_LOCATE_DRAWING, the fact that the first use has already happened and that the steps screen has already been shown. Close the CAD and all of that starts again.
The palette's position and size are kept by the CAD itself, as with any palette.
Notes
- It requires WebView2 and an internet connection. The palette uses Microsoft's WebView2 runtime and the Google Maps JavaScript API. With the runtime missing, the palette opens empty. With no network, the panorama stays dark.
- The palette opens at point (0, 0). On initialising, the browser loads latitude 0, longitude 0 — in the Gulf of Guinea, where there is no imagery. That is normal: the first Pick or Go takes it to the right place.
- The ⚑ Mark button is not available in this version.
- The AI Analyze button's analysis is not available in this version. It captures the PNG and shows a box with the file path. The capture itself is useful.
- After an AI Analyze, open Street View through Pick at least once before relying on the arrow moving.
- The return path needs a recognised coordinate system. When the coordinate system is neither a recognised UTM zone nor an AutoCAD geolocation, the panorama works and the outward path works, but the arrow does not move back — that return is not available in this version. Use an explicit
UTM-<zone>. - The arrow disappears when the palette is hidden or closed — including by the auto-hide button. That is intentional.
- Two things are not available outside AutoCAD. On the other four CADs,
CAPCAD_GEO_STREETVIEWopens the palette without checking the coordinate system first (the palette opens; it is Pick that complains), and theinternal:return path — the native geolocation — does not exist, leaving only the UTM-zone conversion. - The Drive button is not available in this version outside AutoCAD.
- The palette is entirely in English, whatever the product language: Go, AI Analyze, Capture, Drive, Pick, History, Mark. So are the click loop's messages (Pick a point (Esc to finish), Convert failed…, No coordinate system for this drawing…).
- Most of
CAPCAD_GEO_LOCATE_DRAWING's messages are Portuguese in an English session — only the Autodesk sign-in message and the "Use geolocation data" guidance are English-only. Its three buttons read Prosseguir / Cancelar / Video tutorial. - The Video tutorial button of
CAPCAD_GEO_LOCATE_DRAWINGonly opens the video in the Brazilian product. In every other language the button appears, ends the command, and opens nothing. CAPCAD_GEO_LOCATE_DRAWINGignores the coordinate system's datum. AUTM-<zone>S-SAD69system is accepted and geolocated as if it were WGS-84. The SAD 69 → SIRGAS/WGS-84 difference reaches tens of metres: check the result.- The first run of
CAPCAD_GEO_LOCATE_DRAWINGalways ends without geolocating — it exists to open the native dialog once. Run the command twice. CAPCAD_GEO_LOCATE_DRAWINGon ARES Commander is only a "coming soon" notice; on the other CADs it does not exist. The aerial imagery it switches on is an AutoCAD feature.- For Street View opened in the browser rather than in the palette, see
CAPCAD_GEO_LINK_STREETVIEWandCAPCAD_GEO_STREETVIEW_IMAGEin KMZ, geo formats and map links.