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.
BOM ability to add part configuration property column?
mj_powers
Member Posts: 18 PRO
Just wondering if there is a way to add a specific part configuration property as a column item within the native Onshape BOM.
For example I have an assembly with several 2x4 lumber posts - each of different length.
Within the BOM they show as separate parts with the same exact name since they are from the same configuration part.
I must manually add the configuration properties built into the part in the "description" column - in this example the length of the 2x4 post.
Thanks.
Tagged:
0
Comments
In the Configured Part Studio, you can add Configuration Specific Properties as shown:
IR for AS/NZS 1100
and with the part properties there are some standard properties...
in the bom i can't select my configuration variable "length" which is defined in the part studio but is determined in the assembly
how to get the lengths in the bom?
you will need to add a "Custom Property" to your company (PRO / Enterprise account required)
otherwise you can use an easy featurescript to add your length to the name or description property.
Keep in mind, once you manually edit any property, you can no longer use a featurescript to set it's value
FeatureScript 1024; import(path : "onshape/std/geometry.fs", version : "1024.0"); annotation { "Feature Type Name" : "Add Length To Name" } export const NameLength = defineFeature(function(context is Context, id is Id, definition is map) precondition { annotation { "Name" : "Name" } definition.Name is string; annotation { "Name" : "My Length" } isLength(definition.myLength, LENGTH_BOUNDS); annotation { "Name" : "Part", "Filter" : EntityType.BODY && BodyType.SOLID && AllowFlattenedGeometry.YES, "MaxNumberOfPicks" : 1 } definition.entities is Query; } { const parts = evaluateQuery(context, definition.entities); var Name = definition.Name ~ " " ~ toString(roundToPrecision((definition.myLength / inch),2)) ~ " LG" ; if (parts == []) throw regenError(ErrorStringEnum.CANNOT_RESOLVE_ENTITIES, ["entities"]); setProperty(context, { "entities" : parts[0], "propertyType" : PropertyType.NAME, "value" : Name }); setProperty(context, { "entities" : parts[0], "propertyType" : PropertyType.DESCRIPTION, "value" : Name }); });
https://www.youtube.com/watch?v=TKjgQH7WtCc
I often set up a "custom" part studio (defined with "continuous" config variables) and then a second "stock" part studio with the "custom" part derived into it. This "Stock" studio is then configured with a finite list and with configured part names.
Wish I could use configurable assembly "part names" in the same way, but appears not for now. Onshape, please can you make it so??
HWM-Water Ltd
It's only one feature in ps tree to get all parts dimension into bom.
My question would be, how did you rename the property?
I would like to add my own Properties to my BOM, something like "Price" or "Comment". I dont like "Title1" "Title2" and so on...
How can i change the titles of the properties? (i mean your columns are named X, Y and Z) How did you do that?
Here are some of mine as an example:-
I'd imagine @3dcad has made himself some custom properties, and then used a featurescript to populate them. A custom property, whether populated by the user or via FS can then be used in the BOM just like any other native property.
Owen S.
HWM-Water Ltd
Is there an improvement request for these to be allowed in EDU or Standard accounts?
IR for AS/NZS 1100