mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Refactor ownership history system to be simpler and just a usecase. See #1399.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# import bpy
|
||||
# import addon_utils
|
||||
|
||||
settings = {
|
||||
"person": None,
|
||||
"organisation": None,
|
||||
"ApplicationIdentifier": "",
|
||||
"ApplicationFullName": "",
|
||||
"Version": "",
|
||||
"ChangeAction": "NOTDEFINED",
|
||||
}
|
||||
|
||||
|
||||
# settings = {
|
||||
# "person": file.by_id(int(bpy.context.scene.BIMOwnerProperties.user_person)),
|
||||
# "organisation": file.by_id(int(bpy.context.scene.BIMOwnerProperties.user_organisation)),
|
||||
# "ApplicationIdentifier": "BlenderBIM",
|
||||
# "ApplicationFullName": "BlenderBIM Add-on",
|
||||
# "Version": get_application_version(),
|
||||
# }
|
||||
#
|
||||
#
|
||||
# def get_application_version():
|
||||
# return ".".join(
|
||||
# [
|
||||
# str(x)
|
||||
# for x in [
|
||||
# addon.bl_info.get("version", (-1, -1, -1))
|
||||
# for addon in addon_utils.modules()
|
||||
# if addon.bl_info["name"] == "BlenderBIM"
|
||||
# ][0]
|
||||
# ]
|
||||
# )
|
||||
Reference in New Issue
Block a user