Dops Question: Dopfield

   3043   2   1
User Avatar
Member
153 posts
Joined: July 2005
Offline
Is there a way to refer to a dops field at a specific frame?
For example, “The ”ty“ position at frame 120 of obj0”
I tried playing with the “record number” field in the dopfield command but unless
I am misunderstanding, that does not refer to the frame number:

dopfield(“/obj/dopnet1”, “obj0”, “Position”, “Options”, 0, “ty”)

I am sure I am missing something simple or the correct command.

Thanks,
avid
User Avatar
Member
7025 posts
Joined: July 2005
Offline
Hey there!
I'm not sure how you'd do it with an expression, but you could use the Dynamics CHOP to cache your data then use the chopf() expression to get the data on the frame you wanted. This might be safer too, since you could write the cached data to disk and not risk a recook of your DOPs sim.

Cheers,

Peter B
User Avatar
Staff
4438 posts
Joined: July 2005
Offline
There is no DOP expression for accessing simulation data at anything other than the current frame. Accessing the data from a Dynamics CHOP is the way to go.

Mark
  • Quick Links