pi-revit 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,31 @@
1
+ @echo off
2
+ rem pi-revit: open Pi in the pi-revit workspace from anywhere.
3
+ rem pi-revit -> Documents\pi-revit (workspace AGENTS.md loads)
4
+ rem pi-revit <project> -> Documents\pi-revit\Projects\<project> (its AGENTS.md loads too)
5
+ rem any further args are passed straight to pi (e.g. pi-revit sample -c)
6
+ rem Installed next to the pi command by scripts\setup-workspace.ps1, which rewrites
7
+ rem the WORKSPACE line below to the chosen -WorkspaceDir.
8
+
9
+ set "WORKSPACE=%USERPROFILE%\Documents\pi-revit"
10
+
11
+ if "%~1"=="" (
12
+ cd /d "%WORKSPACE%"
13
+ pi
14
+ exit /b
15
+ )
16
+
17
+ if exist "%WORKSPACE%\Projects\%~1\" (
18
+ cd /d "%WORKSPACE%\Projects\%~1"
19
+ shift
20
+ ) else (
21
+ cd /d "%WORKSPACE%"
22
+ )
23
+
24
+ set "ARGS="
25
+ :collect
26
+ if not "%~1"=="" (
27
+ set "ARGS=%ARGS% %1"
28
+ shift
29
+ goto collect
30
+ )
31
+ pi%ARGS%
@@ -0,0 +1,5 @@
1
+ @echo off
2
+ rem Double-click launcher: opens Pi in this folder. Copy into any Projects\<name>\
3
+ rem folder to launch Pi scoped to that project.
4
+ cd /d "%~dp0"
5
+ pi
@@ -0,0 +1,8 @@
1
+ # Project: (name)
2
+
3
+ Notes for Pi sessions on this Revit project. Replace/extend as you learn the model.
4
+
5
+ - Model: (file name / what it is)
6
+ - Units: (metric/imperial)
7
+ - Naming conventions: (levels, views, sheets)
8
+ - Known quirks: (warnings to ignore, in-place families, etc.)