アセンブリコンフィギュレーション
In Onshape, you can create your own configurations inside an assembly regardless of whether or not you have Part Studio configurations. They are altogether separate and neither impacts the other.
Assembly configurations work mechanically the same way as Part Studio configurations. The difference is that in an assembly, you can only configure mates (not mate connectors), instances, and patterns.
同じドキュメントで 1 人以上ののユーザーが作業している場合、フォローモード で作業している場合を除き、各ユーザーが選択したコンフィギュレーションが表示されます。この時点で、フォロワーは引出線で選択されたコンフィギュレーションを確認します。
To learn more about assembly configurations, you can follow the self-paced course here: Assembly configurations (Onshape account required).
Below is an example of an assembly with the Configuration panel icon on the right side of the window, shown below to the right of the red arrow:

ワークスペースにパーツインスタンスまたはアセンブリがある状態で、[コンフィギュレーション] パネルを開きます。
- 上の図のように、グラフィック領域 (上図に表示) の右側にある
をクリックします。
-
[コンフィギュレーション] パネルが開きます。
- Click
:
- Click in the first row to activate it and enter the names of the input in the Name column. For example, to configure a pattern on a part, you might name the rows 2x2 and 4x4. Use Tab to move from one row to the next.
アクティブな行は、行の左側に青いバーで示されます。
- 指定した行の入力値を構成するには、
をクリックします。
- Select the mate, instance or pattern that contains the parameter (click it in the Assembly list) and select the parameter in the dialog that opens (shown below outlined in red). The parameter is then outlined with a broken yellow line and a new column is created for that input in the configuration (shown below, in the Configuration panel, to the left of the red arrow).
列名は、選択したエンティティの名前 (上位の見出し) とフィールド名 (下位の見出し) が既定で付けられます。この例では、ボックス <1> a0> が選択したエンティティで、フィールド名はユーザーにより 2 x 2 と Long に変更されています。
- To edit a configured parameter:
- 入力が手動入力された値の場合は、テーブルの行をクリックし、新しい値を入力します。
- 入力がダイアログで選択された値である場合は、テーブルの行をダブルクリックしてフィーチャーダイアログを開きます。
フィーチャーダイアログで該当するフィールドが青色で強調表示されます。モデルまたはこの入力のインスタンスリストで選択します。
- When finished defining the configurations, click the Done button in the orange message at the top of the window, or close the dialog box.
- 各行について、手順 6 ~ 8 を繰り返します。
- Repeat steps 5 through 8 to add another feature to the configuration.
- モデルを使用して入力をテストするには、フィーチャーリストで [コンフィギュレーション] の下矢印を使用してメニューから選択します。
既定では、[コンフィギュレーション] の左にあるキャレットが展開されます (赤い矢印の右上に表示))。パネルのセクションを終了したら、キャレットをクリックしてそのセクションを折りたたみます。
フィーチャーダイアログでフィールドにカーソルを合わせて、コンフィギュレーションが可能なフィーチャーを表示します。コンフィギュレーションに使用できるフィーチャーは、その上にカーソルを合わせると、黄色で強調表示されます。
それに応じてモデルが更新されます。そうでない場合は、モデルの設計意図およびコンフィギュレーション定義をチェックして正確な選択を行います。

