This commit is contained in:
Andrej730
2026-02-26 17:08:36 +05:00
parent ff3933a117
commit 333b6210a4
12 changed files with 49 additions and 33 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ class TestEditTextLiterals(NewFile):
context = ifc.createIfcGeometricRepresentationSubContext(ContextType="Plan", ContextIdentifier="Annotation")
item = ifc.createIfcTextLiteralWithExtent(Literal="Literal", Path="RIGHT", BoxAlignment="bottom-left")
builder = ShapeBuilder(tool.Ifc.get())
polyline = builder.polyline([(0.,0.,0.), (1.,0.,0.)])
polyline = builder.polyline([(0.0, 0.0, 0.0), (1.0, 0.0, 0.0)])
representation = ifc.createIfcShapeRepresentation(ContextOfItems=context, Items=[item, polyline])
element.Representation.Representations = [representation]
tool.Ifc.link(element, obj)