Pjanssen
@pjanssen
New Member
Joined: Feb 14, 2024
Topics: 53 / Replies: 510
Reply
RE: Merging linked layer references in custom attributes conundrum

Hmm that is pretty bad. In fact, that is very bad. I’m now starting to doubt my own memory however (not for the first time,hehe). I thought I had an i…

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

Yeah it sucks to lose, especially losing to a computer program… So I’ve kept digging a bit too, and have noticed something odd. I implemented the nes…

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

Renaming the layers that were merged the first time before merging the second ones results in it not crashing by the way. I’m not sure whether this me…

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

Then I wonder, would the crash still occur if we do the merging in two completely distinct operations? I.e. merge1, save file, close max, start max, l…

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

Very curious. For me it crashes when doing it through the UI 100% of the time. I had a look at the minidump generated, but that doesn’t give much more…

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

Hmm interesting. So if you did the part from saveMaxFile onwards manually, it didn’t crash for you? I get this result when doing the merging with max…

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

That’s crazy…! There are no callbacks other than default ones from max (not the outliner’s either). And the crash occurs both with using your snippet …

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

It does crash max (2010) for me actually. I build a scene like this: layer1 = (LayerManager.newLayer()).layerAsRefTarg; layer2 = (LayerManager.newLay…

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

Yeah if that works, it is by far the most practical. Could you have a look at this issue report and see if that works for your implementation? Or al…

14 years ago
Forum
Reply
RE: New line in TextBox with enter key

Are you sure the AcceptsReturn value is set correctly?

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

So I’ve been thinking a bit about how to tackle this based on the suggestion from Denis to store the layer hierarchy as names. I think that will work …

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

Panayot: but…that “background wire” still bother me (: What do you mean by “background wire” ?

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

Panayot: As i never intend to make such kind of tool, please excuse me in advance for any possible no sense words Not at all! I appreciate the i…

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

Yeah, it’s a bit embarrassing… The nested layers has been a feature since 2.0, which has was released around April 2010. I somehow never managed to ca…

14 years ago
Forum
Reply
RE: Merging linked layer references in custom attributes conundrum

XRef is indeed giving similar problems, I suspect for the same or similar reason. I had considered storing layer names too. But then the question beck…

14 years ago
Forum
Page 13 / 38