Skip to content

Instantly share code, notes, and snippets.

@ricaun
Last active August 2, 2024 11:46
Show Gist options
  • Save ricaun/482edc40d2b680ab733e12492264fd0d to your computer and use it in GitHub Desktop.
Save ricaun/482edc40d2b680ab733e12492264fd0d to your computer and use it in GitHub Desktop.
File to use in Revit 2025 to force Macro Manager to open csproj file with your IDE.
@echo off
REM Navigate to the specified directory
cd /d "%~1"
REM Loop through all .csproj files and open them
for %%f in (*.csproj) do (
start "" "%%~f"
)
@ricaun
Copy link
Author

ricaun commented Apr 4, 2024

Copy the code.cmd to some folder like C:\Program Files\Autodesk\Revit 2025\code.cmd and update the configuration in Macro Manager.

Macro_-_Config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment