sheetMetalTab operation
john_whiteside
Member Posts: 11 PRO
Comments
-
When I try to add "sheetMetalTab" to a custom feature, it says "Function sheetMetalTab with 3 argument(s) not found" which is weird because I have put in four arguments. I wrote in the code to match what I am seeing in a part studio that uses this feature but onshape is not happy with my version of this code which looks like this:sheetMetalTab(context, "Tab 1", {"tabFaces" : instantiator1,"booleanUnionScope" : definition.face,"booleanOffset" : 3.0 * millimeter,"booleanSubtractScope" : qUnion([])});
My feature does not need a subtraction scope, so I thought that I would be able to leave it blank. Has anyone else had success with creating a custom feature using a sheet metal tab?0 -
Have you added the import statement for sheetMetalTab.fs ?
ex:
import(path: "onshape/std/sheetMetalTab.fs", version:"2014.0");
also, "Tab 1" is not a valid ID, so the feature will also fail there.
0
