Slow save times with XREFs

tangiblevisual
Posts: 16
Joined: Wed Jul 12, 2017 9:37 am

Slow save times with XREFs

Postby tangiblevisual » Sun May 20, 2018 11:09 pm

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
Last edited by tangiblevisual on Mon May 21, 2018 8:10 am, edited 2 times in total.

tangiblevisual
Posts: 16
Joined: Wed Jul 12, 2017 9:37 am

Re: Slow save time

Postby tangiblevisual » Mon May 21, 2018 7:21 am

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?
Last edited by tangiblevisual on Tue May 22, 2018 11:50 am, edited 1 time in total.

tangiblevisual
Posts: 16
Joined: Wed Jul 12, 2017 9:37 am

Re: Slow save time

Postby tangiblevisual » Mon May 21, 2018 7:23 am

I tried to upload an example jpeg with the last post but I got "invalid server response"
Last edited by tangiblevisual on Tue May 22, 2018 11:51 am, edited 1 time in total.

admin
Site Admin
Posts: 136
Joined: Mon Jun 19, 2017 4:08 pm

Re: Slow save times with XREFs

Postby admin » Mon May 21, 2018 4:32 pm

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

tangiblevisual
Posts: 16
Joined: Wed Jul 12, 2017 9:37 am

Re: Slow save times with XREFs

Postby tangiblevisual » Tue May 22, 2018 11:56 am

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.

admin
Site Admin
Posts: 136
Joined: Mon Jun 19, 2017 4:08 pm

Re: Slow save times with XREFs

Postby admin » Tue May 22, 2018 4:33 pm

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

tangiblevisual
Posts: 16
Joined: Wed Jul 12, 2017 9:37 am

Re: Slow save times with XREFs

Postby tangiblevisual » Tue May 22, 2018 8:05 pm

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

tangiblevisual
Posts: 16
Joined: Wed Jul 12, 2017 9:37 am

Re: Slow save times with XREFs

Postby tangiblevisual » Wed Jun 20, 2018 7:39 pm

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


Return to “Bugs”

Who is online

Users browsing this forum: No registered users and 1 guest

cron