Functions | |
def | checkShapeFileLibrary () |
def | getFields (filename) |
def | insert (filename, docname, record=None) |
def | open (filename) |
Variables | |
pythonopen = open | |
translate = FreeCAD.Qt.translate | |
def importSHP.checkShapeFileLibrary | ( | ) |
Looks for and/or installs the ShapeFile library
References pythonopen.
Referenced by getFields(), and insert().
def importSHP.getFields | ( | filename | ) |
returns the fields found in the given file
References checkShapeFileLibrary().
def importSHP.insert | ( | filename, | |
docname, | |||
record = None |
|||
) |
imports a SHP/SHX/DBF file in an existing FreeCAD document. the record attribute is an optional string indicating the shapefile field to use to give elevations to the different shapes. If not used, if running in GUI mode, a dialog will pop up to ask the user which field to use.
References checkShapeFileLibrary().
Referenced by open().
def importSHP.open | ( | filename | ) |
opens a SHP/SHX/DBF file in a new FreeCAD document
References importIFCHelper.decode(), and insert().
importSHP.pythonopen = open |
Referenced by checkShapeFileLibrary().
importSHP.translate = FreeCAD.Qt.translate |