> For the complete documentation index, see [llms.txt](https://docs.archisketch.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.archisketch.com/guide/enterprise-en/parametric-library/modular.md).

# Part editor

The Part Editor is an editor that can create and manage design components available in the Archisketch Editor.

## Enter the Part Editor

On the part details page, you can open the part in the Part Editor by clicking the \[Check in Part Editor] button.

<figure><img src="/files/8e202d5086fafd1d0c4ba76de7a3b309b953308b" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1d56b90429b40cc1a488812d9fc81b15ef4d5481" alt=""><figcaption></figcaption></figure>

## Variables (Parameters)

* The variable types for implementing parametric parts include **1) basic variables, 2) custom variables, 3) internal variables** There are 3 types.
* When creating a variable, set the following items together.
  * Variable name (name for understanding its function and purpose)
  * Reference name (unique English name used when referring to the actual variable)
  * Variable type (number, text, material)
  * Data type (range, option, formula)
* Depending on each variable type and data type, you must enter related information such as option values and default values.

### Basic variables

* Basic variables are variables that manage values corresponding to the part's width (W), depth (D), and height (H).
* You can add each variable by clicking the W, D, H buttons.
* The added basic variables can be changed by direct input in the editor and Part Editor (other parts).
* You can delete variables by clicking the trash button on the right of the variable list.

<figure><img src="/files/8d3629ea580201d93896a61fdd7998c57c0bb649" alt=""><figcaption></figcaption></figure>

### Custom variables

* Custom variables are variables that manage values that can be modified in the editor, in addition to basic variables.
* You can add custom variables by clicking the \[+] button at the top right of the section.
* You can add enterprise variables by clicking the file-shaped button to the left of the \[+] button.
* The added custom variables can be changed by direct input in the editor and Part Editor (other parts).
* You can delete variables by clicking the trash button on the right of the variable list.

<figure><img src="/files/41026b81be010999c40cd7450acbf48ece47e107" alt=""><figcaption></figcaption></figure>

### Internal variables

* Internal variables are variables that manage values repeatedly used inside the Part Editor.
* You can add internal variables by clicking the \[+] button at the top right of the section.
* Internal variables cannot be changed by direct input in the editor and Part Editor (other parts).
* You can delete variables by clicking the trash button on the right of the variable list.

<figure><img src="/files/c984772b490bbfb45476ae9c06c123b713f71164" alt=""><figcaption></figcaption></figure>

### Formula input

* Formulas can be used in every field in the Part Editor where numbers are entered.\
  You can freely enter conditional expressions, transformed values using variables, etc.
* Click the calculator button on the right of the input field to enter the formula editor, where you can input formulas more conveniently.
* In the formula editor, you can use not only basic mathematical symbols, but also various advanced math functions and string processing functions while checking explanations and examples.
* The formula you entered at the top

  You can preview the calculated result through the 'Preview all calculation results' button.

<figure><img src="/files/e8250f68ce11f1674a60c4838383e5c98693c28e" alt=""><figcaption></figcaption></figure>

## Snap

### Snap point

* Snap points are a feature that allows you to connect products to products in the editor by snapping based on points.
* You can add snap points by clicking the \[+] button at the top right of the section.
* In the editor, snapping is **1) when the matching key is the same, and 2) when the snap type is different** works.
* When shared variables are set, other products connected by snapping will share the same variable values.
* When auto-placement settings are used, the part is automatically placed at the snap when the finish auto-placement feature is used.
* You can delete snap points by clicking the trash button on the right of the snap point list.
* Snap points are displayed in the Part Editor as fixed-color dots.

<figure><img src="/files/d2428e91300da7ec7380c4b55fc6d3d341277f4f" alt=""><figcaption></figcaption></figure>

### Snap line

* Snap lines are a feature that allows you to connect products to products in the editor by snapping based on lines.
* You can add snap lines by clicking the \[+] button at the top right of the section.
* In the editor, snapping is &#x31;**) when the matching key is the same, and 2) when the snap type is different** works.
* Snap lines connect start points to start points and end points to end points.
* When shared variables are set, other products connected by snapping will share the same variable values.
* When auto-placement settings are used, the part is automatically placed at the snap when the finish auto-placement feature is used.
* You can delete snap points by clicking the trash button on the right of the snap point list.
* Snap lines are displayed in the Part Editor as fixed-color lines.

<figure><img src="/files/6316d7e971a7b8b3b792dc6c879e7d20ceb4624e" alt=""><figcaption></figcaption></figure>

### Export & import snaps

* Snap export & import is a feature that can reflect another part's complex snap settings as they are.
* When you click \[Export Snap], the snap information is copied to the clipboard in JSON format.
* If you click 'Import Snap' in the part to be loaded while the snap information is copied, the snap information will be applied.

<figure><img src="/files/1026a66b85776c0672ac58e58fc24c03d2dcf660" alt=""><figcaption></figcaption></figure>

## Product type settings

* In product type settings, you can select the product's type.
* In the case of 'products attached to walls', it is automatically set in the editor to be placed only on walls.

<figure><img src="/files/71d4bf27eef9c1e430664423e7752eca5c52abc7" alt=""><figcaption></figcaption></figure>

## Floor-based height settings

* When floor-based height is set, it will be placed in the editor floating above the floor by that height.
* The floor-based height can also be set using variables.

