New to OpenPlant, but not workspaces so please be gentle, and have taken the project pcf file and included it in our build as a cfg and customised the paths. PAthing is fine, but when I start OPM I get the error below. Any idea on what I need to check out? Thanks.
Hello Bear,
You may refer below wiki on this to give you some idea on such error types. Mainly first use case would help, by opening class editor and check it further if something goes wrong.
StartUp Error-Launching OpenPlant Modeler Applies To Product(s): OpenPlant Modeler Version(s): 08.11.09.XXX (SS5) | 08.11.11.XXX (SS6) Environment: Windows 7/8.1/10 (64 bit) Area: Start Up Subarea… Last edited over 6 years ago in OpenPlant | AutoPLANT > OpenPlant | AutoPLANT Wiki
However you may also please upload your workspace for us to investigate the matter.
Link to upload workspace - https://bentley.sharefile.com/r-r549b80ab79443429
HTH
-Regards | Rahul Kumar
Regards,
Rahul Kumar
Product Engineer – Global Technical Support | Community Moderator
Thanks for the quick reply Rahul. The error is the same as the first, but in the OpenPlant_3D.01.07.ecschema.xml file I have. This file opens without error in Class Editor. More digging required.
Hi,
Could you please take a snapshot of the error, while opening the schema in class editor, and attach here? Also, if you could send your OPenPlant_3D.01.07 schema may be we can fix it.
Regards,Harpreet
I hope there's not much to fix, I haven't edited the schema yet, it's a fresh one from OP Admin.
When I open Class Editor it just asks to open to where the referenced schema files are located. I'll post an image once I'm back at the office.
This is a copy of the section from the exception.log:
************** Exception Text **************System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Bentley.ECObjects.ECObjectsException+FailedToReadSchema: Failed to read ECSchema from 'N:\14_EngineeringServices\Drafting\Admin\_CADmanage\Bentley\Standard\MS811_SS3\OpenPlant\Projects\AERISON\Dataset\Schemas\OpenPlant_3D.01.07.ecschema.xml'. ---> Bentley.ECObjects.ECObjectsException+SchemaNotFound: The schema 'OpenPlant_3D.01.07' references schema 'OpenPlant.01.07', but that schema cannot be located. at Bentley.ECObjects.XML.ECSchemaXmlReader.DeserializeSchemaReference(XmlTextReader reader, IECSchema parentSchema) at Bentley.ECObjects.XML.ECSchemaXmlReader.DeserializeSecondPass(XmlTextReader reader) at Bentley.ECObjects.XML.ECSchemaXmlStreamReader.Deserialize(IECSchema schema) --- End of inner exception stack trace ---
Schema locations are configured to the project location via the PCF. I noticed this morning that the local reference had been removed. Added the variable:
OPM_DIR_SCHEMAS < $(_USTN_WORKSPACEROOT)OPModeler/schemas/
back in and errors are gone.
Answer Verified By: Harpreet Singh
Thanks for the update!!
Right, It needs the path of both Project as well as workspace schemas.