importIFClegacy.IfcFile Class Reference

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 
)

◆ getEntityById()

def importIFClegacy.IfcFile.getEntityById (   self,
  id 
)

◆ nextString()

def importIFClegacy.IfcFile.nextString (   self,
  s,
  start 
)

◆ parseAttribute()

def importIFClegacy.IfcFile.parseAttribute (   self,
  attr_str 
)

◆ parseAttributes()

def importIFClegacy.IfcFile.parseAttributes (   self,
  ent_name,
  attrs_str 
)

◆ parseLine()

def importIFClegacy.IfcFile.parseLine (   self,
  line 
)

◆ read()

def importIFClegacy.IfcFile.read (   self)

Member Data Documentation

◆ entsById

dictionary importIFClegacy.IfcFile.entsById = {}
static

◆ entsByName

dictionary importIFClegacy.IfcFile.entsByName = {}
static

◆ file

◆ filename

◆ header

importIFClegacy.IfcFile.header

◆ schema

importIFClegacy.IfcFile.schema

The documentation for this class was generated from the following file: