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

    GeExecuteProgram

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 268 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 03/05/2006 at 00:05, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9x 
      Platform:   Windows  ; Mac  ;  Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi all,

      I need to run the Vray.exe executable from my plugin.
      The bad is that i'm not able to pass parameters to this executable.

      es.
      c:\vray\bin\x86\vray.exe -scenefile=c:\path\VrayForC4d.exe

      I tried to fill the first argument need by GeExecuteProgram with the complete name with parameters but it's not working.

      any help?

      Thanks in advance
      Renato T.

      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 03/05/2006 at 03:02, xxxxxxxx wrote:

        As far as I can tell, GeExecuteProgram() does not take command line arguments, only two Filename classes: the executable and a file to be opened by the executable. Since the Filename class only represents a file path, other text would not work properly.

        If you can substitute a batch file for the executable, you may be able to get the command line arguments passed in that way.

        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 03/05/2006 at 17:23, xxxxxxxx wrote:

          Thanks Robert, it work 🙂

          Now will be good to include the vray's libs on my project but there are a some redefinition that gave me a lots errors.

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