mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
You can now add plan views based on a building storey. See #890.
This commit is contained in:
@@ -72,7 +72,13 @@ class AddDrawing(bpy.types.Operator, Operator):
|
||||
|
||||
def _execute(self, context):
|
||||
self.props = context.scene.DocProperties
|
||||
core.add_drawing(tool.Ifc, tool.Collector, tool.Drawing, target_view=self.props.target_view, location_hint=None)
|
||||
core.add_drawing(
|
||||
tool.Ifc,
|
||||
tool.Collector,
|
||||
tool.Drawing,
|
||||
target_view=self.props.target_view,
|
||||
location_hint=int(self.props.location_hint),
|
||||
)
|
||||
|
||||
|
||||
class CreateDrawing(bpy.types.Operator):
|
||||
|
||||
Reference in New Issue
Block a user