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.

Any way to rename Frame parts by their length?

joshtargojoshtargo Member Posts: 243 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?

Answers

  • martin_kopplowmartin_kopplow Member Posts: 513 PRO
    You mean like in a cut list?
  • joshtargojoshtargo Member Posts: 243 EDU
    You mean like in a cut list?
    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 BOM
  • martin_kopplowmartin_kopplow Member Posts: 513 PRO
    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.
  • joshtargojoshtargo Member Posts: 243 EDU
    The length of the frame members are dynamically dependent on sketches, other parts, and the assembly, I don't specify any lengths. 
  • martin_kopplowmartin_kopplow Member Posts: 513 PRO
    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?
  • joshtargojoshtargo Member Posts: 243 EDU
    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?
    maybe, but i don't know how

  • martin_kopplowmartin_kopplow Member Posts: 513 PRO
    Been playing with it, but didn't get real far yet.  :0/
  • Caden_ArmstrongCaden_Armstrong Member Posts: 180 PRO
    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 --- fs.place --- Renaissance
    Custom FeatureScript and Onshape Integrated Applications
  • joshtargojoshtargo Member Posts: 243 EDU
    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.
    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_ArmstrongCaden_Armstrong Member Posts: 180 PRO
    @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 --- fs.place --- Renaissance
    Custom FeatureScript and Onshape Integrated Applications
  • joshtargojoshtargo Member Posts: 243 EDU
    I have a free account
Sign In or Register to comment.