"The default Inventor project file is not set or could not be found." Job Server

"The default Inventor project file is not set or could not be found." Job Server

Anonymous
Not applicable
909 Views
1 Reply
Message 1 of 2

"The default Inventor project file is not set or could not be found." Job Server

Anonymous
Not applicable

Hello,

 

I created a Vault plugin for Advance Steel (an AutoCAD extension). When I create a new Job to create a visualization file, the Job Processor returns an error "The default Inventor project file is not set or could not be found.". But since I don't work with Inventor, how can I specify the Inventor project.

Here is the C# code that shows how I create the Job:

 

FileIteration fileIteration = ... get some file from a vault ...
JobService jobService = Connection.WebServiceManager.JobService; if (!jobService.GetJobQueueEnabled()) jobService.SetJobQueueEnabled(true); jobService.AddJob("Autodesk.Vault.DWF.Create.dwg", $"DWF Create: {fileIteration.EntityName}", new[] { new JobParam { Name = "FileVersionId", Val = new FileVersion(fileIteration).Id.ToString() } }, priority: 10);

 

Here is the error that I get:

Screenshot_21.png

 

0 Likes
Accepted solutions (1)
910 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

I found a solution to my problem: when checking in a file to a vault, the file classification should be 'None'

FileClassification fileClassification = FileClassification.None;
0 Likes