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

    Execute script on object without having to select

    SDK Help
    0
    3
    285
    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

      On 05/05/2017 at 13:56, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R17 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;   XPRESSO  ;

      ---------
      Hey,

      Quick question how do I run a script on a object without having to select the object? Already tried FindObject("objectname"); but I dont think I used it right. Another question.
      After the script selects the object I want it to 'Restore Selection' through a 'Edge Selection Tag'. Hope someone can help me.

      Timo

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

        On 06/05/2017 at 07:18, xxxxxxxx wrote:

        Welcome to the forums,

        Is there a reason you are asking for COFFEE help rather than Python?
        You will hit road blocks very quickly using COFFEE.
        Python is a much better supported language in C4D if you are using R17.

        -ScottA

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

          On 12/05/2017 at 04:02, xxxxxxxx wrote:

          Hello and welcome,

          I guess your question was already answered on the C4D Cafe. For the future, please avoid threads across multiple forums so that nobody invests time in answering solved issues.

          best wishes,
          Sebastian

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