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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Utilizing InExclude for advanced use

    Cinema 4D SDK
    python
    3
    7
    796
    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.
    • bacaB
      baca
      last edited by

      Hi everyone,

      I'd like to build UI where user will be able to put some objects into list, and define parameters related to those objects.
      I'm completely new to this, and I can't find any examples of advanced use of InExclude.

      So there will enable/disable checkboxes and some additional flags.
      And once an object from the list is selected, I'd like to render UI with properties related to this object. And keep those parameters (within the Description I believe)
      Similar functionality offered by the FieldList UI.

      If there's an example, please point me on it.
      Or if not, maybe some rough sample can be shared?

      DunhouD 1 Reply Last reply Reply Quote 0
      • DunhouD
        Dunhou @baca
        last edited by

        Maybe this topic can helps.

        https://boghma.com
        https://github.com/DunHouGo

        bacaB 1 Reply Last reply Reply Quote 0
        • bacaB
          baca @Dunhou
          last edited by

          Hi @Dunhou ,

          Thanks for it.
          Flag-icons seems to be clear now.

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

            Hi @baca, advanced use is a undefined, please provide more information on what are you really struggling to and if there is a part in Cinema 4D that replicate what you consider an `advanced use'.

            With that's said you can find example of InExcludeData within plugincafe:

            • IN_EXCLUDE in Python
            • InExclude detect 'Remove All' context menu command
            • How to detect click on a item in InExclude list?

            So there is plenty of topic regarding InExcludeData.

            To display a description, there is the Description CustomGui, and you can find an example bellow:

            • Can I get active things order with python?

            Cheers,
            Maxime.

            MAXON SDK Specialist

            Development Blog, MAXON Registered Developer

            bacaB 1 Reply Last reply Reply Quote 0
            • bacaB
              baca @m_adam
              last edited by

              Hi @m_adam,

              Basically I'd like to build similar functionality, which offered by the FieldList UI.
              So there will columns with enable/disable checkboxes and some additional flags.

              However InExclude renders each item in a separate line, so flag icons just rendered where object name ends.
              I just assumed fields list view is based on InExclude list.
              But it might be not.

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

                No FieldList and InExclude are two differents custom gui. Sadly it is not possible to build custom description in python. So your only choice would be to create a GeDialog and a GeUserArea that replicate what you want to do. But then you will not be able to display this GeDialog within a description.

                Cheers,
                Maxime.

                MAXON SDK Specialist

                Development Blog, MAXON Registered Developer

                bacaB 1 Reply Last reply Reply Quote 1
                • bacaB
                  baca @m_adam
                  last edited by

                  @m_adam good to know, thanks.

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