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.
Can we use FS to set the "Exclude from BOM" property.
owen_sparks
Posts: 2,660 PRO
Hi folks.
I have a part studio that uses configurations to create a laminated material.

I have the configuration table set a sensible PN and name description for just the first layer of the laminate but I'd like to exclude all the other layers from the BOM. Rather than set many values in a table for each config option I thought I'd use FS to set the exclude from BOM property.
setProperty(context, {<br> "entities" : definition.bodies,<br> "propertyType" : PropertyType.Exclude from BOM,The auto complete doesn't seem to show such a setting, so my Q is "is this property exposed to FS?".
Thanks for your time,
Owen S.
Business Systems and Configuration Controller
HWM-Water Ltd
HWM-Water Ltd
Tagged:
0
Best Answers
-
Hi @owen_sparks - in short, no, though I don't see why not?
Here is the enum:export enum PropertyType { NAME, MATERIAL, APPEARANCE, DESCRIPTION, PART_NUMBER, VENDOR, PROJECT, PRODUCT_LINE, TITLE_1, TITLE_2, TITLE_3, CUSTOM }Senior Director, Technical Services, EMEA5 -
That's fine, I think it's simple enough that I'll just add it (not next release, but "coming soon").Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc1
-
This should be available as of the update we pushed yesterday (make sure you use the latest version of std).Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc2
-
Thanks again, 60 seconds of featurescript and I now have BOMs in "sensible mode".
Happy Onshaper here.Cheers,Owen S.Business Systems and Configuration Controller
HWM-Water Ltd3
Answers
-
Hi @owen_sparks - in short, no, though I don't see why not?
Here is the enum:export enum PropertyType { NAME, MATERIAL, APPEARANCE, DESCRIPTION, PART_NUMBER, VENDOR, PROJECT, PRODUCT_LINE, TITLE_1, TITLE_2, TITLE_3, CUSTOM }Senior Director, Technical Services, EMEA5 -
Thanks Neil.Is there anyone's desk that I can bribe you to loom over to make it happen?
(As a future release, please don't go to any trouble today.)Cheers,Owen S.Business Systems and Configuration Controller
HWM-Water Ltd0 -
Jake Rosenfeld - Modeling Team0
-
Thanks Jake, that I can do.
Cheers, Owen S.Business Systems and Configuration Controller
HWM-Water Ltd1 -
That's fine, I think it's simple enough that I'll just add it (not next release, but "coming soon").Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc1
-
Excellent, thanks for that, much obliged.ilya_baran said:That's fine, I think it's simple enough that I'll just add it (not next release, but "coming soon").
Have a good weekend, Cheers Owen S.Business Systems and Configuration Controller
HWM-Water Ltd0 -
This should be available as of the update we pushed yesterday (make sure you use the latest version of std).Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc2
-
Business Systems and Configuration Controller
HWM-Water Ltd0 -
Thanks again, 60 seconds of featurescript and I now have BOMs in "sensible mode".
Happy Onshaper here.Cheers,Owen S.Business Systems and Configuration Controller
HWM-Water Ltd3



