Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    GeGetCurrentOS manual?

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 308 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 31/10/2012 at 03:36, xxxxxxxx wrote:

      _<_dt id="c4d.gegetcurrentos"_>_Currently, Cinema 4D python documentations tells us:
      Windows is OPERATINGSYSTEMWIN.
      However, that gives an error.
      When I use c4d.GE_WIN it is ok?

      _OS">c4d.GeGetCurrentOS()

      Get the type of OS that is running CINEMA 4D.

      Return type: int
      Returns: The default FPS value. OPERATINGSYSTEMWIN Windows
      --- ---
      OPERATINGSYSTEMOSX OSX
      OPERATINGSYSTEMUNIX Unix_/tr>_d>
      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 31/10/2012 at 04:47, xxxxxxxx wrote:

        There are typos and mistakes in the documentation here. The operating system IDs are:
        OPERATINGSYSTEM_WIN  Windows
        OPERATINGSYSTEM_OSX  OSX
        OPERATINGSYSTEM_UNIX Unix

        So you should use OPERATINGSYSTEM_WIN. GE_WIN is an old COFFE symbol.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 31/10/2012 at 06:45, xxxxxxxx wrote:

          You could also just use either os.name or sys.platform().

          _nik

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 02/11/2012 at 01:50, xxxxxxxx wrote:

            Ok, thanks.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post