# Is Rational

## Description

Get or set if a surface is rational or non-rational

{% tabs %}
{% tab title="Preview" %}
![](https://2925950326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDjVBCv0zXotDtlYfQEkm%2Fuploads%2FVuUq3pLW3OUZHXjKyowy%2FSurface_Rational.png?alt=media\&token=342bca22-4af3-452f-8899-358335ade22a)
{% endtab %}

{% tab title="Location" %}
**Name** | Is Rational

**Nickname** | Rational

**Tab** | Surface

**Panel** | Analysis

**Division** | 2
{% endtab %}

{% tab title="Inputs" %}
**S** | **Surface** (*surface*) | A nurbs surface

**R** | **Rational** (*bool*) | If true, will attempt to make the surface rational, if false non rational
{% endtab %}

{% tab title="Outputs" %}
**S | Surface** (*surface*) | A Nurbs Surface

**S | Status** (*bool*) | If true, the surface is rational. Not all surfaces can be made rational or irrational. This value represents the rational status of the surface.
{% endtab %}

{% tab title="Mode" %}
*none*
{% endtab %}
{% endtabs %}

## Usage
