Function Lesson
papawo
Member, Developers Posts: 206 PRO
I badly needed lesson to fully understand how to do this.
Is there a tutorial or lesson out there ?
Is there a tutorial or lesson out there ?
Tagged:
0
Comments
-
This is our FeatureScript tutorial -- highly recommended: https://cad.onshape.com/FsDoc/tutorials/create-a-slot-feature.html
Overall documentation is here: https://cad.onshape.com/FsDoc/index.htmlIlya Baran \ VP, Architecture and FeatureScript \ Onshape Inc0 -
Im referring to fully understand these kind of function.

0 -
The first function is discussed here: https://cad.onshape.com/FsDoc/library.html#module-attributes.fs
The second one is for our (internal) use only currently -- it is not documented, supported, and may not work at all.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc0 -
Documentation for FS attribute functionality is in https://cad.onshape.com/FsDoc/library.html#module-attributes.fs or in comments in attribute.fs You can attach attributes to topology ( bodies, faces, edges, vertices) and then use qAttributeQuery to find that topology by the attribute pattern. Any FS value can be an attribute. We've been mostly using custom type attributes for particular functionality, see sheetMetalAttribute.fs for example.0

