---
title: "fixOcclusion"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736789/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/ShogunPost121/pages/1253736689), 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/ShogunPost121/pages/1253738074)
- [rigidFixOcclusionOptions](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739596)
- [setOcclusionFixMethod](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253740701)