+ preload(Plant3D.URIs.Builtin);
+
+ SchemaProvider schemaProvider = g -> SchemaBuilder.getSchema(g);
+ NodeMapProvider mapProvider = (mapping, rootNode) -> new P3DScriptNodeMap(Simantics.getSession(), mapping, rootNode);
+ return load(root, schemaProvider, mapProvider);
+ }
+
+ public static P3DRootNode loadReadOnly(final Resource root) throws DatabaseException {
+ preload(Plant3D.URIs.Builtin);
+
+ SchemaProvider schemaProvider = g -> SchemaBuilder.getSchema(g);
+ return loadReadOnly(root, schemaProvider);
+ }
+
+ public static void preload(String symbolSet) throws DatabaseException {