|
Hello,
I want to merge file from network path.
I have use command loadMAXFile ("\\\\alpa\c:\111.max").
But cant merge and result is false.
Is command wrong ?
Then how can i merge from network path by maxscript.
I am new to max script.
Thanx
|
|
|
|
You’re half way there. Backslash characters need to be escaped - with a backslash character. You’ve done it on the initial \\ but not on the others.
loadMAXFile "\\\\alpa\\c:\\111.max"
Also, it’s not usual to have “C:” in there - normally just “C”, but it does depend on how the directory/drive is shared. Navigate to the file in Windows Explorer and check the path shown in the title bar.
loadMaxFile is probably not what you want - it’s the same as File | Open - it LOADS the scene, not merges it. Take a look at mergeMAXFile instead.
Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.
|
|
|
|
Thak you for your reply,
I have try all the things which you suggest me.
But still comming false.
I tried :
mergeMAXFile ("\\\\10.33.33.132\\c\\cover.max")
but result is flase.
when i try pathIsNetworkPath “\\\\10.33.33.132\\c\\cover.max”
the result is true
Then why i fail to merge this file from upper commnd ?
Please help
Thanx
|
|
|
|
As per the Maxscript help - pathIsNetworkPath does NOT test that the path is valid or that the file exists, only that the “signature” of the path is UNC rather than local.
Try doesFileExist to test whether the file does exist - if not then your path is incorrect in some way.
All this works perfectly here using either the Machine Name or the machine’s IP address.
Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.
|
|
|