> 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 Parts Editor is an editor for creating and managing design-type parts that can be used in the Archisketch Editor.

## Entering the Parts Editor

On the part detail page, you can open the corresponding part in the Parts Editor by clicking the \[View in Parts Editor] button.

<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 variable types for implementing parametric parts include **1) basic variables, 2) custom variables, 3) internal variables** There are three.
* When creating a variable, set the following items together.
  * Variable name (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, you need to enter related information such as option values and default values.

### 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 direct input in the editor and the Parts Editor (other parts).
* You can delete a variable by clicking the trash button on the right 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 modified in the editor, apart from basic variables.
* You can add a custom variable by clicking the \[+] button at the top right of the section.
* You can add an enterprise variable 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 the Parts Editor (other parts).
* You can delete a variable by clicking the trash button on the right 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 Parts Editor.
* You can add an internal variable by clicking the \[+] button at the top right of the section.
* Internal variables cannot have their values changed by direct input in the editor and the Parts Editor (other parts).
* You can delete a variable by clicking the trash button on the right 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>

### Formula input

* Formulas can be used in all fields in the Parts Editor where numbers are entered.\
  You can freely enter conditional expressions and transformed values using variables.
* If you click the calculator button on the right side of the input field, you can enter the formula editor, which makes it easier to input formulas.
* 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 entered formula is at the top

  You can preview the calculated result through the 'Preview full 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 function that allows products to be connected to each other by snap in the editor, based on a point.
* You can add a snap point by clicking the \[+] button at the top right of the section.
* Snap in the editor is **1) when the matching key is the same, and 2) the snap type is different** It works.
* When sharing variables is set, other products connected by snap will share the same variable values.
* When auto placement is set, if the finish auto placement feature is used, the corresponding part is automatically placed on the snap.
* You can delete a snap point by clicking the trash button on the right of the snap point list.
* A snap point's location is displayed in the Parts Editor as a point 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 function that allows products to be connected to each other by snap in the editor, based on a line.
* You can add a snap line by clicking the \[+] button at the top right of the section.
* Snap in the editor is &#x31;**) when the matching key is the same, and 2) the snap type is different** It works.
* Each snap line connects start points to start points, and end points to end points.
* When sharing variables is set, other products connected by snap will share the same variable values.
* When auto placement is set, if the finish auto placement feature is used, the corresponding part is automatically placed on the snap.
* You can delete a snap point by clicking the trash button on the right of the snap point list.
* A snap line's location is displayed in the Parts Editor as a line 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>

### Snap export & import

* The Snap Export & Import feature allows complex snap settings from another part to be applied as-is.
* 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 which you want to import the snap information 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 'products attached to walls,' they are 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 reference height settings

* When floor reference height is set, the item is placed floating above the floor by that height when placed in the editor.
* Floor reference 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 basis 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 enclosing the outermost boundaries of the part.
* You can set a manual 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>

## Parts Library tab

1\. You can select the parts to import into the Parts Editor from the Parts Library.

2\. The Parts Library tab can be accessed by clicking 'Parts Library' at the top left.

3\. Clicking a part thumbnail adds the selected part to the Parts 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 with the mouse**displays additional part functions.
* **\[Edit part asset]** Click to edit the part thumbnail.
* **\[Rebuild part]** Click to open the part in a new Parts Editor tab.
* **\[Replace selected part]** Click to replace the selected part in the Parts Editor with this part.
* **\[Add part code]** Clicking the button displays the Add Part Code modal.
* **\[Delete part]** Click to delete the part from the Parts Library.
* **\[Create product]** Click to create a product that references this 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 nickname function for distinguishing parts in the component status panel within the corresponding part.
* The reference name is a name used to refer to the variable value of the corresponding function in other parts.
* If you enter the reference name of the component type added in custom variables,\
  the modeling changes according to the variable values of that component type.

### Animation

* If you need opening/closing motions such as doors and drawers, you can set them up through the animation function.
* You can quickly apply type-specific animations by clicking the DoorL, DoorR, etc. buttons at the top.

### Parameter settings, position, rotation

* Parameter settings is a function that allows you to set the basic variable and custom variable values of the corresponding part.
* In Parameter Settings, when you select 'Select on placement,' you can change the corresponding parameter in placement mode.
* Position and rotation are functions that allow you to set the position and rotation values based on the coordinate axes of the corresponding part.

### Symmetric flip

* Symmetric flip is a function that allows you to flip the corresponding part based on each axis.
* Even after flipping, the position reference remains fixed at the same location.

### Hide condition

* The hide condition function is a function that makes the corresponding part hidden 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, it allows you to adjust the thickness of the panel.

## Panel

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

### Add panel

* When you click the \[Create Panel] button in the Parts Library tab, a rectangular panel is created in the Parts Editor.
* The created panel can be edited 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)

* You can enter by selecting a panel and 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.
* Using the \[Remove] and \[Add] buttons on the right, you can remove the corresponding point or add a new point.
* Click the \[Import DXF] button to 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 by 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 status panel

* In the component status panel, you can check the child components used in the corresponding part.
* You can hide a part through the eye icon on the right. (Hidden state applies only in the Parts 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

* You can create a new part by clicking \[New Part] in the header.
* You can select the part type when creating a part.
* Clicking the \[OK] button takes you to the Parts 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

* Clicking \[Overwrite] in the header allows you to apply changes to the corresponding part.
* If you leave the Parts 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 displays 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] duplicates and saves 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
