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

    EffectorData: Set clone visibility?

    Cinema 4D SDK
    r20 r21 s22 r23 c++
    2
    3
    359
    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.
    • fwilleke80F
      fwilleke80
      last edited by

      Hello,

      I am playing around with an EffectorData here. Never tried it before. I looked at the examples NoiseEffector and DropEffector in the SDK, but still have a question:

      How would I set the clones' visibility, like e.g. the Plain Effector, and other effectors, do? I noticed that clones that are made invisible by an effector, are not only invisible but actually removed (no invisible objects are in the hierarchy when I convert the Cloner with "c"). How can I do that?

      I don't see any MODATA_array for this. Is it done using the flags in the MODATA_FLAGS array?

      effector_clone_visibility.jpg

      Thanks in advance!

      Cheers,
      Frank

      www.frankwilleke.de
      Only asking personal code questions here.

      1 Reply Last reply Reply Quote 0
      • ManuelM
        Manuel
        last edited by

        hi,

        yes it's done with the flag MOGENFLAG_CLONE_ON.

        Cheers,
        Manuel

        MAXON SDK Specialist

        MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • fwilleke80F
          fwilleke80
          last edited by

          Works like a charm, thank you!

          Greetings,
          Frank

          www.frankwilleke.de
          Only asking personal code questions here.

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