SammyJ Posted April 6, 2022 Share Posted April 6, 2022 Are you able to use math formulas in exporters? I'm working on a Cabinet vision exporter and I have a product of a specific size that has a "customization" variable. I want the nominal size to stay the same, but the width and height in the export formula to change. I tried this but it doesn't like it. I added brackets, still doesn't run. Any thoughts? [Cabinets] {{line_num}}{{group_id}},"{{cv_name}} {{size_width_x_height_.Width}}x{{size_width_x_height_.Height}}",{{size_width_x_height_.Width}}-{{Width_Adjust}},"{{size_width_x_height_.Height}}-{{Height_Adjust}}",0.75,"L","N",{{quantity}},"{{cab_number}}||SKU:{{size_width_x_height_.Size_SKU}}{{door_style_ikan.Style_Sku}}{{door_colour_ikan.Colour_SKU}}" Quote Link to comment Share on other sites More sharing options...
Solution Juan Posted April 6, 2022 Solution Share Posted April 6, 2022 To use a result of a formula in an export formula, you will need to create a Part Attribute on the respective Export Part and write your formula there. Doing so will create a "this_part" variable that can now be used in the export formula. For example, if I needed the panel width in the export formula I would create a part attribute call "Panel Width" and write a formula like (door_width - (stile_width*2)+inset_add). That will create a variable named "this_part.panel_width" that can be used in the export formula section of the part. Quote Link to comment Share on other sites More sharing options...
SammyJ Posted April 6, 2022 Author Share Posted April 6, 2022 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.