---
title: "fixOcclusion"
canonical: "https://help.vicon.com/space/ShogunPost120/1043038505/fixOcclusion"
format: markdown
---
# Description

fixOcclusion performs occlusion fixing using the latest Axiom algorithms. This is the same occlusion fixing that is used by [quickPost](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043038378), but enables occlusion fixing to be run as a discrete step.

This command processes a capture over the entire play range unless the `-ranges` or `-currentFrame` flag is used.

## Functional area

Data editing

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `fixOcclusion [-ranges] [-currentFrame]` |

### Arguments

None

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `ranges` | — | — | — | Performs occlusion fixing on only the selected range(s) of the current capture using Axiom algorithms. |
| `currentFrame` | — | — | — | Performs occlusion fixing on only the current frame of the current capture using Axiom algorithms. |

## Return value

void

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [kinematicFixOcclusionOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043038441)
- [rigidFixOcclusionOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043039161)
- [setOcclusionFixMethod](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043039240)