# linel (line)

**linel(line) → number**

This function is used for getting the length of a line.

**Example:**

```xml
<O N="LinelObject1" T="Project" Category="Functions" TransAlignRule="1">
    <!-- created by ParamML Examples on 8/22/2023 -->
    <P N="line" V="[[20,0,10],[25,0,30]]" />
    <P N="linelength" V="linel(line)" />
</O>
```

![](https://openbrim.atlassian.net/wiki/download/attachments/2167898140/image-20230822-154316.png?api=v2) To view this example in the library, see (<https://openbrim.org/app/?incubator=1&author=ParamML_Examples_OpenBrIM+Platform&obj=objidbpb3esqjh0uhfebblgle3q> )
