組合件組態
在 Onshape 中不論您是否有 Part Studio 組態,您都可以在組合件內建立自己的組態。組態是各自獨立且在彼此間並無重要性。
組合件組態與 Part Studio 組態運作機制相同,不同之處是在組合件中僅能設定結合 (請勿與結合連接器混淆)、實例與複製排列。
當有多位使用者在同一文件上操作時,每個人可以看到自己所選的組態 (除了是以跟隨模式操作時,在此種情況下跟隨者會看到領導者選取的組態)。
若要進一步了解組合件組態,您可用自己的步調跟著 Assembly configurations (需要有 Onshape 帳戶) 的課程操作。
下方的範例顯示組合件視窗的右側有組態面板的圖示,出現在紅色箭頭的右邊:

在工作區中有零件實例或組合件的情況下,開啟「組態」面板:
- 按一下圖形區域右側的
(如上圖所示)
-
「組態」面板開啟:
- 按一下
來開啟表格:
- 按一下第一個列來啟用,然後在「名稱」欄鍵入輸入項的名稱。例如,若要在一個零件上設定複製排列,您可以將列取名為 2x2 與 4x4。可以使用 TAB 鍵來在列之間移動。
啟用的列會在列的左側有藍色長條。
- To configure an input value for the indicated row, click
.
- Select the Mate, instance or pattern that contains the input (click it in the Assembly list) and select the input in the dialog that opens (shown below outlined in red). The input is then outlined with a broken yellow line and a new column is created for that input in the table (shown below, in the Configuration panel, to the left of the red arrow).
預設的欄位名稱會是所選取圖元的名稱 (最上層的標題) 加上欄位名稱 (次級階層標題)。在這個範例中 Box <1> 是選取的圖元,使用者已將欄位名稱變更為 2 x 2 與 Long。
- To edit a configured instance of the input:
- If the input is an entered value, click on the row in the table and enter a new value.
- If the input is a selection in a dialog, double-click the row in the table to open the feature dialog.
The appropriate field in the feature dialog is highlighted in blue. Make your selection on the model or in the Instances lists for this input .
- 在完成組態的定義後,按一下視窗上方橘色訊息中的 [完成] 按鈕,或關閉對話方塊。
- 為每個列重複步驟 6 到步驟 8。
- Repeat steps 5 through 8 to add another feature to the table.
- 若要在模型上測試您的輸入,請於「特徵」清單中的組態之下,使用下拉箭頭來從功能表中選擇:
根據預設,「組態」左側的插入符號是展開的 (上圖中紅色箭頭的右邊),當您完成面板該部分的操作時,按一下插入符號來摺疊該部分。
Hover over the fields in the feature dialog to see which features can be configured. Features available for configuration are highlighted in yellow when you hover over them.
模型應會相對應地更新。如果沒有,請檢查模型確定有正確傳達設計意圖,並已為組態定義做出正確的選擇。

Onshape 同時提供可直接在「組態」面板中為您之前已定義的組態輸入項與選項設定組合件屬性的機制。可組態的屬性包括:名稱、說明、零件編號、修訂版、廠商、專案、產品線、標題 1、標題 2、標題 3,非修訂版管理的與從所有 BOM 中排除。
組態設定組合件屬性:
- 在「組態」面板中有現存的組態輸入項的情況下,按一下面板最上方的
(在下圖中以藍色輪廓線框出):
- 按一下
。
- 選擇您要組態的組合件屬性 (清單中包括屬性) (這個範例使用的是「專案」)。
會建立一個表格,其中第一個欄有之前所選組態的輸入項,屬性則在第二個欄中:
- 在「組態」欄中使用下拉箭頭來從組態選項清單中選擇。
- 在「專案」欄 (專案屬性) 中輸入名稱。
- 若要為另一個組態選項加入更多的零件屬性,按一下
。
- 從第一欄中選擇一個新的組態選項。
- 在「專案」欄 (專案屬性) 中輸入名稱。
- 根據需要為所需的組態選項設定屬性。
在組態設定零件編號屬性時,若自動產生零件編號選項是開啟的,您可以按滑鼠右鍵並選擇 [產生新零件編號] (透過您 Professional Company 設定 > 編號方案 或 Enterprise 設定 > 編號方案):
若要變更組態的名稱,請點按組態名稱並輸入新的名稱。在編輯方塊外按一下來儲存變更。

