---
title: "removeRayContributions"
canonical: "https://help.vicon.com/space/ShogunPost121/1253737300/removeRayContributions"
format: markdown
---
# Description

To minimize file size, removes camera ray contributions before a .vdf is saved.

By default, this command removes ray contribution information from all markers and cameras in the scene. To remove ray contribution information from only selected markers and cameras, use the command with the `-selectedOnly` flag.

## Functional area

Data Manipulators

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `removeRayContributions [-selectedOnly]` |

### Arguments

None

### Flags

> Macro (scroll-tablelayout)

| Name | Flag arguments | Argument type | Exclusive to | Comments |
| --- | --- | --- | --- | --- |
| `selectedOnly` |  |  | — | Specifies that camera ray contribution information is removed from selected markers and cameras only |

## Return value

void

# Additional information

## Related commands

- [cameraView](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737393)
- [getContributingCameras](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737486)