ScriptSpot

Forum topic · General Scripting

Merging .vrmesh file from folder

By remykonings · 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 · 2020-09-28


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

*

remykonings · 2020-09-28

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

.

jahman · 2020-09-28

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

jahman · 2020-09-28

.vrmesh is likely to be vray proxy mesh file format

*

remykonings · 2020-09-28

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