Forum Replies Created
- March 8, 2021 at 14:02 in reply to: ACCESS VIOLATION error while importing xref from database #31369Mustafa BeytekinParticipantPosts: 3Threads: 5Joined: Dec 2017
You have already sent this script because of the problem we had before (https://3d-kstudio.com/forum/project-manager-support/crash-problem-with-xref-models/).We also have the same problem with the standart method but it is completely random.
Mustafa BeytekinParticipantPosts: 3Threads: 5Joined: Dec 2017Is there any way to add a custom script in custom menu of Project Manager, which can be load an xref object with selected object’s file name and path?
I found this script;
myPath = “\\\\filer\\share\\project\\”
ext = “.max”listArray = #()
file = openFile “”\\\\filer\\share\\project\\models.txt” mode:”r”
while not eof file do
(
lineInfo = readLine file
append listArray lineInfo
)
close filefor i in listArray do
(
xrefs.addNewXRefObject (myPath + i + ext) i #xref #xref #useScene
)Can I change myPath variable with object filepath which is selected in Project Manager?
Mustafa BeytekinParticipantPosts: 3Threads: 5Joined: Dec 2017by the way we upgraded PM to latest version. Nothing changed.3ds max paint’ mode is more stable than others but it crashes sometimes.
We’re using PM for three years . in early versions I don’t remember PM causes any crashes. These crashes have begun in the last 5-6 months.
Models are same. Our setup is same. Only upgrade PM to latest and 3ds Max 2019 to 2021.
Maybe if the project manager had been adding to the scene based on the origin of the object instead of dragging, these crashes would not have happened.Mustafa BeytekinParticipantPosts: 3Threads: 5Joined: Dec 2017But, shift trick is for xref scenes. But we usually use xref object mode. That’s why crashes continue. Choosing Place mode to ‘Default’ causes crash again. Most stable option is ‘3ds max paint’ mode. I’ll try 3ds max paint option for a while and I’ll report the results.
Mustafa BeytekinParticipantPosts: 3Threads: 5Joined: Dec 2017Thank you very much. This solves problem I guess. I didn’t know pressing shift while dragging.