ScriptSpot

Forum topic · General Scripting

Import/Merge/Open 3d file from a web address into 3ds max scene

By Matt_2015 · 2022-11-22

Description

Does anyone know whether it is possible to import/merge/open a 3d model file from a web address via maxscript? The script here would work if the address is local but not for a web address. This is what I have:

rollout Lib "Library" width:412 height:362
(

button 'generate' "model Library" pos:[117,243] width:171 height:38 align:#left

on generate pressed do

(
fobj_names = getmaxfileobjectnames "mergetest.max"
mergemaxfile "https://webaddress.com/mergetest.max" fobj_names #select
)
)
CreateDialog Lib

many thanks!
Matt

Comments (2)

.

miauu · 2022-12-02

First download the model to your local drive, then merge/open/import it in your scene.

Matt_2015 · 2022-12-03

thanks!