Script
SnapSwap
By Smallpoly · 2017-04-20
- Version
- v1.1
- Version requirement
- 2012. Most likely works fine in other versions.
- Date updated
- 2017-04-20
- Votes
- 2
Description
A tool for replacing the currently selected geometry with a same named snapshot (old model is deleted). Can be used for dealing with corrupt geometry.
To use: Run the macroscript, and add SnapSwap to a toolbar from the category "# SP_MeshScripts".
Additional Info
----------------------------------------------------------------------------------------
-- Script Name: SnapSwap
-- Filename: SP_MeshScripts_SnapSwap
-- Version: v1.10
----------------------------------------------------------------------------------------
-- Purpose: Replaced selected geometry with a snapshot, mainly for cleaning up corrupt geometry
-- Compatibility: Max 2012. Should work in most other versions
-- Code by: Michael Vladimir Nicolayeff
-- SmallpolyArtist@gmail.com
-- http://www.scriptspot.com/users/smallpoly
----------------------------------------------------------------------------------------
-- Change Log
-- v1.00 -- 2012.01.01 -- First release
-- v1.10 -- 2017.04.20 -- Standardized format for upload. Changed from affecting an entire scene to
----------------------------------------------------------------------------------------
/*
Features:
- Swaps out a model with a snapshot
- Deletes the old model and gives the new one the original name
- Ignores non-geometry objects.
Usage:
- Select what you want to replace, then press the button.
Limitations:
- Checks for a few specified type of geometry instead of geometry superclass. Should fix this later.
- Not sure if this will preserve wireframe color or other properties
Known Bugs:
-
*/
----------------------------------------------------------------------------------------
Tags: replace, geometry, snapshot, corruption, smallpoly