Jump to content
Kalou

FBXoutput

Recommended Posts

Why my ropfbx can output only one file?

Here is the seting;

image.png.c9cafe67733e42c14be782aed003cdd4.png

Here is the exporting files

image.thumb.png.19f6e6fe98f43e975c50261d988ed599.png

 

Other formats all corrent.

Dose anyone kown about this?

 

Share this post


Link to post
Share on other sites

This has been a long time design "feature" of the fbx exporter in houdini. To get around it you can use a foreach loop in sops, a python for loop, or tops with each task split separately.

Share this post


Link to post
Share on other sites

I thought it was mainly, so it would be able to save animations (using the time frame)
but yeah you'll need some kind of looping structure, or shenanigans using the pre/post render scripts :P

Share this post


Link to post
Share on other sites
On 2019/11/25 at 11:59 AM, LaidlawFX said:

This has been a long time design "feature" of the fbx exporter in houdini. To get around it you can use a foreach loop in sops, a python for loop, or tops with each task split separately.

Sorry,I don't kown how to use foreach loop to output fbx file in sop.

Can you share me a example file for that?

Share this post


Link to post
Share on other sites

The easiest way is to use a python sop in a forloop,
causing the renderbutton to be pressed.
note that your node may have to be "unlocked", so having it inside a locked hda will require some additional work

something along the lines of:

#python code:
hou.parm("../ropnet1/fbxnode/execute).pressButton()

Share this post


Link to post
Share on other sites

Here is a file with three ways to do it in sops, tops, and in python. There are a lot more ways to do it too as Twan has mentioned to game the system too. There are RFE's to have this option too added at some point... FBX upgrades are not common. They actually just made the code open source for the FBX rop.

fbx_sequence.hip

Share this post


Link to post
Share on other sites

I pretty much exclusively do this with python as well but you can also manipulate the timeline to split things up into different files, if you dont want to dip into python

 

example case you have a model with a bunch of pieces you want to export as individual .fbx files, put a connectivity sop set to primitives, and in a primitive wrangle -

 

setdetailattrib(0, 'frame_max', i@class, 'max');

if(@class != @Frame-1) {
    removeprim(0, @primnum, 1);
}

 

Output to a filecache, fbx w/e, set to Save Frame Range, and put expression in the end frame parameter- 

detail(0, 'frame_max', 0)

 

miller time

 

Edited by Neon Junkyard

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×