Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

sheetMetalTab operation

john_whitesidejohn_whiteside Member Posts: 11 PRO
I am trying to add a sheetMetalTab to a custom feature but 

Comments

  • Options
    john_whitesidejohn_whiteside Member Posts: 11 PRO
    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?
  • Options
    caden_armstrongcaden_armstrong Member, User Group Leader Posts: 127 ✭✭✭
    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.
Sign In or Register to comment.