Understand why in-context edits and derived parts go stale, and adopt the version-locked derive workflow that keeps a multi-Part-Studio robot coherent.
As robots grow, teams split work across many Part Studios and pull geometry between them with Derived features and in-context edits. Done carelessly, this is where models silently go wrong.
Symptom: an in-context part stops updating when the master changes. In-context geometry is captured against a specific assembly context. If you edit the source after that context was created, the dependent part keeps using the old snapshot. Fix: update the context: right-click the part in the Assembly and choose Update context, or in the Part Studio open the three-dot menu on the Assembly contexts list and choose Update context: or, better, migrate to a derive-from-version workflow so the dependency is explicit.
Symptom: a Derived part shows an out-of-date or broken reference after the source edits. Derive grabs specific entities; rename or delete the source face/sketch and the derive loses them. Fix: re-edit the Derived feature and re-select, or derive whole parts/sketches (more stable than deriving individual faces).
The durable workflow (used by advanced teams): derive from a version, not live. In Onshape you can create a Version of the document, then point a Derive feature at that version, even within the same document. The downstream Part Studio only changes when you deliberately bump it to a new version. This gives you reproducibility (a teammate opening the file sees exactly what you saw) and it can improve performance, because Onshape treats a version as immutable/static instead of recomputing the live source.
Pattern for a robot: keep one Master Sketch/Layout Part Studio that holds critical dimensions. Version it. Each subsystem Part Studio derives the relevant layout sketch from that version. When the layout changes, you make a new version and update each subsystem's derive on purpose, no surprise breakage mid-build.
Debugging checklist when a reference breaks: (1) Identify whether it is in-context or derived (the icon differs). (2) Check whether the source was renamed/deleted. (3) Prefer re-selecting whole entities over faces. (4) If it is live-derived and keeps breaking, convert to derive-from-version. (5) Communicate to the team that the layout version bumped, so no one is editing an old context.
The root cause is almost always an undisciplined dependency graph; the cure is making every cross-Part-Studio link explicit and version-locked.
Key takeaways
- In-context geometry is a snapshot; it goes stale unless you update the context or move to derive-from-version
- Derive whole parts/sketches rather than individual faces so renames don't orphan references
- Version your master layout and derive subsystems from that version for reproducibility and steadier performance
Quiz
3 questions. No account needed.
Get all 3 right to finish the lesson. Miss one and only that question comes back: anything you already got right stays banked.
Question 1 of 3
In Onshape, when the source assembly used to create an in-context feature changes, what happens to that in-context reference?
Sources
- FRCDesign.org Learning Course: Top Down Design (layout-driven) (opens in a new tab)
- Onshape Help: Performance Considerations (opens in a new tab)
- Onshape Forum: strategies to address slow regeneration (opens in a new tab)
This lesson is AI-assisted: drafted from primary sources, then reviewed and edited by hand. Errors still get through. When one is reported we fix it and write down what changed, in public, in the corrections log.
All 31 lessons in CAD & Design
CAD Foundations: Spatial Thinking and Drawings
Getting Started: CAD Software and the Design Process
Onshape Fundamentals: Sketches, Parts, and Assemblies
Vendor Libraries (FRCDesignLib) and FeatureScripts
Manufacturability, Drawings, BOMs, and Design Reviews
Worked Examples & Mini-Projects
Common Mistakes & Troubleshooting
- Not done yet:Mate & Assembly Failures: Why Parts Float, Spin, or Won't Move
- Not done yet:Broken In-Context & Derived References
- Not done yet:Slow Regeneration in Big Drivebase Assemblies
- Not done yet:Manufacturability Mistakes That Become Scrap
- Not done yet:Version Control & Team Collaboration Disasters
Advanced Techniques & Case Studies
- Not done yet:Configurations vs. Parametric Variables: Designing One Model, Many Robots
- Not done yet:FeatureScript Automation for FRC
- Not done yet:Browser-Based FEA: Weight-Optimizing Real Structures
- Not done yet:Swerve System Geometry & Motion Math
- Not done yet:Case Study: FRC 6328's Modular Gusset-and-Tube Methodology
2 articles that go further on this
The lesson gets you through the topic. These go wider on it, and each reads in one sitting.
WPILib Won't Deploy: Every Cause and How to Fix It
Your WPILib deploy is failing? Work the decision tree: wrong folder in VS Code, team number, roboRIO image, JDK version, macOS network privacy. Fixes for each.
FRC Onshape Tutorial: How to CAD Your First Robot Part
A beginner Onshape tutorial for FRC: sign up free, learn Part Studios and Assemblies, sketch and extrude your first part, and pull in COTS parts.