# import

Imports one or more points, lines, waterlevels or polygons. The following file formats are supported: dxf, step, stp, brep. In case of a dxf import, it is important to set 'INSUNIT' global variable in the dxf file to the desired unit.

Imports points, lines and polygon from a specified location into the geometry with specified scaling factors in x and y directions at the specified insertion point.

import "points" "C:\PLAXIS2D\Importables\geometry_file_dxf.dxf" (1 1) (0 0)
Imports points from a specified location C:\PLAXIS2D\Importables\geometry_file_dxf.dxf into the geometry with scaling factors of 1 in both x and y direction, at the specified insertion point (0, 0).

import "lines" "C:\PLAXIS2D\Importables\geometry_file_dxf.dxf" (1 1) (0 0)
Imports lines from a specified location C:\PLAXIS2D\Importables\geometry_file_dxf.dxf into the geometry with scaling factors of 1 in both x and y direction, at the specified insertion point (0, 0).

import "points|lines|polygons" "C:\PLAXIS2D\Importables\geometry_file_dxf.dxf" (2 2) (1 1)
Imports points, lines and polygons from a specified location C:\PLAXIS2D\Importables\geometry_file_dxf.dxf into the geometry with scaling factors of 2 in both x and y direction, at the specified insertion point (1, 1).

<Text: "points"|"lines"|"polygons"|"waterlevels"|"points|lines"|"points|polygons"|"lines|polygons"|"points|lines|polygons"> Text' <Coords: Number' Number'>' <Coords: Number' Number'>'

Text | Type of object that should be imported | |

"points" | Imports points | |

"lines" | Imports lines | |

"polygons" | Imports polyons | |

"waterlevels" | Imports waterlevels | |

"points|lines" | Imports points and lines at the same time | |

"points|polygons" | Imports points and polygons at the same time | |

"lines|polygons" | Imports lines and polygons at the same time | |

"points|lines|polygons" | Imports points, lines and polygons at the same time | |

Text | File name of the object that should be imported | |

Coords | Scaling factors | |

Number | Scaling factor in the x direction | |

Number | Scaling factor in the y direction | |

Coords | Coordinates where the object should be imported | |

Number | x | x-coordinate |

Number | y | y-coordinate |

Mode | Target |
---|---|

Geometry | Global |

{1,...} Object