Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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
    • Register
    • Login

    GUI created Redshift Camera is registered as baseobject not as OCamera ?

    Cinema 4D SDK
    python 2024
    2
    3
    407
    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.
    • M
      mogh
      last edited by

      2024-02-13-Cinema 4D 2024.1.0 - [h125p_stand_2024_02_Cleaned_V01.c4d _] - Main_000527.png

      Whats going on here this seems new to me ?
      The OCamera where created via script.

      I see tht these are redshift Cameras how can I identify these in a script via type ?

      if obj.GetType() == c4d.Ocamera:
          print("Cam")
      

      kind regards
      mogh

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @mogh
        last edited by ferdinand

        Hey @mogh,

        Thank you for reaching out to us. I am not 100% sure about your question here, but a Redshift camera will not have the symbol Ocamera, that is the old standard camera, but Orscamera.

        The symbol is missing in the symbol overview, because when I pulled the RS symbols over, work was still going on for the RS camera and I think we therefore decided to omit the symbol there. And then we of course forgot to add it later when RS Camera was released :D. I have added the symbol to Object Types, it will be included in the upcoming release.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 0
        • M
          mogh
          last edited by

          Thanks you answered my question, if it solves my problem we will see. 🙂

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