---
title: hideModel
slug: viewer-3d/methods/hideModel
docTags: 
createdAt: 2024-03-01T14:17:48.684Z
---

Hides the model for the specified id.

## Example

::codepen{url="https://codepen.io/Catenda/embed/QWXdXdJ"}

## Usage

```javascript
const modelId = "my-model-id";
const type = "bim";

viewer3d.hideModel(modelId, type);
```

## Parameters

### modelId

The id of the model to hide.

| **Type** | **Required** |
| -------- | ------------ |
| String   | Yes          |

### type

Limit the type of model to hide.

| **Type** | **Required** |
| -------- | ------------ |
| String   | No           |

Valid values are:

- `bim`
- `point-cloud`

