Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / SDK / Interface13::SetNameSuffixLength()
  RSS 2.0 ATOM  

Interface13::SetNameSuffixLength()
Rate this thread
 
53307
 
Permlink of this thread  
avatar
  • Istan
  • Posted: 14 March 2011 11:04 PM
  • Total Posts: 82
  • Joined: 08 September 2006 04:40 PM

I found foll. in the SDK doc:

Sets the minimum length of the numeric suffix used in scene element names
The name suffix length set with this method is used when creating unique node names 
via 
Interface::MakeNameUnique, and when creating unique names using 
NameMaker
::MakeUniqueName(). 
The setting remains in effect until it's changed. 
It'
s value is also written to 3dsmax.inithus making it "stick" 
between 3ds Max sessions.

Question: Is this INI file entry set at all and if yes, what is the name of this entry? I can’t find it?!



Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14447
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

I don’t have the SDK, but this looks suspiciously like the Maxscript maxOps.nameSuffixLength. This works for the current session but does not appear to update 3dsmax.ini.
If you manually edit 3dsmax.ini then the setting “sticks”.

[Preferences]
NameSuffixLength = 3



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 1
/img/forum/dark/default_avatar.png

Thanks Steve!
Then the Doc seem to be wrong.
Istan

Author: Istan

Replied: 15 March 2011 12:43 AM