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.
Any way to rename Frame parts by their length?
joshtargo
Member Posts: 695 EDU
I want to see the lengths of each frame piece in the final Master Assembly BOM, is there any way to get length data in the BOM?
0
Answers
-
You mean like in a cut list?
0 -
I can get the cut list in the part studio, but I want to use those numbers to rename the frame parts so I can easily identify them in other assemblies and the main BOMmartin_kopplow said:You mean like in a cut list?0 -
I see the reason to have these lists in the assembly level. Often, I create but one part of each one length in the part studio, and insert it multiple times in the assembly. It makes sense to provide the shop with an assembly cut list. A script to rename parts based on existing values (length, width, ..) according to some predefined naming convention could certainly be helpful.
0 -
The length of the frame members are dynamically dependent on sketches, other parts, and the assembly, I don't specify any lengths.0
-
Then it'll be difficult to put it in the part name, I guess. Wouldn't it be possible to (automatically) transfer a measured variable from a parts variable studio into the BOM table, then?
0 -
maybe, but i don't know howmartin_kopplow said:Then it'll be difficult to put it in the part name, I guess. Wouldn't it be possible to (automatically) transfer a measured variable from a parts variable studio into the BOM table, then?
0 -
Been playing with it, but didn't get real far yet. :0/
0 -
You could do this with a featurescript.
The cutlist properties for each frame part can be read, and have the name set by the feature.
If you just want the length property in the BOM, you could use a computed property.
I wrote up a quick sample you can see here of using a feature to set the name.
www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
Experts in Onshape Automation - Custom Features and Integrated Applications0 -
I've had a really hard time trying to make featurescripts. I'm not a programmer at all, and don't really understand how to do almost anything, or to understand the information about how to make scripts. Also the computer property page says it's just for enterprise, and your page said permission denied.Caden_Armstrong said:You could do this with a featurescript.
The cutlist properties for each frame part can be read, and have the name set by the feature.
If you just want the length property in the BOM, you could use a computed property.
I wrote up a quick sample you can see here of using a feature to set the name.0 -
@josh_targo
My document is set to public, you should be able to view it.
The computed properties page is a bit out of date. Its definitely supported in professional accounts.www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
Experts in Onshape Automation - Custom Features and Integrated Applications0 -
I have a free account0

