ScriptSpot home

Forum topic · General Scripting

Merging .vrmesh file from folder

By Remy · 2020-09-28

Description

Hello,

It's a bit unclear to me how I merge an already made .vrmesh file into my scene. I have a bunch of vrmesh-files in a folder at: ("X:\stockpoint - 3D\Models\").

loadMaxfile @"X:\stockpoint - 3D\Models\8166.vrmesh"
mergeMaxFile @"X:\stockpoint - 3D\Models\8166.vrmesh"

Hoping for some clarification as to how to write it. Do I need to load the file first and then merge it into my scene?

Thank you.

Comments (5)
miauu

.


vrProxy = VRayProxy()
vrProxy.fileName = @"X:\stockpoint - 3D\Models\8166.vrmesh"
Remy

*

Do you know how I am able to import/merge those into my scene? :)

Reply to Remy
Panteleev Sergey

.

you need to create a vray proxy object and set the path to vrmesh

Panteleev Sergey

.vrmesh is likely to be vray proxy mesh file format