ghostlake114
@ghostlake114
New Member
Joined: Feb 14, 2024
Topics: 14 / Replies: 45
Reply
RE: Float: inner value vs display value????

I really get CRAZY now, I spend the whole day for writing an exporter for our project and algorithm is correct, but now the output number is totally w…

16 years ago
Forum
Reply
RE: Float: inner value vs display value????

some funny result from Max formattedPrint -118.11111111 format:”.15g” “-118.111114501953” formattedPrint -118.123456789 format:”.15g” “-118.12345886…

16 years ago
Forum
Reply
RE: Float: inner value vs display value????

even the formattedPrint can not help. I ‘ll give an example real_long = -118.2584425 as float formattedPrint real_long format:“0.20g” this is resul…

16 years ago
Forum
Topic
Forum
Replies: 31
Views: 39
Reply
RE: Control the obj export option

Ah agrrr… lacking of knowledge is really a *crime *… :shrug:Look at my code how I deal with the cfg file…Your code is really Max way! Btw, I only stu…

16 years ago
Forum
Reply
RE: Control the obj export option

I find a trick for writing that cfg file use %temp% cmd createFile “C:\\WINDOWS\\max2obj.cfg” f = openFile “C:\\WINDOWS\\max2obj.cfg” mode:”w” fo…

16 years ago
Forum
Reply
RE: Control the obj export option

Or the easier way is open cfg file and write to it with our desired data. However I get no way to get in that folder and open it for edit

16 years ago
Forum
Reply
RE: Control the obj export option

Yes, I know the config is save and we could re-use it. But in production we want to make sure no wrong file is submitted, so the script to force out a…

16 years ago
Forum
Reply
RE: Control the obj export option

Also how about a dropdown box. I want to choose triangle as option for faces option, but it is a dropdown and can not use checkbutton method I nearly…

16 years ago
Forum
Reply
RE: Control the obj export option

Thanks for your help. I could get nearly all info except some point windows.sendMessage flipControl_parent_hwnd WM_COMMAND ((bit.shift BN_CLICKE…

16 years ago
Forum
Reply
RE: Control the obj export option

Also I am using Max9 because client require it. However I have tested with Max 2008 and see nothing change too

16 years ago
Forum
Reply
RE: Control the obj export option

Thanks ZeBoxx2, you are always so helpful I could get a little clue of your script, however, I still can not make it run. As I guess, just simple run…

16 years ago
Forum
Topic
Forum
Replies: 13
Views: 50
Reply
RE: Weird NUL character after each WriteString()

Thanks, I will look into it Btw, I find a temporary solution for my case, after each writestring I add fseek f -1 #seek_end So file will back 1 cha…

16 years ago
Forum
Reply
RE: Weird NUL character after each WriteString()

I am totally noob so this is what is find in manual and do with fopen, fclose … There s another way to write to file in 3DSMax ? Also I am using writ…

16 years ago
Forum
Page 2 / 4