Inserting bounding box dimensions into BOM

I found the feature script for "Aligned Bounding Box" which creates a variables table like the one shown below. How do I then get these values inserted into a BOM?

Name

Variable type

Value

Description

box1_X

Unspecified

169.941 in

box1_Y

Unspecified

5.5 in

box1_Z

Unspecified

11.25 in

Answers

  • eca_elioac
    eca_elioac Member Posts: 19 ✭✭

    @pete_mathis

    You can't… Those data from your custom table (featurescript) live only inside the partstudio, I don't think you can bring them into the assembly/BOM

  • Caden_Armstrong
    Caden_Armstrong Member Posts: 468 PRO

    you can copy and modify the feature and have the feature set a custom property in your parts, and then add that custom property to your BOM.

    It would require a small bit of featurescript knowledge to achieve

    www.smartbenchsoftware.com --- Renaissance --- Kestrel -- SmartLink
    Experts in Onshape Automation - Custom Features and Integrated Applications