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

    Make Object invisible

    PYTHON Development
    0
    5
    665
    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
      Helper
      last edited by

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

      On 21/02/2011 at 09:51, xxxxxxxx wrote:

      Haha, me againย ๐Ÿ˜‚
      Hopefully someone will answer all my question Tongue

      Is there any way to make a BaseObject "Invisible" without having to set the Render & Editormode ?
      For example when i create a Deformer with the PythonGenerator, i don't want the Parent, which actually gets deformed, to be seeable anymore, because the PythonGenerator returns the Deformd Object. Or is there any easier or better way to do that ?

      cheers, nux

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

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

        On 22/02/2011 at 03:30, xxxxxxxx wrote:

        Well I can only tell you the manual way, I don't know if it is possible to do it via python:
        Put a display tag on your object and recuce the visibilty to zero percent.

        Maybe just one way of thousands ...

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

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

          On 22/02/2011 at 07:29, xxxxxxxx wrote:

          Yea, I would need exactly this, but it would be definetly better, without that Tag ๐Ÿ˜œ

          Thanks either, nux

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

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

            On 22/02/2011 at 07:56, xxxxxxxx wrote:

            import c4d

            obj = doc.GetActiveObject ()
            tag = c4d.BaseTag(c4d.Tdisplay)

            obj.InsertTag(tag)

            c4d.EventAdd()

            Half the way is done ๐Ÿ˜‚

            and it's a script not a tag, therefore, no main () Tongue

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

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

              On 22/02/2011 at 08:21, xxxxxxxx wrote:

              Well, i think having a main() in a Script to makes the Code even more readable. ๐Ÿ˜›
              Btw, i thought you wanted to post it as a PythonGenerator Code. ๐Ÿ™‚

              Did you take a look at the Cloner examples ? Or do you already have got that skills ? ๐Ÿ˜‰ ๐Ÿ™‚

              So, maybe i can make a Tag invisible ? ๐Ÿ˜‚

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