Page 1 of 1

Slow save times with XREFs

Posted: Sun May 20, 2018 11:09 pm
by tangiblevisual
Hi Grant,

I emailed you previously about slow save times, I have a scene with 46 XRefs I've off "Save Merge Data with file" in the RPManager Preferences, this made no difference.
If I deleted the RPManager Data the scene save time went down from 2mins 40sex to 10 secs.

I notice that depending on the amount of Xrefs enabled alters the save time, so it seems every Xref that is added adds to the save time.

Windows 7, Max 2018 with all updates, RPManager 6.53

Cheers

Dan

Re: Slow save time

Posted: Mon May 21, 2018 7:21 am
by tangiblevisual
Something I'd like to alter, the text for disabled Xrefs isn't visible unless clicked. When trying to manage many Xrefs this is a handicap, any way I can alter this?

Re: Slow save time

Posted: Mon May 21, 2018 7:23 am
by tangiblevisual
I tried to upload an example jpeg with the last post but I got "invalid server response"

Re: Slow save times with XREFs

Posted: Mon May 21, 2018 4:32 pm
by admin
Hi

I set up a scene and added 20 or so simple xrefs, and it wasn't slow - so it must be more than just having xrefs (ie xrefs that are themselves complex?)

Don't save over a working file, but as a test open the scene in a fresh 3dsmax, then evaluate

callbacks.removescripts()

in a maxscript window, and then save the scene (not over a working file). Is that also slow? If it isn't, and we can figure out which it is then I can look to see if I can improve it.

Exit 3dsmax after that, as it's wiping out all callbacks (not just RPM's) and who knows what else it won't be doing right after that.

cheers,
grant

Re: Slow save times with XREFs

Posted: Tue May 22, 2018 11:56 am
by tangiblevisual
Hi Grant,

So first I saved the scene with 19 enable XRefs, Save time 43 secs
Next I save the scene with 43 enabled XRefs, Save time 2 mins 34 secs

Then I ran the script "callbacks.removescripts()" Save time 14 seconds.

All the XRefs are for roughly similar sized house models with a file sizes between 50 - 120MB.

Re: Slow save times with XREFs

Posted: Tue May 22, 2018 4:33 pm
by admin
Hi

Can you also try this with a freshly opened scene - evaluate these lines one by one, saving between each and noting the time it takes to save, and see if one or more makes the difference:

callbacks.removescripts id:#RPM_mrg

callbacks.removescripts id:#RPMLinit

callbacks.removescripts id:#RPM_XferData

callbacks.removescripts id:#RPMTime

callbacks.removescripts id:#RPM_cb

thanks,
grant

Re: Slow save times with XREFs

Posted: Tue May 22, 2018 8:05 pm
by tangiblevisual
Here's the results, script run one at a time and the scene saved (scene not reloaded between saves)

callbacks.removescripts id:#RPM_mrg
2 min 23 secs

callbacks.removescripts id:#RPMLinit
2 min 23 secs

callbacks.removescripts id:#RPM_XferData
14 secs

callbacks.removescripts id:#RPMTime
14 secs

callbacks.removescripts id:#RPM_cb
14 secs

Re: Slow save times with XREFs

Posted: Wed Jun 20, 2018 7:39 pm
by tangiblevisual
I've solved it, it was due to the CAD data in the XREFS, I have removed it all and now the save time is back to normal. :D