Opening a project as a scheduled task

Anonymous

Opening a project as a scheduled task

Anonymous
Not applicable

I'm doing a little research on something I used to do in AutoCAD pretty easily.  At a command prompt with AutoCAD there's a number of available switches where you can specify files to open, and do a number of customizable options to files or the program itself.

 

Looking into a way to automate Navisworks dumps  to occur at night, our projects are on B360, and it appears no flexibility on start up options?  Is it possible to configure a start up option and a path to open then open a project?

 

I see there's a few addin's that accomplish these goals, but with some very heavy price tags. 

0 Likes
Reply
1,285 Views
6 Replies
Replies (6)

jeremytammik
Autodesk
Autodesk

Dear Jason,

 

Thank you for your query.

 

Are you asking about Navisworks or Revit or what?

 

Please note that this discussion forum is dedicated to programming Revit using the Revit API.

 

You can easily start up Revit automatically as a scheduled task from the operating system, specify the file path of a model to open and process, and automate that processing, e.g., by launching it in the DocumentOpened event:

 

https://apidocs.co/apps/revit/2019/7e5bc7a1-0475-b2ec-0aec-c410015737fe.htm

 

But, as said, I have no idea whether you are talking about Revit at all, or something completely different.

 

I hope this helps.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

Anonymous
Not applicable

Yes, Revit MEP.  The options for Revit forums this seems the most appropriate.  

0 Likes

helpdeskRKJRM
Explorer
Explorer

Hi, how did you with this? We are looking for ways to load specific versions of Revit files as a scheduled windows task. Basically we want computer to automatically start to load RevitProject2021.rvt and RevitProject2022.rvt at 6:30AM before staff start work at 8:00AM so they don't wait and waste time for 20 minutes for projects to load. Much appricited

0 Likes

jeremy_tammik
Autodesk
Autodesk

Dear Helpdesk,

  

Scheduling a Windows task is an easy standard operation:

  

https://duckduckgo.com/?q=schedule+windows+task

  

Cheers

  

Jeremy

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes

matthewcadle
Participant
Participant

Hi Jeremy,

Using task scheduler to open Revit is simple/easy. How then is it configured to open a specific project automatically when that task is run? This project could either be a cloud based (BIM360/ACC), local Central Model or local Project.

0 Likes

jeremy_tammik
Autodesk
Autodesk

I have only used it with local files myself:

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes

Type a product name