在將有組態的零件插入至組合件後,您可以在任何裝置上變更零件的組態:
- 在零件 (或「實例清單」中的零件名稱) 上按右鍵,然後選擇變更組態。
會開啟一個「變更組態」的對話方塊:
- 選擇一個新的組態選項。
- 當對所做選擇滿意時,按一下
(使用
來取消操作)。
在 iOS 與 Android 裝置上輕觸三點功能表,接著選擇 [變更組態] 來存取組態下拉清單,然後選擇一個不同的組態。輕觸 [產生] 的按鈕來建立零件的新組態。

The examples in this section show a configured Part Studio; functionality is identical when working with configured Assemblies.
You can adjust the conditions under which a configuration input is visible.
Consider a part with two configuration inputs: Height and Width.
By default, a part of any height can have any width. But let's say the Extra Wide width is only available for the Tall height. In that case, we can set the conditions under which the Width input is visible.
- In the Configuration panel, click the configuration table's three-dot button, and select Visibility conditions from the menu.
The Configuration visibility conditions dialog opens. The right panel shows a preview of the currently selected configurations. You can change the selected options directly in this panel to preview your settings. - Click Add condition.
- Click the first dropdown, and select the input that should control the visibility of this input. In this example, we'll select the Height input.
- Click the second dropdown, and select the conditions under which the input is available. In this example, the Width input is only available for the Tall height. The preview on the right updates to reflect your selections. You can see that the Width input is no longer available for the Short height in the image below.
- Click Save. Now, the Width input is only visible when the Tall height is selected, and the Width input table displays the Visibility conditions icon
.
Setting multiple conditions
Configuration conditions are additive; if we add a third configuration to the above example and set the conditions shown in the image below, the Large Fillet option will only be available for parts that have both the Tall height and Extra Wide width inputs.
When the Default width is set for the Tall height, the Fillet configuration is hidden.
Configuration inputs can only control the visibility of inputs that appear below them in the Configurations panel. In our example, the Width input can be controlled by the Height input, but not by the Fillet input.
提示
-
The visibility conditions you set are available in all Insert dialogs (i.e., when inserting a configured part into an assembly).
-
Hidden inputs always have their default value. In the example above, Short and Medium height parts have the Default width, even though no width options are set.
-
(Parts and Part Studios only): Configuration inputs that have been excluded from properties can only control the visibility of other inputs below them that have also been excluded from properties. In the example below, if Width is excluded from properties (indicated by the
icon), it can only control the Fillet visibility if Fillet is also excluded from properties.
- Use the Inputs dropdown in the Configuration visibility conditions dialog to view other inputs. You can select All inputs to view all inputs available.
- You can use the preview section of the Configuration visibility conditions dialog as a playground to test your configurations.
- Select the Show hidden inputs checkbox to show grayed-out inputs in the Configuration visibility conditions dialog.
-
Click
in the Configurations selector to open the Configuration visibility conditions dialog for all inputs. Click
in the Configurations panel to open the dialog for that input.
-
Changes made to visibility conditions are automatically reflected in all existing documents that reference the configured element.

您可以對組態表格進行複製與貼上,使得輸入或編輯輸入項的值更為容易。
複製組態表格:
- 開啟右上角的
功能表,就在 [+組態特徵] 功能的旁邊。
- 選擇 [複製表格]。
- 複製表格之後,您可以將其貼入試算表中。
請注意,欄名稱會與表格一起貼入。您現在可以編輯表格,然後將其複製/貼回 Onshape 中:
- 僅選擇內有資料的列與欄 (不是欄名稱或標題)。
- 送出一個「複製」的指令。
- 在 Onshape 組態表格中,按一下表格最左上方的儲存格。
- 送出一個 [貼上] 的指令。
如果需要,您也可以使用額外的空白列來加長表格。只需要在選取複製指令時,將額外的列包含在試算表中。
Onshape automatically replaces whatever data was in the rows and columns of the configuration input table with the data that was copied. Onshape also includes the default units for each input, automatically.
注意,如果從試算表中複製的列數多於 Onshape 組態輸入項表格中的列數,則在貼上的操作中會包括多的欄。Onshape 會在操作的過程中建立列。
不過,如果從試算表中複製的欄數多於 Onshape 組態輸入項表格中的欄數, 則在貼上的操作中不會包括多的欄。Onshape 不會在操作的過程中建立欄位。不過您可以在貼上之前於組態表格中建立額外的欄 (已組態特徵)。

When inserting a part with excluded configurations into an assembly, you'll see the Excluded from properties icon next to the part.