setattribute
Discussion List
-
Applying bend reliefs to vertexes between rips and bends?
Working on yet another sheet metal script and I'm really close to completion on a build that's ready for deployment but I'm having issues getting bend relief geometry to generate on the ends of my bend segments of sheet metal parts. I suspect my issue is that I was trying to apply bend relief attributes to corners that are…
-
Splitting Parts Removes Attributes
According to the docs at https://cad.onshape.com/FsDoc/library.html#module-attributes.fs "Attributes stay with the entity they are defined on, even as the Part Studio changes. An attribute on a face, edge, or body which is split in two will be set with the same name and value on both split pieces." However, the following…
-
Why do attributes not come through when instantiating?
When instantiating part studio reference parameters, I'm able to get the attributes to come through if I use the legacy setAttribute(), but with the new setAttribute(), where you can specify a name, it doesn't seem to work? Thanks in advance!
-
How to access data written to parts with setAttribute
Hi, I'm attempting to write a program that analyzes some of the geometry of each part, and then writes the results into the parts in order for another app to pick it up and read it through the API. I've successfully written the data I need to the parts by using setAttribute, but I've been going through the API request list…