I am having problems with finding a way to write an code to fill out my bill of materials in a drawing. I have a nozzle with several different sizes and lengths it is flanged on both ends. Everytime the nozzle changes sizes the part number for the pipe and both flanges changes. I have tried to write a macro for this but I cannot get it to work. I am pretty new at this api stuff so i would appreciate any help with my issue.
SolidworksApi macros