Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Answers
Here is what the overall getSheetMetalProperties looks like, I think the reason that the custom lines are showing u is because of one of the other diagnostic println functions I had put in.
I had thought that section you referenced was where you were inserting the sheet metal properties selected by the enums listed in Bend Tables here as the way I read it was if the definition wasn't set to materials.custom then assign the following material properties? Are the material properties being pushed through the featureSetting const instead?
Bend Table(excel)
Inputs?
I assumed this was the custom function for the tooling, but I was unsure of how FeatureList was set up and didn't see a need for a custom tooling input,
@mitchell_braun924 I not sure what your asking. When the custom option is selected, getSheetMetalProperties() function is not run and the feature studio that holds that function is being completely by passed. when the custom option is selected, the feature is basically just functioning as the standard feature.
Sorry, I think I was a bit sleep derived when I read the reply post this morning and somehow got to the highlighted section not being what was pushing the information and managed to not connect the dots that you were referencing only the state where the custom option was selected, the error goes away when I select the custom option as like you said it isn't calling the getSheetMetalProperties.
Currently I believe the multiplication error is interfering with inserting the selectable material/machine properties.
@mitchell_braun924 I would revisit my original feature code. Currently, my feature runs without any errors.
@shawn_crocker
I got it working! I change where I was assigning the units over to this section and now its pulling fine no errors so far!
Also, thank you for your help!