Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/12/2007 at 14:32, xxxxxxxx wrote:
User Information: Cinema 4D Version: 9.6+ Platform: Windows ; Mac OSX ; Language(s) : C.O.F.F.E.E ;
--------- Hi. In COFFEE for my own ExpressionTags using:
const var VALUE_ID = 123456;
globally before execute(), do I need a unique PlugIn Cafe ID?
The Tag(s) have unique ID's from PlugIn Cafe and I store calculated values in the VALUE_ID container.
I know if I store something in a regular Cinema object/tag I -must- have a official ID. But for my own Tags..?
The SDK isn't crystal clear (for me).
As of now testing, it works fine using the test ID's
Cheers Lennart Wåhlin - tcastudios
On 06/12/2007 at 23:20, xxxxxxxx wrote:
You can use relative IDs for resources directly in your plugin tag's BaseContainer. But if you are in need of adding a BaseContainer to this BaseContainer, you should use a unique ID from PluginCafe to identify it. This may not be strictly necessary, but it is hinted in the C++ SDK documentation (under "class BaseContainer") :
It is recommended that you use the available containers to store your own values as well. That way they will be automatically saved. However, if you want to store values in the top level of for example an object container, you'll have to use a unique id. You can use a plugin id from http://www.plugincafe.com for this. A good way is to store a sub-container with this id. Inside this sub-container you can use whatever ids you want.
On 07/12/2007 at 01:02, xxxxxxxx wrote:
Thanks. While it looks as if I then could use any number (shouldn't need a container inside a container here) I'll be better safe than sorry and run ID's from plugin cafe.
Cheers Lennart