Public Member Functions | |
def getEntitiesByName (self, name) | |
def getEntityById (self, id) | |
def nextString (self, s, start) | |
def parseAttribute (self, attr_str) | |
def parseAttributes (self, ent_name, attrs_str) | |
def parseLine (self, line) | |
def read (self) | |
Public Attributes | |
file | |
filename | |
header | |
schema | |
Static Public Attributes | |
dictionary entsById = {} | |
dictionary entsByName = {} | |
Detailed Description
Parses an ifc file given by filename, entities can be retrieved by name and id The whole file is stored in a dictionary (in memory)
Member Function Documentation
◆ getEntitiesByName()
def importIFClegacy.IfcFile.getEntitiesByName | ( | self, | |
name | |||
) |
References importIFClegacy.IfcFile.entsByName.
◆ getEntityById()
def importIFClegacy.IfcFile.getEntityById | ( | self, | |
id | |||
) |
◆ nextString()
def importIFClegacy.IfcFile.nextString | ( | self, | |
s, | |||
start | |||
) |
Referenced by importIFClegacy.IfcFile.parseAttribute(), and importIFClegacy.IfcFile.parseAttributes().
◆ parseAttribute()
def importIFClegacy.IfcFile.parseAttribute | ( | self, | |
attr_str | |||
) |
References importIFClegacy.IfcFile.nextString(), and importIFClegacy.IfcFile.parseAttribute().
Referenced by importIFClegacy.IfcFile.parseAttribute(), and importIFClegacy.IfcFile.parseAttributes().
◆ parseAttributes()
def importIFClegacy.IfcFile.parseAttributes | ( | self, | |
ent_name, | |||
attrs_str | |||
) |
References importIFClegacy.IfcFile.nextString(), importIFClegacy.IfcFile.parseAttribute(), and importIFClegacy.IfcFile.schema.
Referenced by importIFClegacy.IfcFile.parseLine().
◆ parseLine()
def importIFClegacy.IfcFile.parseLine | ( | self, | |
line | |||
) |
References importIFClegacy.IfcFile.parseAttributes().
Referenced by importIFClegacy.IfcFile.read().
◆ read()
def importIFClegacy.IfcFile.read | ( | self | ) |
References Base::gzstreambuf.file, importIFCHelper.ProjectImporter.file, Gui::SoU3DVectorOutput.file, Gui::SoSVGVectorOutput.file, exportIFCHelper.ContextCreator.file, Base::FileException.file, importIFClegacy.IfcSchema.file, importIFClegacy.IfcFile.file, and importIFClegacy.IfcFile.parseLine().
Referenced by gzip_utf8.GzipFile.readline(), and gzip_utf8.GzipFile.seek().
Member Data Documentation
◆ entsById
|
static |
◆ entsByName
|
static |
Referenced by importIFClegacy.IfcFile.getEntitiesByName().
◆ file
importIFClegacy.IfcFile.file |
Referenced by importIFClegacy.IfcFile.read().
◆ filename
importIFClegacy.IfcFile.filename |
Referenced by exportDRAWEXE.Drawexporter.process_object(), and exportDRAWEXE.Drawexporter.saveSweep().
◆ header
importIFClegacy.IfcFile.header |
◆ schema
importIFClegacy.IfcFile.schema |
Referenced by importIFClegacy.IfcFile.parseAttributes().
The documentation for this class was generated from the following file:
- src/Mod/Arch/importIFClegacy.py