We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9606103 commit 117f663Copy full SHA for 117f663
src/ifcopenshell-python/ifcopenshell/api/geometry/add_representation.py
@@ -142,6 +142,12 @@ def create_plan_representation(self):
142
pass
143
elif self.settings["context"].ContextIdentifier == "SurveyPoints":
144
145
+ else:
146
+ if isinstance(self.settings["geometry"], bpy.types.TextCurve):
147
+ return self.create_text_representation()
148
+ shape_representation = self.create_geometric_curve_set_representation(is_2d=True)
149
+ shape_representation.RepresentationType = "Annotation2D"
150
+ return shape_representation
151
152
def create_lighting_representation(self):
153
return self.file.createIfcShapeRepresentation(
0 commit comments