Skip to content

Import only Section

In order to make use of this import option at least one named section (see Section) has to be defined in the project file (i.e. the target file). When selecting this section just those objects laying inside will be loaded from the import file (plus a border area, if defined). Objects located on the section’s border will also get imported.

Combination with Transformation

When both "Import only Section" and a transformation are used simultaneously, the data to be imported is first transformed before checking whether it lies within the section. Therefore, the section must be defined at its position, including the transformation.

Example

From a large project file only a section shall be imported.

Example

Path: Examples\Import\start.cna

  • Open the example file Import Section.cna.

This file contains a section named „Test Area“ (a name is mandatory!). Now, only the building laying within this area shall be imported from the file Demo1.cna.

Example

Path: Examples\Demo1.cna

Named section frame in file Import Section.cna

  • Select File|Import, file format „CadnaA“ and afterwards the file to be imported from - in our example Demo1.cna in your program folder.
  • Click the „Options“ button.

Importing the buildings into section „Test Area“

  • Select the option „Select Object Types“ and the object „Building“.
  • Activate the option „Import only Section“ and select the section „Test Area“.

Example

Path: Examples\Import\Import Section\Buildings imported.cna

After having confirmed both dialogs by OK and „Open“ the buildings inside or on the border of the section are imported.

  • Now, repeat his procedure, this time by importing the roads in addition.

Example

Path: Examples\Import\Import Section\Roads imported.cna

The results shows that also objects crossing the border of the section are also imported.

After Import of the Roads

The objects outside the section (here the roads) can be broken apart and deleted afterwards. To this end, proceed as follows:

  • Click in the section’s border the right mouse button and select from the context menu the command Break Lines.

Note

As the buildings are no line, but area objects they will not be broken by the command Break Lines. The command Break Areas, however, will break the building’s polygons.

  • When you click on a road outside of the section, you will realize that is just extends to the border of the section.
  • Now, click again on the section’s border frame and select the command Modify Objects from the context menu.
  • Select the action „Delete“ and activate the range „Outside Polygon“.

  • Click OK and confirm by „All“.

Subsequently, the roads outside the section will be deleted.

Note

A bitmap used as background image will neither be broken by the command Break Lines, nor by the command Break Areas.

Border Area (m)

With a border area defined objects within the border will be imported as well. This is useful when having defined a calculation area (see Selecting Data for the Calculation) having the section’s size and sources and obstacles outside this section have to be considered for the calculation as well.