I need help creating a macro.
The macro i have been able to acquire
Changes the default sheet metal cut list description from PL to PL Thickness X Length X Width
Changes the default weldment cut list description from The Weldment File Name to The Weldment File Name X Length
What i need to add to this macro is
Change the default weldment cut list description from The Weldment File Name to The Weldment File Custom Property "Description" X Length
Show in the cult list the weldment Mass
Round all Lengths and Widths to the nearest 1/8"
For bent Sheet metal cut list items add (Bent) to the end of the Discription
For Sheet metal thicknesses generated from a gauge table use the gauge number in the description.
Give another mass property for raw material weight generated by
for sheetmetal multiply Bounding Langth, Width, and thickness by the material density
for weldments multiply the profile cross sectional area by the material density
any help would be greatly appreciated
Thanks
Hey Joe,
Do you have any experience writing macros?
The features you ask should be straightforward and involves mostly IF conditions except the code you already have.
I suggest you to start step by step, and also try using the API help and the API forum here for more specific questions.
Also, I can suggest you to check our website for a tool that may help you.
Also, keep in mind - what happens when you run your macro for the second time on the same part? All the cut-list properties will be a mess.
Cheers,
Bnaya Livne