Jump to content

Procedurally control the Simulation Start frame


stass3d

Recommended Posts

Hi All!

I`ve a tricky question.

I get a some geometry generated in one DOP network by SOP Solver.

I trying to make a second Layer Network, where the new SOP Geometry must become a RBD Fracture Object.

My problem is, that a calculate a frame, where the second simulation must start from the first network.

I save a geometry generation time in Dop datafield.

then read this frame in expression like this:

if(dopoption("dop1", "OBJ", "GenInfo", "IsGenerated"), dopoption("dop1", "OBJ", "GenInfo", "StartFrame"), 1000)

Because on start of simulation I dont know, at which time the geometry going to be generated.

But if I use this expression on DOP Network Start Frame parameter, I get always 1000.

is there some way to solve it procedurally?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji 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.

×
×
  • Create New...