如果建模零件彼此之间存在几何依赖关系,那么在关联环境中编辑时,Onshape 会提供一些便捷工具,使用这些工具您可以更好地访问可能被其他零件隐藏的零件。
- 隐藏(选定零件)
- 隐藏其他零件
- 隐藏所有零件
- 隔离(选定零件)
- 使用快捷键 y 在悬停光标时隐藏零件
使用这些命令可访问任务所需的零件,而不必费力地查找零件并将其移开以访问相关的图元。
使用快捷键 y 隐藏光标下的零件(将光标悬停在零件上方时,零件将亮显)。要再次显示零件,请使用环境菜单中的“全部显示”或“显示所有零件”命令。
在 Part Studio 中,可以从选定零件的环境菜单中访问这些命令。



Hide or Isolate parts in a Part Studio or instances in an Assembly to improve the visibility of components of interest.
Hide using the eye icon next to parts in a Part Studio or instances in an assembly. Hide multiple parts by selecting them and clicking Hide in the context menu, or Hide other instances if in an assembly and Hide other parts if in a Part Studio. Show all quickly by right-clicking an empty spot in the graphics area and clicking Show all instances if in an assembly and Show all parts if in a Part Studio.
To isolate individual parts or multiple parts at once, select the parts and click Isolate from the context menu. All parts outside of the selection and their corresponding Mate connectors become transparent and are unavailable for selection. Whether in a Part Studio or assembly, isolated parts can Expand by connectivity or by distance. Use the slider to isolate each successive part.
Check Hide transparent parts to hide the non-isolated faded parts completely. Click the X on the dialog to exit and return all parts to their non-isolated state.
Additionally, in assemblies only, right-click on a folder in the instance list and select Hide or Isolate to control the visibility of all instances in the folder.

快捷键:Shift+i
隔离的工作方式与隐藏类似,不同之处在于未选的零件在视觉上保持可见以供参照,但是颜色淡化且不可选择,直到您退出隔离模式。未选的零件的任何嵌合连接器也会颜色淡化且不可选择。与隐藏命令一样,您可以在特征列表和图形区域中选择零件,也可以使用框选功能来进行选择。
可将“隔离”用于单个零件、多个零件和组。
使用“隐藏透明零件”复选框可以完全隐藏显示为褪色的零件。这有助于改善视觉零件的可视化,并可能缩短复杂装配体的渲染时间。当您使用“隔离”工具时,Onshape 会记住您上次为此复选框所做的设置。
在 iOS 平台上,仅“展开: 距离”可用。请选择零件,然后使用两个手指轻按以打开环境菜单,然后选择“隔离”。
请注意显示的对话框。使用“展开: 距离”滑块可按靠近隔离零件的顺序慢慢选择零件。
要退出“隔离”命令,您可以:
- 单击对话框上的 X 可关闭对话框并退出“隔离”命令。
- 打开环境菜单,选择“退出隔离”。
- 使用 Esc (escape) 键。