ZBrushCentral

FBXExportDLL64 questions

I am just starting to work through a new automation process for our face pipeline, and hit a blocker with the FBX import/export dll. Namely the lack of any scripting documentation on it. I have been able to get all of the dll’s EXPORT functions via a dumpbin, however I have no clue what the signatures are.

I’ve been able to get the Version of the plugin:

[IButton, "Version Info", "Get the version info for the FBXExporter",
    [Note, [FileExecute,[Var, fbx_dll_path],Version]]
]

However, any of the more complex functions either return an int that doesn’t have context, or crash all of zBrush (assuming I am passing something bad)

Since I am new to zBrush I assume there is some API documentation for this somewhere? Apparently, my google skills have completely fallen short in this task.

Any assistance or pointers would be greatly appreciated!

          1    0 00027220 AddDefaultCamera
          2    1 000271A0 AddShape
          3    2 0002A940 CheckName
          4    3 0002A980 ClearNameSet
          5    4 0002A820 CloseFolder
          6    5 00026EB0 CountFiles
          7    6 00027B20 CreateCamera
          8    7 00026DD0 CreateFolder
          9    8 00027150 CreateMesh
         10    9 00027F80 CreateScene
         11    A 00027FA0 DestroyScene
         12    B 0002A8E0 EmptyFolder
         13    C 000280A0 ExportFBX
         14    D 00028230 FileDelete
         15    E 0002A880 FileRename
         16    F 0002A7C0 GetFile
         17   10 00027070 GetMesh
         18   11 00026CA0 GetPublicFolder
         19   12 000273B0 GetZBrushCamera
         20   13 00028140 ImportExport
         21   14 00028180 ImportExportFBX
         22   15 00027FC0 ImportOBJ
         23   16 00026F90 ListFiles
         24   17 0002A790 OpenFolder
         25   18 000281C0 PLYExport
         26   19 000281F0 PLYImport
         27   1A 00028090 SetAxisFormat
         28   1B 00028030 SetCreaseAngle
         29   1C 00028050 SetEmbed
         30   1D 000280E0 SetImportOptions
         31   1E 00028010 SetNormals
         32   1F 000270F0 SetTexturePath
         33   20 00028070 SetTris
         34   21 00027770 SetZBrushCamera
         35   22 00028310 SplitOBJ
         36   23 0002A770 SwapVertices_GoZ
         37   24 00028210 TGAImport
         38   25 00026C90 Version
         39   26 00029E60 saveAsJpeg
         40   27 00029E40 saveAsTarga
         41   28 00029EA0 truncImageRefDAE

@Matthew I am also interested in calling functions in the FBX ImportExport dll. Did you find any documentation for this? Do you have any examples on how to use the dll? The ‘ExportFBX’ function in particular, it would be useful to know the parameters for it.

1 Like