Try this, you need to change name of source object and it's UVs as its
quick and dirty


http://pastebin.com/GfuSYWe8#



Simon Reeves
London, UK
*[email protected] <[email protected]>*
*www.simonreeves.com <http://www.simonreeves.com>*
*www.analogstudio.co.uk <http://www.analogstudio.co.uk>*

On 16 March 2015 at 10:39, Morten Bartholdy <[email protected]> wrote:

>   I have some alembic files with 2100 individual objects which need a new
> set of UV's. I would like to copy a particular UV set from an identical set
> of geometry which is not animated (so I could make an XZ projection) onto
> the animated set of geometry. I suspect this calls for a script that goes
> through the naming: geo_01 with UV_01 and copying and pasting. In the
> Script Editor it looks like this for one particular object:
>
>
>
> Application.CopyUVW("Alembic_tiles1.Cube_new_2.polymsh.cls.Texture_Coordinates_AUTO.Texture_Proj_Global",
> "Alembic_tiles1.Cube_new_2.sample[*]") 
> Application.PasteUVW("Alembic_tiles.Cube_new_2.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection_Global",
> "Alembic_tiles.Cube_new_2.sample[*]", "siDefaultPasteUVsMode")
>
>
>
> How can I make these scriptlines go through 2100 files?
>
>
>
> Cheers
>
> Morten
>
>
>
>
>
>
>
>

Reply via email to