Advanced Workflows for Automation

Language support in Ideate Automation

If you are working with different language Revit models, you want to make sure that Automation launches Revit in the language of your choice. By default Automation will launch Revit in the language it was last run by the user. To ensure the scripts always run with the correct Revit language, add the “-language XXX” (use a code per this article) switch to your script. Note the use of “-” instead of “/” used in desktop shortcuts.

To edit the script file, open it, find the line starting with “<command Controller=”, then add the switch (see in bold):

<!-- Start Revit and open the desired file. If this fails, abort the test -->
<command controller="OS" severity="Error">StartRevit -language DEU -file "$

{revit_file}

</command>

NOTE: Setting the language for one script will make all subsequent scripts without a language switch run in the same language. If you are setting a language for one script, we recommend that you set it for all scripts that you are using, even if it will just be the -language ENU.

 

Submit feature or issue request for Ideate Software

Thank you for taking time to inform us about a bug or feature request.

By entering your data above and clicking ‘SUBMIT’ you are consenting to the collection and use of that data to respond to your comments and inquires, as described in our Privacy Policy. We may also transfer the data you submit in the ‘Email Us’ form to our VAR partners for the limited purpose of a sales follow-up. Please review our Privacy Policy for more details on how and when we collect data and what we use it for.