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 = {} |
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)
def importIFClegacy.IfcFile.getEntitiesByName | ( | self, | |
name | |||
) |
References importIFClegacy.IfcFile.entsByName.
def importIFClegacy.IfcFile.getEntityById | ( | self, | |
id | |||
) |
def importIFClegacy.IfcFile.nextString | ( | self, | |
s, | |||
start | |||
) |
Parse the data part of a line
Referenced by importIFClegacy.IfcFile.parseAttribute(), and importIFClegacy.IfcFile.parseAttributes().
def importIFClegacy.IfcFile.parseAttribute | ( | self, | |
attr_str | |||
) |
Map a single attribute to a python type (recursively)
References importIFClegacy.IfcFile.nextString(), and importIFClegacy.IfcFile.parseAttribute().
Referenced by importIFClegacy.IfcFile.parseAttribute(), and importIFClegacy.IfcFile.parseAttributes().
def importIFClegacy.IfcFile.parseAttributes | ( | self, | |
ent_name, | |||
attrs_str | |||
) |
Parse the attributes of a line
References importIFClegacy.IfcFile.nextString(), importIFClegacy.IfcFile.parseAttribute(), and importIFClegacy.IfcFile.schema.
Referenced by importIFClegacy.IfcFile.parseLine().
def importIFClegacy.IfcFile.parseLine | ( | self, | |
line | |||
) |
Parse a line
References importIFClegacy.IfcFile.parseAttributes().
Referenced by importIFClegacy.IfcFile.read().
def importIFClegacy.IfcFile.read | ( | self | ) |
Returns 2 dictionaries, entById and entsByName
References e57::ImageFileImpl.file(), App::Meta::License.file, App::Metadata.file(), Base::FileException.file, Base::gzstreambuf.file, Gui::SoSVGVectorOutput.file, Gui::SoU3DVectorOutput.file, exportIFCHelper.ContextCreator.file, importIFCHelper.ProjectImporter.file, importIFClegacy.IfcSchema.file, importIFClegacy.IfcFile.file, Cloud::CloudReader.file, and importIFClegacy.IfcFile.parseLine().
Referenced by gzip_utf8.GzipFile.readline(), and gzip_utf8.GzipFile.seek().
|
static |
|
static |
Referenced by importIFClegacy.IfcFile.getEntitiesByName().
importIFClegacy.IfcFile.file |
Referenced by exportIFCHelper.ContextCreator.createAutomaticProject(), exportIFCHelper.ContextCreator.createCustomProject(), exportIFCHelper.ContextCreator.createGeometricRepresentationContext(), exportIFCHelper.ContextCreator.createGeometricRepresentationSubContext(), exportIFCHelper.ContextCreator.createMapConversion(), exportIFCHelper.ContextCreator.createTargetCRS(), exportIFCHelper.ContextCreator.createTrueNorth(), and importIFClegacy.IfcFile.read().
importIFClegacy.IfcFile.filename |
Referenced by ArchReference.ArchReferenceTaskPanel.accept(), ArchReference.ArchReferenceTaskPanel.chooseFile(), addonmanager_macro.Macro.install(), addonmanager_macro.Macro.is_installed(), exportDRAWEXE.Drawexporter.process_object(), addonmanager_macro.Macro.remove(), and exportDRAWEXE.Drawexporter.saveSweep().
importIFClegacy.IfcFile.header |
importIFClegacy.IfcFile.schema |
Referenced by importIFClegacy.IfcFile.parseAttributes().