Onshape has a mechanism for also configuring assembly properties for each of the configuration inputs you have previously defined, directly from the Configuration panel. The properties available to be configured include: name, description, part number, revision, vendor, project, product line, title 1, title 2, title 3, not revision managed, and exclude from all BOMs.
アセンブリプロパティを構成するには、次の手順を実行します。
- [コンフィギュレーション] パネルに既存のコンフィギュレーション入力がある状態で、パネルの上部にある
をクリックします (下の図は青で示されています)。
-
をクリックします。
- 構成するアセンブリプロパティを選択します (リストには [プロパティ] が含まれます)。(この例では [プロジェクト] を使用しています)。
テーブルは、最初の列に以前に選択したコンフィギュレーション入力と 2 番目の列にプロパティを使用して作成されます。
- [コンフィギュレーション] 列で、下向き矢印を使用してコンフィギュレーションオプションのリストから選択します。
- [プロジェクト] 列 (プロジェクトプロパティ) に、名前を入力します。
- 別のコンフィギュレーションオプションにパーツプロパティを追加するには、
をクリックします。
- 最初の列から新しいコンフィギュレーションオプションを選択します。
- [プロジェクト] 列 (プロジェクトプロパティ) に、名前を入力します。
- 必要に応じて、この手順を繰り返して、必要なコンフィギュレーションオプションのプロパティを構成します。
パーツ番号のプロパティを設定する場合、(Professional Company の設定により) パーツ番号の自動生成がオンになっている場合は、右クリックして [新しいパーツ番号を生成] > [番号付けスキーム] または Enterprise 設定 > [番号付けスキーム]) を選択できます。
コンフィギュレーションの名前を変更するには、名前 (コンフィギュレーション) をクリックして新しい名前を入力します。編集ボックスの外をクリックして保存します。

コンフィギュレーションを持つパーツをアセンブリに挿入した後、任意のデバイス上でそのコンフィギュレーションを変更できます。
- パーツ (またはインスタンスリストのパーツ名) を右クリックし、[コンフィギュレーションの変更] を選択します。
コンフィギュレーションの変更ダイアログが開きます。
- 新しいコンフィギュレーションオプションを選択します。
- 選択内容が目的に合致したら、
をクリックします (操作をキャンセルするには、
を使用します)。
iOS および Android デバイスの場合は、3 点メニューをタップし、[コンフィギュレーションの変更] を選択してコンフィギュレーションドロップダウンにアクセスし、別のコンフィギュレーションを選択します。[生成] ボタンをタップして、パーツの新しいコンフィギュレーションを生成します。


You can copy and paste a configuration input into and out of a Part Studio or Assembly. This makes it quick and easy to share configurations between designs.
-
Open the Configuration panel in the Part Studio or Assembly that contains the input to copy.
-
Click the input's three-dot menu and select Copy input or Copy all inputs.
-
Open the Configuration panel in the Part Studio or Assembly to paste the input.
-
Click the arrow next to Configure Part Studio/Assembly and select Paste inputs.
The inputs are inserted into the Configuration panel. -
Select the parameters to configure from the new Part Studio or Assembly. Continue reading to learn how to now copy input values and parameters into the input tables.
Notes:
- You can copy and paste configuration inputs: between Part Studios and Assemblies, within the same document, and between different documents.
- All names, visibility conditions, FeatureScript IDs, and variable definitions are copied with the input.
- Copied inputs are available until the user logs out.
- References between the copied input and pasted input are NOT maintained; after pasting, changes to the original configuration input are NOT reflected in the pasted inputs.
- Pasted visibility conditions are automatically repaired (removed) if the target configuration does not have all the inputs needed to compute the visibility.
- Configuration inputs with the same internal FeatureScript IDs are not pasted. To fix this, you can delete the configuration input with the same internal FeatureScript ID and paste again.

You can copy and paste into and out of a configuration, to aid in entering or editing values.
To copy values and parameters:
- Open the
menu in the upper right corner, next to +Configure features.
- Select Copy table:
- Once you have copied the table, you can paste it into a spreadsheet:
Note that the column names also come in with the table, as shown above. Now you can edit the table and copy/paste it back into Onshape:
- Select just the rows and columns with data (not the column names or headings), as shown in blue below:
You can also pad your table with extra empty rows, if you wish. Just include the extra rows in the spreadsheet when selecting for the copy command.
- Issue a Copy command.
- In the Onshape Configuration table, click the top, left cell of the table.
- Issue a keyboard Paste command:
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.
Note that if there are more rows copied from the spreadsheet than are in the Onshape configuration input table, those rows are included in the paste. Onshape creates the rows on the fly.
However, if there are more columns copied from the spreadsheet than are in the Onshape configuration input table, those columns are not included in the paste. Onshape does not yet create columns on the fly. You can, however, create additional columns (parameters) in the configuration table before pasting.

