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 08/12/2010 at 16:19, xxxxxxxx wrote:
User Information: Cinema 4D Version: 11.5 Platform: Mac OSX ; Language(s) : PYTHON ;
--------- In the Python SDK, GeGetSerialInfo() has an empty parameter list, however an integer argument is required.
SERIALINFO_CINEMA4D and SERIALINFO_MULTILICENSE don't work.
Passing a value of 0 on my single-license system returns a dictionary containing my serial number. For values greater than 0, 'nr' is empty.
What are the constants for this function and is there an equivalent to SERIALINFO_MULTILICENSE?
On 09/12/2010 at 02:22, xxxxxxxx wrote:
c4d.GeGetSerialInfo(c4d.SERIALINFO_CINEMA4D) works here out of the box. c4d.SERIALINFO_CINEMA4D is a constant for 0, so it should work.
On 09/12/2010 at 05:11, xxxxxxxx wrote:
Thanks Sebastian, that works.
c4d.SERIALINFO_MULTILICENSE also works, so can I safely assume that this returns the mult-license serial? I'm not able to confirm this by testing on a license server.
On 09/12/2010 at 06:09, xxxxxxxx wrote:
Yes, it does. You can also check several threads out here on PluginCafe.com. There are a lot of ressources on this topic.
On 09/12/2010 at 14:00, xxxxxxxx wrote:
Thanks, I just needed to confirm the operation of the Python function. There's plenty of information in the C++ threads to take it from here.