question

Tommy H avatar image
0 Likes"
Tommy H asked tannerp converted comment to answer

Custom flow items and draw surrogate animation

I want to use a custom 3D shape as a flow item object. I've added an object to the flow item bin and changed its shape to an FBX file. Seems to work okay in a test source-processor-sink setup. I can see my object move across the stock processor model.

Next, I want to use a different custom 3D shape as a fixed resource object. I started with a BasicFR object, changed its shape using an FBX file, looks ok. In the Animation Creator, I added a component, changed its 3D shape using another FBX file, throw in a simple animation, all good.

This is where I'm stuck. How to animate the custom flow item object within a custom fixed resource? I think I understand the concept of surrogate. I added a component as a child of the one I added earlier. In the quick properties/component properties, under Draw Surrogate, I don't see my custom flow item that I added to the Flow Item Bin in the list.

What I'm looking to do is to have the flow item brought to the custom fixed resource by a custom task executer (haven't yet figured out how to do this, but one problem at a time). Then the flow item is "animated" by the fixed resource. Then the task executer takes it away.

FlexSim 18.2.2
animationflow itemsanimation creatorsurrogate
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Tommy H avatar image
1 Like"
Tommy H answered

So it looks like selecting Main Object Content was what I did wrong. That and putting the surrogate object as a child of the first object I added. I also added an OnExit trigger to set the animation variable to 0.

Made those changes and I think it's working now.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.