Skip to content

Setting up a DXF for AutoPV

In order for a DXF file to upload successfully to AutoPV, the file must have certain features and follow certain naming rules. Follow the steps described on this page to ensure the DXF will be readable by AutoPV.

Note: this guide is written for AutoCAD LT 2025

General

  1. Components should be defined as AutoCAD blocks.
  2. AutoPV layer names start with APV, for example APV - Tracker Main.

layers_example

Example of AutoPV layers

Required AutoCAD Blocks

  • MVS block that has PCU, PTS or PTK in the block name
  • Tracker Main
  • Substation

Defining attributes

Certain components need specific attributes to be defined. Steps for defining attributes for existing AutoCAD blocks:

  1. In the Block Editor, select Define Attribute.

define-attribute

Select Define Attribute in the Block Editor

  1. Fill in Tag and Prompt with the attribute name.

  2. Set a default value like 99, which will clearly identify which objects have not yet been assigned values.

fill-in-attribute-definition

Filling attribute information in the Attribute Definition window

  1. Place the attribute at the bottom left of the block (or above/below previous attributes).

  2. Save the changes to the block and exit the Block Editor.

  3. Enter command BATTMAN (Block Attribute Manager)

  4. Select the correct block from the dropdown menu, and click Synchronize Blocks.

synchronize-blocks

Synchronize blocks in the Block Attribute Manager

  1. Update the blocks and close the Block Attribute Manager. All instances of the block should then have the added attributes.

Trackers

  1. Types of trackers:
    1. AutoPV currently supports one type of tracker: Tracker Main.
    2. The main tracker should be on the APV - Tracker Main layer.
  2. In the case of dual-row trackers, both tables should be defined in the same AutoCAD block.
  3. Required tracker attributes: TIER (see Defining attributes)

    1. Tracker attributes should be on tracker layer APV - Tracker Main.
    2. Edit the block in-place and add the tracker attributes.
    3. Tiers are named with a number. Tiers are numbered from 0, starting at the main corridor and moving outward. So in a block with 2 tiers in the North section and 3 tiers in the South section the tiers would be named 1, 0, (main corridor), 0, 1, 2 when moving from top to bottom.

    tracker-attributes

    Trackers with TIER attributes based on position

  4. Trackers must have a table borders (AutoCAD polyline - a rectangular polyline is recommended), which follows the edges of the modules and includes all strings. In the case of dual-row trackers each table must have an individual table border. The table borders should be on the appropriate tracker layer (APV - Tracker Main) .

single-row-table-border

Single-row tracker with a table border shown in red

dual-row-table-border

Dual-row tracker with individual table borders shown in yellow

Medium voltage stations (PCU or PTS)

  1. Add a layer called APV - PCU/PTS (select either PCU or PTS as applicable).

  2. Ensure the PCU/PTS block is on the APV - PCU/PTS layer (i.e. placed on the layer from inside the block editor) and that all instances of the block are on the layer as well.

  3. There are a number of attributes required to be defined on the PCU/PTS block (see Defining attributes). See a list here, and explanations of the attributes and their possible values further down, at Configuration settings - PCU/PTS attributes. Place the attributes on layer APV - PCU/PTS.

    1. BLOCK_ID
    2. CORRIDOR
    3. MIN_BOXES

Configuration settings - PCU/PTS attributes

⚙️ BLOCK_ID

The number of the PV block (starting from block 1)

Example: 5

⚙️ CORRIDOR

The corridor number. Assign numbers to the main corridors in the site, starting from 1.

Example: 3

⚙️ MIN_BOXES

The target number of inverters or combiner boxes for the block.

Example: 19

The Substation

The substation (both the AutoCAD block definition as well as the block instance) should be on a layer called APV - Substation.

Example

Here is an example of a DXF set up for AutoPV: dxf_example.dxf

This DXF file has extra layers and items that AutoPV will not consume. Only layers and blocks mentioned in this guide will be used by AutoPV.

Tips and Common Issues

Check your spelling. Make sure all required layer names and attributes are named exactly according to the instructions.

Do not rotate or reflect AutoCAD blocks. Before creating an AutoCAD block, ensure that all components are correctly oriented.