Another inspiring guide to getting started with the Revit API, creating interior elevations and revisiting the Revit command line switches:
- Learning to code with interior elevations
- Revit command line switches updated
- World-wide connectivity
Learning to Code with Interior Elevations
Micah kraftwerk15 Gray points out another useful learning resource in the Revit API discussion forum thread on interior elevations code examples with repo:
Another resource that is updated providing insight on writing code looking at interior elevations. As always, .... not mine. 🙂 Just placing here for more people to learn:
The blog post on WinForms ComboBox forms part of a whole series of articles by lisa-marie mueller – let's build the next thing together.
If you want to learn to code and don’t know where to start, check out my posts about Steps to Learn to Code for architects and designers:
Here is the rest of the series:
- filtered element collector [c#]
- finding centroids and considering exceptions
- ViewPlanId and Levels
- phases & goal #1 complete [includes GitHub link]
- view templates
- resizing CropBoxes
- creating FilledRegions & Goal #2 Complete [includes GitHub link]
- coordinate system utilities
- rename views & goal #3 complete [includes GitHub link to release]
Many thanks to Lisa-Marie for creating and sharing this valuable resource, and to Micah for his helpful pointer.
Revit Command Line Switches Updated
We mentioned some command line switch related topics here in the past:
Vladimir Michl of cadstudio.cz provides an update to these in the Revit API discussion forum thread on Revit command-line switches list:
Question: I am trying to find a list with all command-line switches that can be used with Revit. Something equivalent to this list that was shared for AutoCAD. I found some of them in a previous post here, but I am pretty sure those are just a few and not the complete list.
Answer: Here is a more recent overview of runstring parameters for Revit.exe of the switches and parameters for the current versions for both full Revit and for Revit LT:
Autodesk Revit (and Revit LT) is launched using the executable Revit.exe.
In its parameters – from the desktop icon or on the command line – you can use a number of optional runstring parameters (switch, option):
- fully qualified name of a RVT/RTE/RFA file – open a given project or template or family
- fully qualified name of a journal file – execute (repeat) commands stored in the journal log file (.txt)
- /language CODE – run Revit in the given language (if the respective language pack is installed) – e.g. "/language FRA"
- /nosplash – run Revit without the initial graphical splash/jingle
- /viewer – run Revit in the no-license view-only mode (R/O)
- /runmaximized – run in a maximized application window
- /runhidden – run in an invisible (hidden) application window
- /noninteractive – run in a non-interactive mode (cannot control Revit from its UI)
- /debugmode – run in a debug mode
- /3GB (only for older, 32-bit versions) – enable access to RAM over the 2GB limit
In the context of arranging the world-wide Forge Accelerators, Jaime Rosales Duque points out a handy solution for world-wide Internet connectivity:
When I went to Colombia, I rented a device called SkyRoam. It is a world traveller hotspot that allows you to connect up to 10 devices for unlimited data per day (9$) or per month ($80) anywhere in the world. At the London Accelerator, I went out and bought one outright. So far, this little device has saved the day. Here is the web site where you can get the Skyroam Solis X. It is easy to operate using the mobile app on IOS or Android. I think but it can be operated through a website too.
Many thanks to Jaime for the useful hint.