Some built in functions are not being found, how do it fix?

joshtargo
joshtargo Member Posts: 679 EDU

im trying to use indexOf but it's not pre populating or working. I imported common fs, but still an issue. How do I fix this?

Comments

  • _anton
    _anton Member, Onshape Employees Posts: 553 image

    Working for me. Do you see any autocomplete? Do you have errors in your Feature Studio?

  • Jacob_Corder
    Jacob_Corder Member Posts: 141 PRO
    edited August 2025

    indexOf was added in fs library 2368. If your FeatureScript library number up top is older than this, it will not show up.