このセクションの例は、構成済みの Part Studio を示しています。構成済みのアセンブリを使用する場合も、機能は同じです。
コンフィギュレーション入力が表示される条件を調整できます。
高さと幅の 2 つのコンフィギュレーション入力があるパーツを考えてみましょう。
既定では、どの高さのパーツにも任意の幅を設定できます。ただしここでは、幅を [エキストラワイド] にしたのみ高さを [高い] に限定するには、幅の入力が表示される条件を設定できます。
- In the Configuration panel, click the configuration's three-dot button, and select Visibility conditions from the menu.
コンフィギュレーション可視性条件ダイアログが開きます。右側のパネルには、現在選択しているコンフィギュレーションのプレビューが表示されます。このパネルで選択したオプションを直接変更して、設定をプレビューできます。 - [条件を追加] をクリックします。
- 最初のドロップダウンをクリックし、この入力の可視性を制御する入力を選択します。この例では、高さの入力を選択します。
- 2 番目のドロップダウンをクリックして、入力可能な条件を選択します。この例では、幅の入力は高さを [高い] にした場合のみ使用できます。右側のプレビューが更新され、選択内容が反映されます。下の画像では、高さを [低い] に設定すると幅の入力が使用できないことがわかります。
- [保存] をクリックします。これで、幅の入力は高さを [高い] にした場合にのみ表示され、幅の入力テーブルには可視性条件アイコン
が表示されます。
複数の条件を設定する
コンフィギュレーション条件は付加的です。上の例に 3 つ目のコンフィギュレーションを追加し、下図のように条件を設定した場合、[大きなフィレット] オプションは高さを [高い] に、幅を [エキストラワイド] に設定したパーツに限定して使用できます。
[高い] に対して既定の幅を設定すると、フィレットのコンフィギュレーションは非表示になります。
コンフィギュレーション入力は、コンフィギュレーションパネルでその下に表示される入力の可視性のみ制御できます。この例では、[幅] の入力は [高さ] の入力で制御できますが、[フィレット] の入力では制御できません。
ヒント
-
設定した可視性条件は、すべての挿入ダイアログ (つまり、構成済みパーツをアセンブリに挿入する場合) で使用できます。
-
非表示の入力には常に既定値があります。上の例では、幅オプションが設定されていなくても、高さを [低い] に設定したパーツと [中くらい] に設定したパーツの幅は既定値になります。
-
(パーツと Part Studio のみ): プロパティから除外されたコンフィギュレーション入力は、その下にある他の入力のうち、同じくプロパティから除外された可視性のみ制御できます。以下の例では、プロパティから幅が除外されている場合 (
アイコンで表示)、フィレットもプロパティから除外されている場合にのみ、フィレットの可視性を制御できます。
- 他の入力を表示するには、コンフィギュレーション可視性条件ダイアログで [入力] ドロップダウンを使用します。[すべての入力] を選択すると、使用可能なすべての入力が表示されます。
- コンフィギュレーション可視性条件ダイアログのプレビューセクションは、コンフィギュレーションをテストするためのプレイグラウンドとして使用できます。
- [非表示の入力を表示] チェックボックスを選択すると、[コンフィギュレーション可視性条件] ダイアログに入力がグレーで表示されます。
-
コンフィギュレーションセレクタで
をクリックして、すべての入力のコンフィギュレーション可視性条件ダイアログを開きます。設定パネルで
をクリックして、その入力のダイアログを開きます。
-
可視性条件への変更は、構成済み要素を参照する既存のすべてのドキュメントに自動的に反映されます。

コンフィギュレーションが除外されているパーツをアセンブリに挿入すると、パーツの横に [プロパティから除外] アイコンが表示されます。