Feature Studio Preconditions for 'Slot Feature'
. I am currently working through a FeatureScript Beginners Tutorial - Creating "A Slot Feature , designed for joining two laser-cut parts.
Please see attached, the tab for the Feature studio I populated with the same code in the Tutorial - there is an error on the 3rd line . Can you show me how to correct that?
Appreciate your assistance .
Thanks,
Alison C. Gray
https://cad.onshape.com/documents/ba4d995ec98623b5a0b7a7b3/w/929d199de80fa17b3ac3c966/e/54ee18823713d51b7005f2c6
Answers
-
You're missing the header at the top, also missing a colon and a " , and the const can't have a space in the name.
Writing code requires following the syntax precisely! Also the header gets added automatically when you create a feature studio so you would have had to delete it for it to go "missing"…
0

