> 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).

# Parts Editor

The part editor is an editor for creating and managing design parts available in the Archisketch editor.

## Enter Part Editor

On the part details page, you can click the \[View in Part Editor] button to open that part in the part editor.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-cb8a508acf19020da90649f352f23bb517beeca1%2Fmodular-1.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-d4699dedc6c12ab4b2021e8f8ceb44b7743ac2c3%2Fmodular-2.png?alt=media" alt=""><figcaption></figcaption></figure>

## Variables (Parameters)

* The types of variables used to implement parametric parts are **1) basic variables, 2) custom variables, 3) internal variables** There are three types.
* When creating a variable, set the items below together.
  * Variable name (a name for understanding its function and purpose)
  * Reference name (a 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, related information such as option values and default values must be entered.

### Basic variables

* Basic variables are variables that manage values corresponding to a 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 directly entering values in the editor and the part editor (other parts).
* You can delete a variable by clicking the trash button on the right side of the variable list.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-113de43859f875d1c296c2c0c7b3d356de5d8849%2Fmodular-3.png?alt=media" alt=""><figcaption></figcaption></figure>

### Custom variables

* Custom variables are variables that manage values that can be edited in the editor beyond 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 directly entering values in the editor and the part editor (other parts).
* You can delete a variable by clicking the trash button on the right side of the variable list.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-bb0ab11e5303e3315cb48d2c5bb35bd7023018a0%2Fmodular-4.png?alt=media" 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 directly entering values in the editor and the part editor (other parts).
* You can delete a variable by clicking the trash button on the right side of the variable list.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-55e94289e1a620d3002196646de6e774bd04b927%2Fmodular-5.png?alt=media" alt=""><figcaption></figcaption></figure>

### Enter formula

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

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

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-115a99a4f5ca20f6c12786915c0f417146bd8708%2Fmodular-6.png?alt=media" alt=""><figcaption></figcaption></figure>

## Snap

### Snap point

* A snap point is a feature that allows products to be connected to each other with snaps in the editor based on points.
* You can add a snap point by clicking the \[+] button at the top right of the section.
* In the editor, snap **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 snap will share the same variable values.
* When automatic placement settings are used, the corresponding part is automatically placed on the snap when the finishing automatic placement feature is used.
* You can delete a snap point by clicking the trash button on the right side of the snap point list.
* Snap points are shown in the part editor as dots in a fixed color.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-d08d6caba56a6b6d9af72fb7be37eafd6c9d89b8%2Fmodular-7.png?alt=media" alt=""><figcaption></figcaption></figure>

### Snap line

* A snap line is a feature that allows products to be connected to each other with snaps in the editor based on lines.
* You can add a snap line by clicking the \[+] button at the top right of the section.
* In the editor, snap &#x31;**) when the matching key is the same, and 2) when the snap type is different** works.
* Snap lines connect starting points to starting points and end points to end points.
* When shared variables are set, other products connected by snap will share the same variable values.
* When automatic placement settings are used, the corresponding part is automatically placed on the snap when the finishing automatic placement feature is used.
* You can delete a snap point by clicking the trash button on the right side of the snap point list.
* Snap lines are shown in the part editor as lines in a fixed color.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-301777248506fc00a7b30e731bd310031819620a%2Fmodular-8.png?alt=media" alt=""><figcaption></figcaption></figure>

### Export & Import Snap

* Export & Import Snap is a feature that can apply 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 you want to import while the snap information is copied, the snap information will be applied.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-985edbd926df046eab69fc93154b8ae1cc907638%2Fmodular-9.png?alt=media" alt=""><figcaption></figcaption></figure>

## Product type settings

* You can select the product type in product type settings.
* In the case of a 'wall-mounted product', it is automatically set to be placed only on walls in the editor.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-7d6241fc5f78c0b288f912be99272dbe134e7684%2Fmodular-10.png?alt=media" alt=""><figcaption></figcaption></figure>

## Floor-based height settings

* When floor-based height is set, the item is placed in the editor elevated from the floor by that height.
* Floor-based height can also be set using variables.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-2ed3c8c35bc10fd7ba7b0d4246ba71cce1d47668%2Fmodular-11.png?alt=media" alt=""><figcaption></figcaption></figure>

## Bounding box

* A bounding box refers to the 기준 for measuring a product's size as shown numerically in the editor.
* By default, the bounding box is automatically set based on a rectangular prism enclosing the outermost boundaries of the part.
* You can manually set the bounding box by clicking the edit button on the right side of the section.
* When setting a manual bounding box, you can set a size standard separate from the visible size.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-d92cb77faf02961a5342f27847736f8212791882%2Fmodular-12.png?alt=media" 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="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-410e463f23c11281ebe8fb06b1e3e7dddbd9ee81%2Fmodular-13.png?alt=media" alt=""><figcaption></figcaption></figure>

## Part management

* Part thumbnail **Right-clicking the mouse**displays additional part functions.
* **\[Edit Part Asset]** Click to edit the part thumbnail.
* **\[Rebuild Part]** Clicking opens the part in a new part editor tab.
* **\[Replace Selected Part]** Clicking replaces the selected part in the part editor with that part.
* **\[Add Part Code]** Clicking the button opens the add part code modal.
* **\[Delete Part]** Clicking deletes the corresponding part from the part library.
* **\[Create Product]** Clicking creates a product that references the corresponding part.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-f1cc137cb24cdc87d773c2d75b7f8719e399b322%2Fmodular-14.png?alt=media" alt=""><figcaption></figcaption></figure>

## Part information

### Alias, reference name, reference component

* An alias is a naming feature used to distinguish parts within the component state window inside that part.
* The reference name is the name used to refer to the variable value of that function in other parts.
* If you enter the reference name of a component type added in custom variables for the reference component,\
  the modeling changes 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.
* You can quickly apply animations by type by clicking buttons such as DoorL and DoorR at the top.

### Parameter settings, position, rotation

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

### Symmetry flip

* Symmetry flip is a feature that allows you to flip the corresponding part based on each axis.
* Even if flipped, the position reference remains fixed at the same location.

### Hide conditions

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

### Thickness (panel)

* Shown 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 edited point by point.

### Add panel

* Clicking \[Create Panel] in the Part Library tab creates a rectangular panel in the part editor.
* The created panel can be modified in the panel shape editor.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-6f12d00d88902057babbec2855f3b7e5b1ecb6c1%2Fmodular-15.png?alt=media" alt=""><figcaption></figcaption></figure>

### Panel editing (panel shape editor)

* After selecting a panel, you can enter by clicking the \[Enter Panel Shape Editor] button at the bottom right.
* In the panel shape editor, you can edit the panel shape based on each panel's points.
* You can remove the corresponding point or add a new point through the \[Remove] and \[Add] buttons on the right.
* Clicking the \[Import DXF] button lets you select a 2D DXF file and import 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="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-5259e4c0ccc4f289f256ffc6d8ded3ab347ccd00%2Fmodular-16.png?alt=media" alt=""><figcaption></figcaption></figure>

## Component state window

* In the component state window, you can check the child parts used in the corresponding part.
* You can hide a part through the eye icon on the right. (Hidden state is applied only in the part editor.)

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-51ba9ff16df6d570fbdc387db319befbb58a1efe%2Fmodular-17.png?alt=media" 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.
* Clicking the \[Confirm] button takes you to the part editor screen for editing the new part.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-d60ed536f8cae38f8f95f9330822390b9dc49bc4%2Fmodular-18.png?alt=media" alt=""><figcaption></figcaption></figure>

### Overwrite

* Click \[Overwrite] in the header to apply changes to the corresponding part.
* If you leave the part editor without overwriting, your changes may be lost.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-f3ae8af3fdfac37a414c4a38c5616db2e639ca3c%2Fmodular-19.png?alt=media" alt=""><figcaption></figcaption></figure>

### Reset

* Clicking the \[Reset] button resets all current work.

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-dc0128a72768b0849daaf9d6058e440deea22aaf%2Fmodular-20.png?alt=media" alt=""><figcaption></figcaption></figure>

### Save

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

<figure><img src="https://917231921-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh5B2S7uKpAIaFKDxegCT%2Fuploads%2Fgit-blob-c60a834e70f100680b3beaee6384e7e6dab01a88%2Fmodular-21.png?alt=media" 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.
