updated links in docs

This commit is contained in:
Ryan Schultz
2024-09-03 13:18:55 -05:00
parent eb7411b310
commit 290c08d6d5
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ if IN_BLENDER:
layout.operator("bim.copy_debug_information", text="Copy Error Message To Clipboard")
op = layout.operator("bim.open_uri", text="How Can I Fix This?")
op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#installation-issues"
op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#installation-issues"
layout.label(text="Try Reinstalling:", icon="IMPORT")
op = layout.operator("bim.open_uri", text="Re-download Add-on")
+1 -1
View File
@@ -425,7 +425,7 @@ class BIMCameraProperties(PropertyGroup):
custom_scale_denominator: bpy.props.StringProperty(default="100", update=update_diagram_scale)
raster_x: IntProperty(name="Raster X", default=1000)
raster_y: IntProperty(name="Raster Y", default=1000)
dpi: IntProperty(name="DPI", default=75)
dpi: IntProperty(name="DPI", default=)
width: FloatProperty(name="Width", default=50, subtype="DISTANCE")
height: FloatProperty(name="Height", default=50, subtype="DISTANCE")
is_nts: BoolProperty(name="Is NTS", update=update_is_nts)
+1 -1
View File
@@ -132,7 +132,7 @@ class BIM_PT_project(Panel):
row = box.row(align=True)
row.label(text="Your Model May Be Outdated", icon="ERROR")
op = row.operator("bim.open_uri", text="", icon="QUESTION")
op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#saving-and-loading-blend-files"
op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#saving-and-loading-blend-files"
row.operator("bim.close_blend_warning", text="", icon="CANCEL")
if props.ifc_file:
+4 -4
View File
@@ -444,7 +444,7 @@ class BIM_PT_tabs(Panel):
box.label(text="View the console for full logs.", icon="CONSOLE")
box.operator("bim.copy_debug_information", text="Copy Error Message To Clipboard")
op = box.operator("bim.open_uri", text="How Can I Fix This?")
op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html"
op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html"
if not tool.Ifc.get():
return
@@ -456,7 +456,7 @@ class BIM_PT_tabs(Panel):
row = box.row(align=True)
row.label(text="Your model may be outdated", icon="ERROR")
op = row.operator("bim.open_uri", text="", icon="QUESTION")
op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#saving-and-loading-blend-files"
op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#saving-and-loading-blend-files"
row.operator("bim.close_blend_warning", text="", icon="CANCEL")
if context.mode != context.scene.BIMGeometryProperties.mode:
@@ -465,7 +465,7 @@ class BIM_PT_tabs(Panel):
row = box.row(align=True)
row.label(text="Geometry changes will be lost", icon="ERROR")
op = row.operator("bim.open_uri", text="", icon="QUESTION")
op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#incompatible-blender-features"
op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#incompatible-blender-features"
if (o := context.active_object) and [round(x, 4) for x in list(o.matrix_world.to_scale())] != [1, 1, 1]:
box = self.layout.box()
@@ -473,7 +473,7 @@ class BIM_PT_tabs(Panel):
row = box.row(align=True)
row.label(text="Object scaling will be lost", icon="ERROR")
op = row.operator("bim.open_uri", text="", icon="QUESTION")
op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#incompatible-blender-features"
op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#incompatible-blender-features"
def draw_tab_entry(self, row, icon, tab_name, enabled=True, highlight=False):
tab_entry = row.row(align=True)