Renerabbitt Posted February 15, 2023 Share Posted February 15, 2023 Parse the value from a sub-line item. How would I report "quantity" in the included image. var=upper_layers...? Link to comment Share on other sites More sharing options...
Chopsaw Posted February 15, 2023 Share Posted February 15, 2023 Give this a try Rene. upper_layers.to_a[0].material_data.quantity Link to comment Share on other sites More sharing options...
Alaskan_Son Posted February 15, 2023 Share Posted February 15, 2023 14 minutes ago, Chopsaw said: Give this a try Rene. upper_layers.to_a[0].material_data.quantity You actually don't need to convert to an array. upper_layers[0].material_data.quantity should do it. Link to comment Share on other sites More sharing options...
Joe_Carrick Posted February 15, 2023 Share Posted February 15, 2023 1 hour ago, Alaskan_Son said: You actually don't need to convert to an array. upper_layers[0].material_data.quantity should do it. That's because upper_layers is already an array. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now