Disponible dans : Feature Studio
A Feature Studio is an Onshape tab for working with FeatureScript, a programming language for defining custom features.
FeatureScript is designed by Onshape for creating features and working with 3D parametric models. The language is built into Onshape and provides the foundation of Part Studio modeling, including defining standard Onshape features (like Extrude, Fillet, and Shell).
This page focuses on working with the Feature Studio user interface.
- For information on writing FeatureScript to create custom features, see the FeatureScript Docs.
- For instructions on adding those custom features to a Part Studio, see Custom Features.
See FeatureScript Co-Complete for information on using AI to help write your FeatureScript code.
-
Click the Search Feature Studios button (
) on the menu bar to open the Search pane, shown above..-
You can also open the Search pane with ctrl/cmd + shift + f.
-
-
Enter your search text into the Find text field. Specify optional search parameters:
-
Match case - Select checkbox for a case-sensitive search.
-
Regex - Select checkbox for a regular expression search.
-
Feature Studio name filter - Filter search results to tabs that match the entered text.
-
-
Click Find.
-
Use the expand (
) and collapse (
) buttons to view results by Feature Studio tab. -
Use the Expand search results (
) and Collapse search results (
) buttons to expand or collapse all results.
-
-
(Optional) To replace the search text:
-
Click the Toggle Replace arrow (
) to the left of the Find text field. -
Type your replacement text in the Replace with field.
-
Click Replace all.
-
Click the Module outline arrow on the Feature Studio toolbar to view the outline. You can also:
-
Click a search result to navigate to that part of the FeatureScript code.
-
Enter search text in the Search symbols field to refine the results.
For an additional Learning center resource, follow the instructor-led training course here: FeatureScript Fundamentals (Onshape account required).