Skip to content

IfcStore.Create() throws "The path is not in a valid format." exception #613

Open
@OndrejJanota91

Description

@OndrejJanota91

Hi XBim team.

On one of the computers I am getting "The path is not in a valid format." exception during IFC generation.
Code line which throws this exception is following:

using (var ifcStore = IfcStore.Create(filePath, IFCParts4x3.GetCredentials(), XbimSchemaVersion.Ifc4x3))

I have looked into the XBim library and it ends in the following constructor:

/// <summary> /// Constructor used to create a new persistent model with specified path /// </summary> /// <param name="filepath"></param> /// <param name="ifcVersion"></param> /// <param name="editorDetails"></param> protected IfcStore(string filepath, XbimSchemaVersion ifcVersion, XbimEditorCredentials editorDetails) : this() { var model = ModelProvider.Create(ifcVersion, filepath); AssignModel(model, editorDetails, ifcVersion); }
Any idea how to solve/overcome this ussue?

Thanks for your work.

Best,

Ondřej

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting closureIssues that should be closed if we don't hear back on in a week

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions