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
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Discussion on the feasibility of exporting FBX through zscript

    ZBrush SDK
    c++ windows 2024
    2
    6
    1.1k
    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.
    • Q
      qq475519905
      last edited by

      I will implement a script to save the current scene to an FBX. Can this be done in zscript? If anyone knew, I would be extremely grateful!

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @qq475519905
        last edited by ferdinand

        Hello @qq475519905,

        ZScript does not have the capability to export scenes to FBX format directly. ZScript is primarily used for automating tasks within ZBrush and does not have extensive file I/O capabilities beyond what is needed for ZBrush-specific tasks.

        When you want to write a custom FBX exporter, you would have to use the GoZ ZBrush API, this would allow you to use C++ or pretty much every other language (you have tagged this as C++). Writing an FBX exporter is however no trivial task.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        Q 1 Reply Last reply Reply Quote 0
        • Q
          qq475519905
          last edited by

          hello, I have created a simple script using zscript, but every time I export it, a 'FBX Export Options' window pops up. Do you want to allow direct export without a settings window? I would be very grateful if you could provide some tips!

          1 Reply Last reply Reply Quote 0
          • Q
            qq475519905
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • Q
              qq475519905 @ferdinand
              last edited by

              @ferdinand Hello, I have created a simple export script using zscript, but every time I export it, a "FBX Export Options" window pops up. Do you want to allow direct export without setting up a window? I would greatly appreciate it if you could provide some suggestions!

              1 Reply Last reply Reply Quote 0
              • ferdinandF
                ferdinand
                last edited by

                Hey @qq475519905,

                sorry for the delay. As I said in the beginning, you can implement your own serializer using GoZ. But there is no dedicated exporter API in ZScript. I assume you are using some RoutineCall to achieve what you are doing. You cannot escape any GUI associated with such call.

                Cheers,
                Ferdinand

                MAXON SDK Specialist
                developers.maxon.net

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