Reload all links from script

Is there any way to reload all links in one step? I have 9 links that I have to reload periodically. Currently I have to reload each one by one. Is there any way to script all 9 to reload, so I can run it and leave my PC for everything to reload?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

.

What are those links?

dmhokie's picture

Oh sorry, they are FBX links.

Oh sorry, they are FBX links.

miauu's picture

.

Try this:

(
	local flm = FileLinkMgr	
	if flm.numLinks != 0 do
	(
		for i = 1 to flm.numLinks do
		(
			flm.Reload i showUI:false translateMaterials:true
		)
	)
)
dmhokie's picture

That works perfect. Thank you

That works perfect. Thank you so much!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.