Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 22.2.0 ]
I tried to set the x location by custom code in create kinematics:
here is my code:
It just simply return 1, but system console throw an error:
time: 0.000000 exception: FlexScript exception: Invalid down cast. Object is not an instance of the target type. at MODEL:/Tools/ProcessFlow/ProcessFlow/Create Kinematics>variables/xLoc
I don't know how to solve it.
What is the correct way to set the location by code?
Solved! Go to Solution.
