denisT
@denist
New Member
Joined: Feb 14, 2024
Topics: 218 / Replies: 11426
Reply
RE: Fast search through text file

as I understand it, the task is to find all occurrences of a specified substring in a large text file (~50k lines) by getting the line and position in…

2 years ago
Forum
Reply
RE: Fast search through text file

could you post a test case and the current and desired numbers?

2 years ago
Forum
Reply
Reply
RE: How to read animation data from binary file .octprx through maxscript?

That’s what I meant to say… there is a number in the header, and there is no corresponding ASCII tag (“frame number” or whatever). So the problem is n…

2 years ago
Forum
Reply
RE: How to read animation data from binary file .octprx through maxscript?

I have an idea… I think the file is storing the key numbers as an integer value. Save several files with different “noticeable” key numbers – for exam…

2 years ago
Forum
Reply
RE: How to read animation data from binary file .octprx through maxscript?

I’m pretty sure you can’t find the “Frame count” tag in the file… so all what you do is kind of a hack. I think it would be easier to write to develop…

2 years ago
Forum
Reply
RE: Are SubAnims equal? No way!

According to SDK it’s: m[1][4].object == m[1][6].object

2 years ago
Forum
Reply
RE: Are SubAnims equal? No way!

SubAnim is a cell… First “where” and then “what”. We can change the contents of a cell and that doesn’t change the cell itself, nor does it change the…

2 years ago
Forum
Topic
Forum
Replies: 3
Views: 33
Reply
RE: Select multiple folders in maxscript?

Serejah: … or make a treeview representing the folder structure but I probably like this solution more than the others, since multiple directory…

2 years ago
Forum
Reply
RE: Select multiple folders in maxscript?

Until a couple of years ago, I would have done this using System.Windows.Forms OPenFileDialog… Today I’m trying to find a Qt solution… something like …

2 years ago
Forum
Reply
RE: Accesing SubAnims by name (C++)

So there are no notifications unless they are called. When working with the SDK, you must take care of sending notifications to everyone you see neces…

2 years ago
Forum
Reply
RE: Accesing SubAnims by name (C++)

MZ: DisableRefMsgs why disable ref messages? We don’t usually do this when working with SDK. There are no notifications unless you call them. The…

2 years ago
Forum
Reply
RE: Accesing SubAnims by name (C++)

Klvnk: AnimEnum(SCOPE_ALL) That’s too much usually. It should be optional at least. I never enumerate children’s subamins when search anything.

2 years ago
Forum
Reply
RE: Accesing SubAnims by name (C++)

for (int k=0; k < client->NumSubs(); k++) { if (::_wcsicmp(client->SubAnimName(k), animName) == 0) { return client->SubAnim(k); } } …

2 years ago
Forum
Page 10 / 777