MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / set_path

Method set_path

src/bonsai/bonsai/bim/ifc.py:127–131  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

125
126 @staticmethod
127 def set_path(value: str) -> None:
128 IfcStore.path = value
129 # Interpret relative paths as relative to .blend file.
130 if IfcStore.path and not os.path.isabs(IfcStore.path):
131 IfcStore.path = os.path.abspath(os.path.join(bpy.path.abspath("//"), IfcStore.path))
132
133 @staticmethod
134 def generate_cache_path() -> str:

Callers 3

get_fileMethod · 0.45
_executeMethod · 0.45

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected