Bits & Bytes & ASCII Table

C# + Revit API: Lesson 2 - Bits & Bytes, ASCII Table, Pointers & Structs -> Programming 101

Recommendation: Take the CS50 Course from Harvard University, or the Free C# Course by BIMTeam on Stepik (by PIK), to build a solid foundation. True and False (true/false) In programs we often check conditions. For example: “if the pipe is longer than 10 m — make a joint.” A condition can only be either true or false. True and False (0 and 1) Computers don’t understand the words true/false — everything is stored as numbers. So true = 1, and false = 0. ...

22 September, 2025 · 12 min
What Each Part Does (Beginner-Friendly)

C# + Revit API: Lesson 1 - Creating a Command to Automate Sheet Creation

This lesson delivers on the promise from Lesson 0 — we’ll build a real command that: Tries to create a sheet (with proper error handling) Counts existing sheets in the document Shows a friendly summary to the user ✅ Prereqs: Finish Lesson 0’s Application setup first. If your project has no title blocks loaded, the command will tell you and exit safely. Application vs. Command Application (starts with Revit): sets up your add‑in — e.g., creates ribbon panels and buttons. Think “wiring & menu.” Command (runs when you click a button): does the actual work — reads/modifies the model. Think “tool action.” In code, these map to different interfaces: ...

15 September, 2025 · 8 min