Navigation

    • Register
    • Login
    • Search
    • Categories
    1. Home
    2. OblivionDawn
    O
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    OblivionDawn

    @OblivionDawn

    0
    Reputation
    2
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    OblivionDawn Follow

    Posts made by OblivionDawn

    • RE: "Frame Selected Elements" command not working when running script through c4dpy?

      @mp5gosu, thanks for that workaround, I'll give it a shot and let you know if I have any questions.

      @ferdinand, interesting, thanks for looking into this issue and I look forward to hearing what you come up with.

      posted in Cinema 4D Development
      O
      OblivionDawn
    • "Frame Selected Elements" command not working when running script through c4dpy?

      Hi, I'm a Cinema 4D veteran but I'm very new to Python and coding in general.

      I've made a little script that imports an .obj file into a specific scene, frames the geometry, and then renders it. When I run it in script manager it works great. However, when I run it via c4dpy/commandline, everything works fine except for the "Frame Selected Elements" command.

      c4d.CallCommand(13038) # Frame Selected Elements
      

      It just seems to ignore that command and then goes on to render the .obj at whatever size it was imported as.

      As I said, I'm still new to programming/scripting, but I'm assuming that since there's no GUI/viewport when running a script through c4dpy, the Frame Selected Elements command simply isn't available. I could be completely wrong though.

      Does anyone know if there's a workaround for this, or if I'm simply tackling the problem the wrong way?

      posted in Cinema 4D Development
      O
      OblivionDawn