Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This is a script to help new scripters use a powerful concept. It enables you to read values from an external file, and get those values into an array that you can then process how you want. It is pretty simple, but opens up doors for many things ( like saving script settings, options, small database things etc ).
the format it reads is like this:
[colours], // block name ( use to access specific part of the file )
red, // a value in the block. this can be anything
yellow, // the block can be any size, its only 3 big here...
blue,
-, // the symbol that declares the end of the block.
The file can be of any type ( but a normal .txt should be fine ) and you can have as many `blocks` as you need per file, with the ability to access each block individually. It returns the contents of the block into a global string called $RFdata[].
This script is designed as a solution for new scripters to what I found a complicated problem when I first started. There is an example file, and an example MEL file that shows you the syntax so you can test it straight away ( put the exampleFile.txt in your root "c:/" ).
not sure if it works in Maya 5, but can`t see why not...
Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.