---
title: "DgnSharedCellDefinitionElement"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.dgn.dgnelements/dgnsharedcelldefinitionelement/"
product: "Aspose.CAD for Java"
description: "Represents shared cell definition element"
---


**Inheritance:** java.lang.Object, DgnElement

**All Implemented Interfaces:** ICompositeDgnElement

Represents shared cell definition element

## Methods

| Method | Description |
| --- | --- |
| [getTotallength()](#getTotallength) | Gets cell total length |
| [getName()](#getName) | Gets the name. |
| [getChilds()](#getChilds) | Gets childs of the composite element |
| [addChild(DgnElement child)](#addChild-com.aspose.cad.fileformats.dgn.dgnelements.DgnElement) | Adds element as a child |

### getTotallength() {#getTotallength}
```java
public final int getTotallength()
```

Gets cell total length

**Returns:** int

### getName() {#getName}
```java
public final String getName()
```

Gets the name.

**Returns:** String - The name.

### getChilds() {#getChilds}
```java
public final List<DgnDrawingElementBase> getChilds()
```

Gets childs of the composite element

**Returns:** List<DgnDrawingElementBase>

### addChild(DgnElement child) {#addChild-com.aspose.cad.fileformats.dgn.dgnelements.DgnElement}
```java
public final void addChild(DgnElement child)
```

Adds element as a child

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| child | DgnElement | element to add as a child |