<figure><img src="/files/7a9f5f1638619b43dcae5cf01c2b646c3acb2f73" alt=""><figcaption></figcaption></figure>

## Bounding box

* The bounding box refers to the reference for measuring the size of a product shown numerically in the editor.
* By default, the bounding box is automatically set based on a rectangular prism that encloses the outermost boundaries of the part.
* You can set a manual bounding box by clicking the edit button on the right of the section.
* When setting a manual bounding box, you can set a size basis separate from the visible size.

<figure><img src="/files/631e7651af86142ee552caf22fb2321f5e28cc5e" alt=""><figcaption></figcaption></figure>

## Part Library tab

1\. You can select the parts to bring into the Part Editor from the Part Library.

2\. You can enter the Part Library tab by clicking 'Part Library' at the top left.

3\. Clicking a part thumbnail adds the selected part to the Part Editor.

<figure><img src="/files/c71a07ed4c586a614b624917620af9a951f14722" alt=""><figcaption></figcaption></figure>

## Part management

* Part thumbnail **Right-clicking the mouse**will reveal additional part functions.
* **\[Edit part asset]** Click to edit the part thumbnail.
* **\[Remake part]** Clicking opens the part in a new Part Editor tab.
* **\[Replace selected part]** Clicking will replace the selected part in the Part Editor with this part.
* **\[Add part code]** Clicking the button opens the Add Part Code modal.
* **\[Delete part]** Clicking will delete the part from the Part Library.
* **\[Create product]** Clicking will create a product that references this part.

<figure><img src="/files/3b8cb054cf37b2674b38172bef98fc8387190702" alt=""><figcaption></figcaption></figure>

## Part information

### Alias, reference name, reference component

* Alias is a function for distinguishing parts within the component status window in this part.
* Reference name is the name used to refer to the variable values of that function in another part.
* For the reference component, if you enter the reference name of the component type added in custom variables,\
  the modeling will change according to the variable values of that component type.

### Animation

* If opening and closing motions such as doors and drawers are needed, they can be set through the animation feature.
* By clicking the DoorL, DoorR, etc. buttons at the top, you can quickly apply animations by type.

### Parameter settings, position, rotation

* Parameter settings are a feature that lets you set the basic variable and custom variable values of the part.
* In parameter settings, if you select 'Select on placement', you can change the parameter in placement mode.
* Position and rotation are features that let you set the position and rotation values based on the part's coordinate axes.

### Mirror flip

* Mirror flip is a feature that can flip the part based on each axis.
* Even if flipped, the position reference remains fixed at the same position.

### Hide conditions

* The hide condition feature hides the part in the editor according to specific conditions.
* Conditions can be set through equations or inequalities based on variable values.

### Thickness (panel)

* Displayed only for panel parts, and allows you to adjust the panel thickness.

## Panel

A panel is an object (part) whose shape and thickness can be freely modified point by point.

### Add panel

* When you click \[Create Panel] in the Part Library tab, a rectangular panel is created in the Part Editor.
* The created panel can be modified in the panel shape editor.

<figure><img src="/files/fd49ae70e9bc221ae64ddd4d30c8998e9bd516fb" alt=""><figcaption></figcaption></figure>

### Panel editing (panel shape editor)

* After selecting a panel, you can enter by clicking \[Enter Panel Shape Editor] at the bottom right.
* In the panel shape editor, you can edit the panel shape based on each panel's points.
* Using the \[Remove] and \[Add] buttons on the right, you can remove the point or add a new point.
* Click the \[Import DXF] button to select a 2D DXF file and load the panel.
* When adding a hole, a rectangular hole that passes through the panel is created, and points can be managed for each hole.

<figure><img src="/files/8450af0d68a53be417fceb6a84d1ea171c80a462" alt=""><figcaption></figcaption></figure>

## Component status window

* In the component status window, you can check the child components used in the part.
* You can hide parts using the eye icon on the right. (Hidden state is applied only in the Part Editor.)

<figure><img src="/files/6beb5c20a0f51eb441f9043c5e696bb5378f771a" alt=""><figcaption></figcaption></figure>

## Part management

### Create new part

* Click \[New Part] in the header to create a new part.
* You can select the part type when creating a part.
* Click the \[Confirm] button to move to the Part Editor screen where you edit the new part.

<figure><img src="/files/84cdf2a59155ae4a27d6e1a394324ad07f25a0b0" alt=""><figcaption></figcaption></figure>

### Overwrite

* Click \[Overwrite] in the header to apply the changes to that part.
* If you leave the Part Editor without overwriting, the changes may be lost.

<figure><img src="/files/069be6cba8217c08a190e5a399f1bbf8e2ccc01f" alt=""><figcaption></figcaption></figure>

### Reset

* Click the \[Reset] button to reset all current work.

<figure><img src="/files/0648fdc1cf80494557c495fbc95cdaa908cb89ca" alt=""><figcaption></figcaption></figure>

### Save

* Click the \[Save] button in the header to open the save modal.
* You can enter the part name and part type.
* If you select the category to save to, you can create/move the part into that category.
* Clicking \[Save as New] duplicates and saves it as a new part.

<figure><img src="/files/3005e9a3bcffe0cf49847f92eea36a42976607a9" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.archisketch.com/guide/enterprise-en/parametric-library/modular.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
