Skip to content

Commit 312be20

Browse files
committed
SYN004 test case
1 parent 7c9df9f commit 312be20

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import ifcopenshell
2+
3+
def test_skip_over_non_entity_instance():
4+
data = """
5+
ISO-10303-21;
6+
HEADER;
7+
FILE_DESCRIPTION((''),'2;1');
8+
FILE_NAME('','',(''),(''),'','','');
9+
FILE_SCHEMA(('IFC2X3'));
10+
ENDSEC;
11+
DATA;
12+
#1=IFCLENGTHMEASURE(0.1);
13+
#5=IFCCARTESIANPOINT((0.,0.));
14+
ENDSEC;
15+
END-ISO-10303-21;
16+
"""
17+
f = ifcopenshell.file.from_string(data)
18+
print(ifcopenshell.get_log())
19+
f.by_id(5)

0 commit comments

Comments
 (0)