My goal is to create a 3D Processor within FlexSim custom code with the 3D visuals of an operator.
My Current Code is as following:
treenode newPerson; newPerson = createinstance(node("fixedresources/Processor", library()),model()); setobjectshapeindex(newPerson,16); setobjecttextureindex(newPerson,5);
[The #16 and #5 come from "View" -> "Media Files" -> "Shapes" and "Images" index values];
The issues I am having are:
1. When the code is run, the operator processor looks massively large compared to an actual operator [See Figure 1]
2. After hitting the "Reset" button, the processor resets to what it originally looks like [See Figure 2]
*Note: Ideally, I would prefer not to create a custom library to solve this solution, but if you can provide code to access it from a saved filepath then I can accept that as a Plan B.