# VS:CopyMode

From Vectorworks Developer

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

## Description

Procedure CopyMode sets the transfer mode for the active design layer. If a sheet layer is active, the procedure has no effect.*Transfer Modes*

Transfer Mode | Index Value |
---|---|

Copy | 8 |

OR | 9 |

XOR | 10 |

BIC | 11 |

Inverse Copy | 12 |

Inverse OR | 13 |

Inverse XOR | 14 |

Inverse BIC | 15 |

PROCEDURE CopyMode(

mode :INTEGER);

def vs.CopyMode(mode): return None

## Parameters

mode INTEGER Mode index value.

## Remarks

Sets the layer transfer mode for the actlve layer.Valid mode values are: 8 - Copy 9 - OR 10 - XOR 11 - BIC 12 - Inverse Copy 13 - Inverse OR 14 - Inverse XOR 15 - Inverse BIC

This procedure may also set the layer transparency to approximate the given transfer mode on systems that don't support transfer modes.

## Version

Availability: from All Versions## See Also

VS Functions:VS Functions:
[[VS:SetLayerTransparency]]