ScriptSpot home

Forum topic · General Scripting

Script to rename Vrayproxies to their reference file

By cybertect · 2016-01-27

Description

I would love to have script to rename vrayproxies to their file reference.

For example:

VRayProxy01

should be renamed to

VRayProxy01_iTrees-02-Hawthorn_04

Is this possible???

Comments (4)
pixamoon

`

If you want to change names of selected VrayProxies do this:


for o in selection where classof o == VrayProxy do o.name += "_" + getfilenamefile o.filename

if you want to apply it to all VrayProxies in scene try this:


for o in objects where classof o == VrayProxy do o.name += "_" + getfilenamefile o.filename

Cheers
Pixamoon

Naveen kumar

Copy V-ray Render settings from one to another scene

Hi guys,

I have two v-ray scene files . I have all the lighting and rendering setup with one scene with huge number of polygons. So, To optmize this, i have copied all the required models and characters to another scene. I have copied existing lights to another scene with the same settings (manually edited same values in other scene).But, I am unable to render the frame with the same output. Please suggest how do i suggest Same v-ray render settings to another file.

Reply to Naveen kumar
pixamoon

`

VRay Render settings

how about saving it as render preset and loading that preset in other max ?

fajar

POSSIBLE....