mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
SYN004 test case
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
import ifcopenshell
|
||||||
|
|
||||||
|
def test_skip_over_non_entity_instance():
|
||||||
|
data = """
|
||||||
|
ISO-10303-21;
|
||||||
|
HEADER;
|
||||||
|
FILE_DESCRIPTION((''),'2;1');
|
||||||
|
FILE_NAME('','',(''),(''),'','','');
|
||||||
|
FILE_SCHEMA(('IFC2X3'));
|
||||||
|
ENDSEC;
|
||||||
|
DATA;
|
||||||
|
#1=IFCLENGTHMEASURE(0.1);
|
||||||
|
#5=IFCCARTESIANPOINT((0.,0.));
|
||||||
|
ENDSEC;
|
||||||
|
END-ISO-10303-21;
|
||||||
|
"""
|
||||||
|
f = ifcopenshell.file.from_string(data)
|
||||||
|
print(ifcopenshell.get_log())
|
||||||
|
f.by_id(5)
|
||||||
Reference in New Issue
Block a user