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

    too stupid for description system :)

    Scheduled Pinned Locked Moved PYTHON Development
    14 Posts 0 Posters 1.3k 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 12/03/2012 at 20:08, xxxxxxxx wrote:

      hi,

      thank for your reply, the console still returns:

      > AttributeError: 'module' object has no attribute 'SEENBYBYCAMERA'

      for :

      	def Init(self, op) :
      		data = op.GetDataInstance()
        
      		data.SetVector(c4d.LIGHT_COLOR,c4d.Vector(1.0,1.0,1.0))
      		data.SetReal(c4d.LIGHT_BRIGHTNESS,1.0)
      		data.SetLong(c4d.LIGHT_TYPE,1)
      		data.SetLong(c4d.EMITDIRECTION,2)
      		data.SetLong(c4d.SAMPLINGMODE,2)
      		data.SetLong(c4d.MAXIMUMSAMPLES,128)
      		data.SetReal(c4d.ACCURACY,0.65)
      		data.SetBool(c4d.ACCURATECOLOR, True)
      		data.SetBool(c4d.ISAREALIGHT, True)
      		data.SetBool(c4d.SEENBYGI, True)
      		data.SetBool(c4d.SEENBYBYCAMERA, True)
      		data.SetBool(c4d.SEENBYBYREFLECTIONS, True)
      		data.SetBool(c4d.SEENBYBYREFRACTIONS, True)
      		data.SetLong(c4d.DISPLAYMODE,2)
      		return True
      

      gnahgnahgnah ...

      edit : it is in this semi-working state like it is when i remove :

      	op[c4d.SEENBYBYREFLECTIONS] = True
      
      	op[c4d.SEENBYBYREFRACTIONS] = True
      

      1-4 correct, 5-7 wrong, 8-9 correct, 10-11 wrong, 12 correct, 13-14 wrong ... oO

      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 12/03/2012 at 20:27, xxxxxxxx wrote:

        "SEENBYBYCAMERA" ? ๐Ÿ™‚

        Cheers
        Lennart

        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 12/03/2012 at 20:33, xxxxxxxx wrote:

          Originally posted by xxxxxxxx

          "SEENBYBYCAMERA" ? ๐Ÿ™‚

          Cheers
          Lennart

          not sure what you want to say ? SEENBYCAMERA like the boolean in the compositing tag.

          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 12/03/2012 at 20:39, xxxxxxxx wrote:

            seenBYBYcamera, I guess it easy to get "word blind".
            Check the spelling:)

            Cheers
            Lennart

            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 12/03/2012 at 20:49, xxxxxxxx wrote:

              weeh,

              its far too late for me ๐Ÿ™‚ however, after correcting the typo the console returns :

              _ AttributeError: 'module' object has no attribute 'SEENBYREFLECTIONS'ย _
              _
              _
              the funny thing is, c4d.SEENBYREFLECTIONS is true and its checkbox is checked. if there is a god, its a cruel one ๐Ÿ˜ž

              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 12/03/2012 at 21:52, xxxxxxxx wrote:

                Perhaps you are having trouble because you changed your descriptions. But didn't delete your coffeesymbolcache file?

                That one tends to burn everyone at least once.

                -ScottA

                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 13/03/2012 at 05:19, xxxxxxxx wrote:

                  To me,

                    
                  ย ย ย ย self.InitAttr(op, bool, [c4d.SEENBYBYREFLECTIONS])   
                  ย ย ย ย self.InitAttr(op, bool, [c4d.SEENBYBYREFRACTIONS])   
                  

                  looks spelt wrong "..BYBY.." but also as Scott mentioned,
                  the coffesymbolcache file might need to be deleted for
                  Cinema to update it.

                  Cheers
                  Lennart

                  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 13/03/2012 at 09:22, xxxxxxxx wrote:

                    that did the trick ๐Ÿ™‚ cannot express it in words how gratefull i am for your help and how angry i am, that neither the c++ sdk nor the python sdk mention this with a word (at least at their description sections).

                    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 13/03/2012 at 09:37, xxxxxxxx wrote:

                      The file is located here on a Windows OS:C:\YOUR username here\user\AppData\Roaming\MAXON\YOUR c4d version here\prefs\coffeesymbolcache

                      You didn't specify Mac or PC. Or what version you're using.
                      There are a great many differences between R12 & R13. So please always provide that info in your posts.

                      BTW: I don't know if you know this or not. But the file link you posted says I need special permission from you to download it. That's not going to get you a lot of help either. ๐Ÿ˜‰

                      -ScottA

                      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 13/03/2012 at 09:54, xxxxxxxx wrote:

                        sorry about the google docs. but the problem is solved i found the file and it works, again thanks for your help ๐Ÿ™‚

                        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 13/03/2012 at 10:14, xxxxxxxx wrote:

                          Lol.

                          That stupid cache file thing is sort of a rite of passage that all python plugin newbies have to go through.
                          It's sort of like a fraternity hazing...Everyone has to go through it at least once to be in the club.๐Ÿ˜‚

                          -ScottA

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