miauu
@miauu
New Member
Joined: Feb 14, 2024
Topics: 122 / Replies: 1116
Reply
RE: Fast search through text file

Guys, side question. How to prevent the struct members to be printed in the maxscript listener? ( global miauuStr struct miauuTestStr ( defa…

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

Serejah: but they either go after the comma , or struct opening ( or before the assignment = or the next comma or closing ) parenthesis. Looks not s…

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

Thank you. I use vscode for Pyhton and Powershell, but I can’t force myself to use it(along with notepad++) for maxscript. Serejah: listview …

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

To make navigating in scripts more user friendly. You know that Ctrl+RMB click gives you a menu where you can see the controls, functions, events, et…

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

Fixed, thank you. For now everything works as expected – fast and accurate.

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

Yep, the last one is the fastest. When I make it to work with string, for some files there is an error: – Runtime error: .NET runtime exception: Leng…

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

So, which method is preferable – to preinitialize the dict or to use your last update?

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

This way works. Thank you. public void ProcessFile(string file , string[] words) { data = new Dictionary<string, Line>(); forea…

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

Strange. indexes are less than the other collected data. The first line index is not collected. tp.keys[1]: beta tp.lines[1].count: 1856 tp.lines[1]…

2 years ago
Forum
Reply
2 years ago
Forum
Reply
RE: Struct initialization problem? Or

Here is a solution: ( global miauuStr struct miauuTestStr ( defaultLayer = layerManager.getLayer 0, numMarks = 0, numMarksArr = #(0,1,2,3,4…

2 years ago
Forum
Reply
RE: Struct initialization problem? Or

@denisT, this also works without an error: ( global miauuStr struct miauuTestStr ( defaultLayer = layerManager.getLayer 0, numMarks = 0, nu…

2 years ago
Forum
Reply
RE: Struct initialization problem? Or

Some of the dialogs are dynamically created, so I decided to keep all important variables and functions outside of all dialogs. I wonder why this wor…

2 years ago
Forum
Reply
RE: Struct initialization problem? Or

The struct is used in about 50 dialogs and some of its variables are used in other 2 structs.

2 years ago
Forum
Reply
RE: Struct initialization problem? Or

So, there is no straight forward solution if the code is as in my first post? I will have to reassign the value of the spinners on roll open event?

2 years ago
Forum
Page 2 / 83