Command Reference
Complete reference of all Branch commands. Type any command in the AutoCAD command line to execute it.
Tip: Commands can be typed directly in the AutoCAD command line or accessed from the Branch ribbon tab.
Setup & Configuration
Configure Branch and manage your account
BRANCHOPTIONSOpen the settings UI to configure string size, panel detection, inverter settings, layers, and other project parameters
LEAFLOGINSign in to your Branch account
LEAFLOGOUTSign out of your Branch account
LEAFUPDATECheck for plugin updates and show the update dialog if a newer version is available
STRINGSIZEROpen the string sizing calculator to determine optimal string lengths based on module, inverter, and location. Supports both traditional Voc-based sizing and SolarEdge optimizer-based sizing — when a SolarEdge inverter is selected, the optimizer configuration is detected automatically and results show power-constrained string ranges instead of voltage math. Now includes C-series optimizers (US domestic content) alongside P-series for commercial projects. Includes an Array Planning section: enter your total module count (or pick a layer to count modules directly from the drawing) and target DC/AC ratio to see inverter count, DC combiner requirements, and a color-coded utilization display showing kW per inverter and percentage of max DC input capacity. A Deep Search toggle lets you choose between immediate results or a thorough background search with a tray notification when complete
LEAFPROFILEManage design profiles for multi-alternative workflows within a single drawing. Create, switch, and compare different design configurations without duplicating files — each profile isolates its own layers and settings
LEAFPALETTEToggle the Branch workflow palette — a dockable AutoCAD panel that walks you through Zones → Panel Groups → Solve → Equipment → Combiners → Homeruns → Export → ReOpt. Recommended way to drive Branch (Ground Mount is production; Rooftop and SolarEdge flows are experimental)
LEAFSAMPLEOpen the bundled sample drawing in sandboxed demo mode and launch the palette against it. Changes are discarded on exit — safe for exploring the workflow without touching a real project
LEAFSTATUSCheck whether you're signed in. Prints "Authenticated and ready" when your session is active, or tells you to run LEAFLOGIN
LEAFVERSIONPrint the installed plugin version to the command line
LEAFUNITSYNCSync AutoCAD's drawing units (INSUNITS) to your saved Branch unit preference in one step and report the before and after unit codes. Does nothing if they already match
LEAFCUSTOMERDWGWARNINGSChoose whether Branch batches a customer drawing's proxy and xref startup warnings into its own welcome banner instead of AutoCAD's native dialogs. Pairs with LEAFOPENCUSTOMERDWG
LEAFOPENCUSTOMERDWGOpen a customer drawing through Branch's guarded path, which suppresses AutoCAD's proxy and xref startup dialogs and surfaces those warnings afterward in the Branch welcome banner instead
LEAFCANCELLOGINCancel an in-progress sign-in
LEAFASSISTANTPROMOOFFTurn off Autodesk Assistant's own startup promo banner by writing the Windows registry key it reads. Offered as an optional tip after you sign in
LEAFPLATFORMOpen the Leaf web platform in a docked AutoCAD panel, signed in with the same account as the plugin
LEAFELECDESIGNOpen the Electrical Design palette, with tabs for stringing, electrical devices, cabling, and string color-coding
LEAFDEEPSEARCHOpen the Deep Search Status window, which lists every background deep-search session's progress and results and clears the palette's unread-improvements badge
LEAFPVCASEPALETTEOpen the workflow palette directly into the PVcase Parity flow, skipping the flow picker
LEAFFLOWGROUNDOpen the workflow palette directly into the Ground Mount flow
LEAFFLOWGMELECTRICALOpen the workflow palette directly into the ground-mount electrical flow
LEAFFLOWGMPHYSICALOpen the workflow palette directly into the ground-mount physical-layout flow
LEAFFLOWPVCASEOpen the workflow palette directly into the PVcase Parity flow (same destination as LEAFPVCASEPALETTE)
LEAFFLOWROOFTOPOpen the workflow palette directly into the Rooftop flow
LEAFFLOWSOLAREDGEOpen the workflow palette directly into the SolarEdge flow
Terrain & Grading
Import site terrain, review slope, grade equipment pads, and lay out access roads (ground mount)
LEAFTOPOImport site terrain and draw it as a slope-colored mesh on the LEAF-TOPO layer. Reads site bounds, latitude/longitude, and drawing units from the drawing (site raster, AutoCAD geolocation data, INSUNITS) and prompts for anything it cannot detect. A confirmation dialog shows what it found before any internet request, so you can fetch, override the inputs, or skip. Fetches a 100-point elevation grid, using USGS EPQS for points between 18° and 72° N and 180° and 66° W, and PVGIS for points outside that box, then stores the grid in the drawing so the grading, tracker, and analysis commands can reuse it
LEAFTOPOFROM3DFACESPromote civil 3DFACE terrain already in the drawing into the LEAFTOPO grid, so the slope, shading, piling, and export commands can read it without fetching anything over the internet. Prompts for drawing units and the number of grid cells on the longer axis (150 by default, 300 maximum). Prefers faces on the LEAF-TERRAIN layer and falls back to every 3DFACE in model space. Reports the source face count, unique vertices, grid rows and columns, and how many mesh faces it cleared and drew
LEAFSURVEYColor existing 3D face terrain by slope, in place, with no external data fetch. Prompts for drawing units, then you select the 3DFACE entities to analyze. Each face is recolored by slope band and the command line reports the counts: green below 5%, yellow from 5% through 15%, red above 15%. Use it on terrain that arrived from a civil DWG or contour survey. It colors faces only, so run LEAFTOPOFROM3DFACES instead when you need a stored terrain grid
LEAFCROSSDraw a 2D elevation cross-section through the LEAFTOPO terrain along a cut line. Pick 2-Points to click a line, Polyline to use an existing LWPolyline, or Multiple to batch several polylines in one pass. Sample count per segment defaults to 25 and accepts 2 through 500. Samples elevation at regular intervals and draws the profile on the LEAF-PROFILE layer at an insertion point you choose, with distance along the cut line on the X axis and elevation on the Y axis. Requires LEAFTOPO terrain in the drawing
LEAFHEATMAPOverlay a cut and fill heatmap on the LEAFTOPO terrain, drawing one colored 2D solid per grid cell on the LEAF-HEATMAP layer. Prompts for the proposed grade elevation, defaulting to the most recent LEAFGRADE result when that result is above zero and to the terrain midpoint otherwise. Red marks cut where terrain sits above grade, green marks fill where it sits below, grey marks at-grade, and color intensity scales with depth. Reports the cell count in each band. Requires LEAFTOPO terrain in the drawing
LEAFGRADEGrade a flat pad for BESS or electrical equipment. Select a pad boundary polyline or pick two corners, then set the finished elevation three ways: Auto balances cut against fill, Manual takes the elevation you type, and Clearance holds a minimum height above the highest terrain inside the pad (0.6 m default). With LEAFTOPO terrain in the drawing it reports cut, fill, and net volume in cubic metres plus the number of grid cells sampled. The pad outline and elevation label are drawn on the LEAF-GRADE layer. Without terrain data it still draws and labels the pad, but reports no volumes
LEAFGRADEMULTIGrade any number of pads in one pass. Pick the elevation mode once, then window-select the boundary polylines: Auto balances cut against fill for each pad independently, Manual applies one elevation to all of them, and Clearance holds a minimum height above each pad's own highest terrain. Draws and labels every pad on the LEAF-GRADE layer, prints per-pad elevation and volumes, and finishes with a consolidated total cut, fill, and net. Without LEAFTOPO terrain only Manual mode is available and no volumes are reported
LEAFROADLay out a site access road from a centerline. Select an existing polyline or pick two points, then set carriageway width (6 m default), shoulder width (1 m default), and drainage cross-slope percentage (2.0 default). Offsets the centerline to draw the road and shoulder edges on the LEAF-ROAD-EDGE layer and places an annotated cross-section view below the centerline midpoint on LEAF-ROAD-XSEC. Reports centerline length, carriageway and total width, carriageway surface area, and cross-slope
LEAFSITEFROMMAPFetch a satellite image and elevation model for a site by latitude and longitude and place them in the drawing. Places the satellite tile as a raster on LEAF-SITE-RASTER, aligned to the drawing's geolocation data when present, and stores the elevation data as LEAFTOPO terrain so LEAFGENERATE, LEAFSLOPE, LEAFSHADING, and LEAFPILING can use it right away. Without a signed-in session it falls back to a placeholder tile and flat terrain, clearly labeled synthetic
LEAFSITEFROMMAPFITSame fetch as LEAFSITEFROMMAP, but fits the satellite image and elevation model to your current selection or drawing extents instead of the drawing's geolocation
LEAFSITEUNDERLAYPush the satellite/elevation underlay from LEAFSITEFROMMAP slightly below your drawing's linework in elevation, so it renders as a backdrop instead of sitting on top
LEAFSLOPEDraw a slope-classification heatmap over LEAFTOPO terrain: one colored cell on the LEAF-SLOPE layer per grid quad, green under 5%, yellow from 5% through 15%, red above 15%. Requires LEAFTOPO terrain with at least a 2×2 grid; reports cell counts per band and the maximum slope found
LEAFHORIZONCompute the horizon profile at a point on LEAFTOPO terrain: how much of the sky is blocked by surrounding high ground. Prompts for the site center, observer height (1.5 m default), and azimuth sampling step (10° default), then reports the horizon elevation at the eight cardinal directions, the highest obstruction and its azimuth, and the share of azimuths with a clear view, with an option to export the full profile to CSV
LEAFPOACalculate plane-of-array irradiance for a given time and location using three transposition models side by side: Isotropic (Liu-Jordan), HDKR anisotropic, and Perez 1990 anisotropic. Prompts for latitude/longitude (from LEAFTOPO when available), date and time, panel tilt and azimuth, and DNI/DHI/GHI and albedo, then reports the direct, sky-diffuse, ground-diffuse, and global POA irradiance from each model
LEAFCAPACITYITERATESweep ground coverage ratio and tilt across a site boundary to find capacity-maximizing layouts. Prompts for the boundary, module spec, a GCR sweep range, a tilt sweep range, and a scenario cap (100 default, hard maximum), then reports the top-scoring scenarios with an option to export the full sweep to CSV
LEAFIMPORTLANDXMLImport a LandXML 1.2 TIN terrain file. Prompts for the file path, source elevation units, drawing units, and an optional boundary to clip to, then resamples the survey points onto a grid (150 cells on the longer axis by default) and stores it as LEAFTOPO terrain
LEAFLANDXMLExport the current LEAFTOPO terrain grid to LandXML 1.2 for Civil 3D or another TIN-based tool. Prompts for drawing units and an output path, defaulting to the drawing's own name, and reports the grid dimensions, point count, and triangle count. LEAFTERRAINCSV exports the same grid as a plain X, Y, Z CSV instead
LEAFTERRAINCSVExport the current LEAFTOPO terrain grid as an X, Y, Z CSV for GIS or spreadsheet tools. Prompts for drawing units and an output path, defaulting to the drawing's own name, and reports the point count and grid dimensions
LEAFTERRAINMESHRedraw the slope-colored LEAFTOPO terrain mesh from the elevation grid already stored in the drawing, without fetching new elevation data. Use after changing display settings or if the mesh gets erased
LEAFKMLEXPORTExport a KML file of your site boundary and tracker rows for viewing in Google Earth or a GIS tool. Requires a site boundary polyline and a LEAFTOPO-anchored geolocation; writes a file named after the drawing
LEAFKMLIMPORTImport a site boundary from a KML file. Draws the boundary as a closed polyline on LEAF-KML-BOUNDARY and sets the drawing's geolocation anchor from the boundary's center point, so later terrain and site commands share the same location. Also callable from LISP as (LEAFKMLIMPORT "path" [index] [Meters|Feet])
Tracker Layout
Generate single-axis tracker rows, and run shading and takeoff reports over PVCase tracker layouts (ground mount)
LEAFTRACKLay out single-axis tracker rows inside a site boundary polyline. Prompts for drawing units, row-to-row pitch (center to center, defaulted from the LEAFSPACING minimum when one is stored), module dimensions (reuses the LEAFMODULE dimensions when set), and tracker axis azimuth. When LEAFTOPO terrain is present it varies the row pitch to follow the slope. Draws one block reference per tracker table on the LEAF-TRACKERS layer, tagged with row XData, then reports row count, module slots, GCR, tube length, estimated piles, drive units, and DC capacity
LEAFSATLay out tracker rows from a target ground coverage ratio instead of a pitch, using the same engine and output as LEAFTRACK. Prompts for the site boundary, units, module dimensions, target GCR (defaulted from the LEAFSPACING minimum pitch when available, otherwise 0.40), site latitude (defaulted from the LEAFTOPO grid), and axis azimuth. Computes the row pitch from the GCR, then prints the shade limit angle and an equinox backtracking angle table before drawing. Warns when the GCR you chose produces a pitch tighter than the LEAFSPACING minimum
LEAFSHADERun an 8760-hour near-shading simulation over the tracker rows in the drawing and write the results to CSV. Reads PVCase tracker blocks. Prompts for site latitude and longitude (defaulted from the LEAFTOPO grid when one is stored) and the collector width across the tracker axis (defaulted from the rows' spacing and ground coverage ratio), then computes hourly sun position and row-to-row shading for single-axis trackers, including rotation limits and backtracking. The CSV lists clear-sky energy-weighted and time-weighted annual shading loss per row alongside the site totals, and the command line reports the energy-weighted annual figure
LEAFBOMGenerate a tracker bill of materials CSV from the PVCase tracker blocks in the drawing. Prompts for drawing units and pile spacing (5 m center-to-center default), then reports tracker table sections, PV module slots, total torque tube length, estimated pile count, drive units, and DC nameplate capacity. Writes the CSV next to the drawing file by default, and you can enter any other output path at the prompt
LEAFSPACINGCalculate the minimum row-to-row pitch that avoids beam self-shading during a chosen solar-hour window (winter solstice by default). Prompts for site latitude (from LEAFTOPO when available), frame length in the slope direction, and tilt, then reports the minimum pitch and ground coverage ratio. Feeds directly into LEAFSAT and LEAFTRACK
LEAFMODULESet the tracker module's physical spec (dimensions, rail overhang, and torque-tube geometry) for the drawing, from a preset or manual entry. LEAFTRACK, LEAFSAT, and LEAFTUBE3D all read this shared spec
LEAFTUBE3DDraw 3D torque tubes for every tracker row already laid out by LEAFTRACK or LEAFSAT, on the LEAF-TUBES layer. Reads tube height and radius from LEAFMODULE, and drapes along LEAFTOPO terrain when it's present
LEAFPILINGPlace pile markers under every tracker frame on the LEAF-PILING layer, in a grid sized from the active frame preset's pile diameter, reveal, and embedment. Drapes to LEAFTOPO terrain elevation when present, otherwise stamps piles flat with a warning. Run LEAFTRACKERSTOPANELGROUPS first if no tracker rows are found
LEAFPILETEMPLATESOpen the Pile Template Manager to define and edit reusable pile specs
LEAFPILEBLOCKMAPOpen the Pile Block Mapper, which scans the drawing for tracker rows and racking-like blocks and reports how many are already mapped to a pile type versus unmapped. LEAFPILING needs these mappings before it can place piles against custom blocks
LEAFTRENCHRoute a single trench between two picked points, routing around panel groups and inverter footprints and favoring alignment with existing trenches. Draws the result on the LEAF-PVCASE-TRENCH layer with depth, width, and voltage-class data attached, and reports the route length and segment count
LEAFTRENCHAUTORoute trenches automatically from every panel group's center to the layout's overall center, in a star pattern. Skips any panel group already within a meter of an existing trench, so it's safe to re-run after adding groups. Requires a configured panel-group layer
LEAFCABLETOTRAYSnap a selected DC or feeder cable onto the nearest trench or cable-tray centerline, keeping its endpoints anchored, and validate the resulting bend radius against NEC 300.34. Warns to run cable resizing if the check fails
LEAFCABLETOTRAYAUTOBatch version of LEAFCABLETOTRAY: snaps every drawn DC and feeder cable onto its nearest trench within a configurable distance (5 m default) and checks NEC 300.34 bend radius for each. Skips cables already snapped, so it's safe to re-run
LEAFTRACKERSLOPEVIOLATIONSCheck every tracker row's slope against the active frame preset's limits and LEAFTOPO terrain, then draw red markers on any violating segment. LEAFCLEARTRACKERSLOPEVIOLATIONS removes the markers
LEAFCLEARTRACKERSLOPEVIOLATIONSRemove the violation markers drawn by LEAFTRACKERSLOPEVIOLATIONS and report how many were cleared
Panel Group Commands
Create and manage panel groups
PANELGROUPCREATEAutomatically detect and organize panels into groups with header labels showing +/- recommendations for even string counts
ADDPANELAdd panels to an existing panel group. Auto mode fills all incomplete groups in the drawing at once, transferring panels from the nearest row-ends of neighboring groups
AUTOFILLAuto-fill all incomplete panel groups in the drawing at once — standalone shortcut for the ADDPANEL Auto option. Uses 2D grid-aware panel trading that handles irregular group shapes (L-shapes, notched rectangles) by peeling panels from the nearest edge of each group
REMOVEPANELRemove panels from a panel group
LEAFTRACKERSTOPANELGROUPSConvert ground-mount tracker rows — including PVcase tracker blocks — into Branch panel groups, so a layout imported from another tool can go straight into the stringing workflow
LEAFTRACKERSTOPANELGROUPSFASTSame conversion as LEAFTRACKERSTOPANELGROUPS, forced to the fast mode: one tracker outline per row instead of one rectangle per module slot. Used automatically above 10,000 modules; call it directly to force fast mode on a smaller field
LEAFTRACKERSTOPANELGROUPSLEGACYSame conversion as LEAFTRACKERSTOPANELGROUPS, forced to the legacy mode: one rectangle per module slot instead of one outline per tracker row
PANELGROUPCREATEZONEAWARECreate panel groups the same way as PANELGROUPCREATE, but respecting elevation zone boundaries so a group never spans two zones
PANELGROUPDELETEALLDelete every panel group in the drawing
LEAFFRAMEGROUPCREATESave the current selection of panel-group frames as a named FrameGroup you can restore later for manual stringing, one-line diagram filtering, or BOM rollups
LEAFFRAMEGROUPDELETEDelete a named FrameGroup
LEAFFRAMEGROUPLISTList every FrameGroup defined in the drawing, with its frame count, color, and when it was last changed
LEAFFRAMEGROUPRENAMERename a FrameGroup
LEAFSELECTBYFRAMEGROUPSelect every frame belonging to a named FrameGroup. Requires LEAFFRAMEGROUPCREATE to have defined the group first
String Commands
Create and modify string connections
SOLVEAutomatically generate optimized string connections for all panel groups
SINGLESTRINGSelect panels and create a single string (ignores configured string length)
MULTISTRINGSelect panels and create strings using the configured string length. Shows real-time feedback in the command line as you select: even counts display '24 panels → 2 × 12-panel strings ✓', uneven counts show recommendations like '25 panels → 2 × 12 + 1 × 13 (add 11 or remove 1 for even strings)'
DELETESTRINGDelete an existing string from the design
FLIPSTRINGReverse the direction of a string
SWAPSwap inverter assignments between two strings
LEAFPVCASESOLVEAssign string and inverter numbers to every panel group in one pass from the command line — prepares an imported layout for homerun routing and cable export without opening the palette
ADDSTRINGCreate strings from the selected panels, batched to your configured string length. Requires hardware configuration; suggests SolveAuto if it finds nothing to string
AUTOFILLREVERTUndo the most recent AUTOFILL or AUTOFILLSOLVE pass
AUTOFILLSOLVEFill every incomplete panel group with modules and immediately solve strings for the result in one pass, reusing your last String Sizer choice
SOLVEAUTOHeadless version of SOLVE: strings every panel group at your configured string length with no dialog. Used internally by the guided workflow steps, and available directly for scripting
ASSIGNSTRINGSAssign already-created strings to placed inverters or combiner boxes. Detects whether the drawing uses L1 combiners, L2 central inverters, or a mixed collector setup, and prompts for Auto or Manual assignment mode
LEAFASSIGNSTRINGSCLOUDSame as ASSIGNSTRINGS, forced to the cloud Auto assignment mode with no prompt
LEAFCOLORSTRINGSRecolor every string and its connected devices by inverter assignment, for a quick visual check of which strings feed which inverter
LEAFSTRINGMIDManually create a string between two picked panels, using proximity to route between them, and tag the midpoint panel so LEAFCOLORSTRINGS and the one-line export can recover the tagging
STRINGDATABuild a structured summary of the string layout, panel-group membership plus each string's endpoints and coordinates. Feeds the palette's String Data export step and the SolarEdge export path
Inverter Commands
Place and manage inverters, combiner boxes, and central inverters
ADDINVERTERPlace a single inverter, combiner box, or central inverter. When central inverters are enabled, prompts for equipment type: Combiner Box vs Central Inverter (ground mount) or String Inverter vs Central Inverter (rooftop)
ADDALLINVERTERSAutomatically place inverters for all unassigned strings using k-means optimization. Prompts for equipment type when central inverters are enabled
MOVEINVMove an existing inverter to a new location
INVBALANCEBalance strings across inverter MPPT inputs for optimal efficiency. Shows per-MPPT DC power and per-inverter DC/AC ratio. Includes a Central Inverters tab when central inverters are present, showing assigned combiner boxes or string inverters per central inverter
POSITIONINVMove a placed inverter and automatically re-route its DC homeruns to match. Reports the updated homerun, feeder, and cable-run counts, and suggests HOMERUNSAUTO or ROUTEL2FEEDERS if cabling still needs a look
LEAFDEVICESCLOUDAuto-place a fresh set of inverters and combiner boxes using Branch's cloud placement algorithm
LEAFDEVICESPATTERNAuto-place a fresh set of inverters and combiner boxes by pattern-matching the tracker-row layout, honoring your configured strings-per-combiner limit, end offset, and side preference. Fails if devices already exist in the drawing, since it builds a fresh fleet rather than adding to one
LEAFADOPTL2INVERTERSRegister central-inverter blocks that are already placed in a customer's drawing as Branch L2 devices, so Branch's combiner-placement engine can build around equipment locations you didn't place yourself. Reports how many blocks were scanned, adopted, and already registered, plus the total adopted AC capacity
Homerun Commands
Route cables to inverters and combiner boxes
HOMERUNSGenerate schematic homerun cables from string endpoints to inverters or combiner boxes. Automatically routes feeder cables from combiner boxes to central inverters when central inverter mode is enabled. Now applies an NEC-driven cable sizing post-processor that picks conductor gauge, conduit size, and OCPD ratings using your project cable defaults
HOMERUNSAUTOFully automated version of HOMERUNS: routes every string's homeruns with no prompts, choosing hub or direct routing by a built-in heuristic. Suggests ROUTEL2FEEDERS or ASSIGNSTRINGS if a step is still missing
HOMERUNADJUSTInteractively re-route existing DC homerun cabling after you've moved equipment, without regenerating it from scratch. Reports the updated cable-run counts
HOMERUNOPTIONSConfigure which layers and blocks homerun routing uses, and set the inverter block size it routes around
HOMERUNROUTINGCONFIGTune the homerun router's cost model: the DC homerun layer name, the string-count threshold that switches on full routing, minimum bend radius, fence buffer distance, and per-terrain cost multipliers for open ground, cable tray, trench, road, fence, and road crossings
ROUTEL2FEEDERSAssign each L1 combiner box to its nearest L2 central inverter and draw the feeder cables between them. HOMERUNSAUTO calls this automatically in L1/L2 collector mode; run it standalone to redo just the feeder routing. Suggests LEAFCOMBINERAUTO first if no combiners are placed yet
ADDLBDPlace a Load Break Disconnect marker on a picked feeder cable, at the closest point to where you click, tagged with a link back to the cable it sits on
LEAFPLACELBDSame as ADDLBD: snap a Load Break Disconnect marker onto a picked feeder cable and tag it with the cable's handle so the one-line export can trace through it
LEAFLBDDIAGList every Load Break Disconnect marker in the drawing with its downstream device and layer, so you can verify what's actually placed before a long routing run
Cabling Studio
Preview combiner and feeder cabling in a dockable palette, then commit it to the drawing (ground mount)
LEAFCABLEVIEWOpen the cabling studio palette — Simulate previews homerun and feeder cabling from the strings and inverters in your drawing, Commit writes it, and each commit replaces the last so you can iterate freely
LEAFLITEPLACEOpen the cabling studio in adopt mode — your existing inverter placements are never moved; the studio routes cabling around the equipment you already placed
LEAFLITEFREEOpen the cabling studio with free placement enabled — the studio positions inverters for you and moves, adds, or removes equipment blocks when you commit
LEAFLITEFEEDERSRe-route the drawn feeder cables from current equipment positions, straight from the command line
Combiner Commands
Auto-place L1 combiner boxes and inspect placement
LEAFCOMBINERAUTOAuto-place L1 combiner boxes from the existing string layout. Detects aisles between panel groups, partitions strings per L2 inverter, picks each combiner's location at the partition centroid (snapped to an aisle), and validates NEC voltage drop on the resulting feeder runs. Writes L1 to L2 assignments so HOMERUNS can draw feeder cables on the next pass. Requires L1/L2 collector mode enabled in Branch Options and at least one L2 inverter placed
LEAFCOMBINERDEBUGDiagnostic command that draws what the placement engine sees on the LEAF-DEBUG layer: cyan lines for inner-row gaps, magenta for inter-group aisles, yellow circles at panel-group centroids. Use to inspect aisle detection before running LEAFCOMBINERAUTO
LEAFCOMBINERDIAGInspect existing combiner box placements and report whether each one sits inside a panel group, in an inner-row gap, in a real inter-group aisle, or near a row end. Use to diagnose combiners that ended up in the wrong location
LEAFSKIDRECONCILECheck that every L1 combiner is assigned to an L2 inverter and no inverter exceeds its input capacity, then report the verdict in the command line
Zone Commands
Manage electrical zones and elevation zones for rooftop systems
ZONEHEIGHTOpen the Zone Height Manager to create named elevation zones with height offsets, assign strings to zones, and visualize zone boundaries. Zone offsets are applied to circuit length calculations in Cable Export (rooftop projects only)
LEAFZONEASSIGNPANELSSelect panels in the drawing and assign them to an electrical zone. Panels are moved exclusively to the target zone — any previous zone assignment is removed first
LEAFZONEASSIGNSTRINGSSelect string polylines in the drawing and assign them to an elevation zone. Strings are moved exclusively to the target zone — any previous zone assignment is removed first
LEAFADDZONECreate an electrical zone from the command line — the same action as the Rooftop workflow's Add Zone button, without needing the palette open
LEAFZONEASSIGNPANELHEIGHTAssign the selected panels to an elevation zone by height, coloring them for visual confirmation. Dispatched from the palette's Zones step
LEAFSELECTBYZONESelect every panel assigned to a named electrical zone. Requires LEAFZONEASSIGNPANELS to have defined the zone first
Economics
Project economics analysis
REOPTRun an NREL REopt analysis on your design. Calculates total cable lengths and system power from the drawing, lets you enter cost inputs, then calls the REopt API for financial projections — payback period, NPV, IRR, lifecycle costs, and a cumulative cashflow chart. Results are saved per design profile so you can compare economics across design alternatives side-by-side
Export Commands
Export design data
CABLEEXPORTView cable data in an interactive table and export to CSV. Double-click any row to zoom to that element in the drawing. When elevation zones are defined, shows additional columns for zone name, elevation offset, and adjusted circuit length
INSERTSCHEDULESInsert schedule tables (Equipment, Inverter, String, Homerun, Feeder) directly into the drawing in one pass. Reads current drawing state and cable sizing results — no need to open the export form
LEAFEXPORTSCENEExport your terrain and PV arrays as a 3D scene (Collada .dae for PVsyst 8.1.0 and earlier, or .pvc for PVsyst 8.1.1 and later), so you can cross-check Branch's shading geometry against PVsyst's own ray tracer. Requires LEAFTOPO terrain; exports terrain and obstacles alone if no arrays are defined yet
LEAFYIELDEXPORTExport a ZIP bundle for upload to Yield's Edit Layout flow: per-frame layout data, project and equipment bills of materials, DC homerun and AC feeder segments, and a shading summary
Import Commands
Import designs from other tools
IMPORTSOLAREDGEPDFImport a SolarEdge Designer PDF, extracting panel positions, string assignments, and optimizer placements
LEAFIMPORTPANPreview a PVsyst .pan module file: prints the manufacturer, model, Pmax, and tag count to the command line. Read-only for now — it previews the file but doesn't write it into your project yet
Support & Help
Help, tutorials, and support tools
DEMOLaunch the interactive demo tutorial to learn Branch step-by-step with sample drawings
COMMANDLISTDisplay the command reference window
BUGREPORTSubmit a bug report or feedback to the Branch team
LEAFABOUTShow the installed plugin version and the Leaf Automation website
LEAFHELPOpen the Branch documentation site in your browser
LEAFACADEMYOpen the Branch Academy in your browser
LEAFTUTORIALOpen the Branch tutorials in your browser
LEAFSUBMITIDEAOpen the feature-request form in your browser
LEAFREPORTPROBLEMOpen the problem-report form in your browser
Design Guardrails
Catch NEC and design issues before they reach the field
GUARDRAILSOpen the Guardrails panel and run an initial validation pass. Rule cards are grouped into Electrical, Hardware, Design, and Code Safety categories, each showing pass, warning, or critical status with a rolled-up health summary; electrical rules cite the NEC article behind them
GUARDRAILSVALIDATERe-run Guardrails validation on the already-open panel, without reopening it. Tells you to open GUARDRAILS first if the panel isn't already up
Shading Analysis
Simulate near-shading and beam obstructions, and manage the objects that cast shade
LEAFSHADESIMRun a per-panel beam-shading simulation against your site's terrain and obstructions (traced on GPU where available), producing a green under 5%, yellow 5–15%, red over 15% annual-shade heatmap on the LEAF-SHADE-HEATMAP layer plus CSV exports for SAM and PVWatts cross-checks. Validated to within 0.06 percentage points of SAM across 10 US sites
LEAFSHADECOMPARERun LEAFSHADESIM and a PVsyst-format scene export side by side, then open a window to toggle between the two shading overlays for comparison
LEAFSHADOWCURTAINDraw 3D "shadow curtain" surfaces showing which obstructions are casting shade on your array, from the ray data a prior LEAFSHADESIM run recorded. Also registered as LEAFSHADECURTAIN. Requires a LEAFSHADESIM run first
LEAFSHADOWEXPLAINPick a panel to see exactly why it's shaded: which obstructions are blocking it, from what direction, and by how much. Uses the ray data from a prior LEAFSHADESIM run when available, or replays a fresh trace for just that panel. Also registered as LEAFSHADEEXPLAIN
LEAFSHADELOSSMAPColor every panel by its annual shading loss percentage, using a prior shading-analysis result. LEAFCLEARSHADEHEATMAP reverts the colors
LEAFCLEARSHADEHEATMAPRevert the panel colors applied by LEAFSHADELOSSMAP back to normal
LEAFSHADINGOpen the Shading analysis dialog
LEAFSHADINGOBJECTAdd a tree, station, fence, or vegetation mass as a shading obstruction, with an optional clearance ring that layout generation avoids
LEAFVEGETATIONFROMCIVILBulk-import vegetation as shading obstructions from Civil 3D woodland data, using height labels from the source file and draping the resulting mesh onto your terrain. Optionally adds matching clearance regions for layout generation to avoid
LEAFFENCEMESHFROMCIVILGenerate 3D fence meshes for shading analysis from civil fence linework, draping flat fence lines onto LEAFTOPO terrain and using any already-3D fences directly
LEAFFENCE3DAUDITReport how much of your fence linework has 3D shading geometry versus flat lines that still need LEAFFENCEMESHFROMCIVIL run on them
LEAFSHOWEXPORTDraw a preview overlay of your PVsyst array export: each array's footprint and maintenance-clearance boundary, so you can check the export before committing to it. Requires LEAFDEFINEARRAY
LEAFHIDEEXPORTErase the preview overlay drawn by LEAFSHOWEXPORT
Civil & Collision Analysis
Check tracker layouts for overlaps and out-of-range pile depths
LEAFCIVILOpen the Civil Analysis panel, with tabs for slope, collision, and grading checks
LEAFCOLLISIONDetect overlapping tracker frames and draw a red outline around each overlap on the LEAF-COLLISION layer, listing the affected rows and columns. Mainly catches manually edited layouts, since LEAFGENERATE output doesn't overlap by construction
LEAFCOLLISIONRANGEFlag piles whose drawn length falls outside the active frame preset's minimum or maximum pile-length range, marking each one on the LEAF-COLLISION layer with its length and center point
Performance & Diagnostics
Check drawing health and clean up bloat that slows AutoCAD down
LEAFHEALTHCHECKReport your drawing's entity count, hatch count, missing-xref count, proxy-entity count, and orphaned registered-application count, with a warning summary
LEAFSTORAGEAUDITReport how much of your drawing's storage is XData and extension dictionaries, to help track down bloat
LEAFOPTIMIZEClean up the drawing after confirmation: back it up, purge unreferenced blocks/layers/linetypes/text styles/dimension styles and orphaned registered applications, detach missing xrefs, and regenerate
LEAFOPTIMIZESAFEApply a reversible set of AutoCAD system-variable performance settings and run a health check. LEAFPERFRESET undoes it
LEAFPERFRESETRestore the AutoCAD system variables LEAFOPTIMIZESAFE changed
LEAFPERFOpen the Branch Command Center with the Performance tab selected, for health checks, optimization, and the sysvar baseline in one place
PVcase Parity Layout
Frame, pack, and manage PV arrays in the PVcase-parity ground-mount flow
LEAFGENERATEPack PV frames into a boundary using the active frame preset (rows, columns, orientation, tilt), excluding shading-restriction zones, road buffers, and array setbacks, and applying a slope filter when terrain is present. Draws each frame on the LEAF-TRACKERS layer and reports the total placed plus how many were skipped by setback or slope
LEAFGENERATEMULTISame packing as LEAFGENERATE, run across every selected boundary in one pass
LEAFFRAMEOpen the Frame & park settings dialog to configure and manage frame presets. Reports the active preset's name; its output feeds LEAFGENERATE directly
LEAFFRAMEINFOOpen the Frame Information dialog directly, without going through the Layout Information palette
LEAFLAYOUTINFOOpen the Layout Information panel: frame count, kWp, pile count, coverage, and boundary area, with a shortcut into LEAFBOM
LEAFLAYOUTSETTINGSOpen the Layout Generation Settings dialog to configure topography-aware layout generation: mode, distance, slope, and optimized-frame settings
LEAFDEFINEARRAYDefine a PV array for PVsyst-style export: center point, module grid size, orientation, spacing, tilt, and azimuth. Draws the array's footprint on the LEAF-ARRAY layer and feeds LEAFEXPORTSCENE
LEAFDELETEARRAYDelete a defined array and erase its footprint outline
LEAFLISTARRAYSList every array defined by LEAFDEFINEARRAY, with grid size, orientation, dimensions, tilt, azimuth, and center point
LEAFAREASOpen the Project Areas dialog to manage per-project PV areas: a boundary, an optional frame-preset override, a row-pitch override, and exclusion zones for each
LEAFSETTINGSSet your project's default module dimensions, spacing, orientation, tilt, azimuth, and maintenance margin for PVsyst export. These defaults feed LEAFDEFINEARRAY and LEAFEXPORTSCENE
LEAFDRAWROADDraw a road from a centerline you pick, with configurable width, edge rounding, and offset guides
LEAFMESHDIFFVIEWCompare your panel and tracker layout geometry against LEAFTOPO terrain in an interactive viewer, to spot clearance problems before they reach the field. Requires LEAFTOPO terrain
Detailed Guides
For step-by-step usage instructions, see the workflow guides: