About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
what kind of comment , is it
what kind of comment , is it /*..*/ or is it "-- line comment" ?
Hi fajar i have many line
Hi fajar i have many line comments "--"
the problem is that these comments are at the end of lines
I have no idea how to remove them
.
use Notepad++. Open the script and remove all lines that starts with --. Then manually remove the /* */ comments.
Tools and Scripts for Autodesk 3dsMax
thank you but this method is
thank you but this method is not suitable because the comments are at the end of lines
`
hey
this is only quick script to remove comments on end of line when they start with --
but if double dash is in string rest of line will be removed too
to detect strings and comments with /* */ in script is more difficult
try if this simple answer works for you