mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
Decouple pset APIs from blenderbim namespace
This commit is contained in:
@@ -6,6 +6,15 @@ from typing import List, Generator, Optional
|
||||
import ifcopenshell
|
||||
from ifcopenshell.entity_instance import entity_instance
|
||||
|
||||
templates = {}
|
||||
|
||||
|
||||
def get_template(schema):
|
||||
global templates
|
||||
if schema not in templates:
|
||||
templates[schema] = PsetQto(schema)
|
||||
return templates[schema]
|
||||
|
||||
|
||||
class PsetQto:
|
||||
templates_path = {
|
||||
|
||||
Reference in New Issue
Block a user