ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
AMAngel Mora21/02/2025

I am trying to write a macro (actually C++, but I guess it is the same behavior in VB) to automate a hexagonal pattern for a honeycomb. I create a hexagon with center at the origin and a second hexagon with center at (xc,yc), which are calculated depending on some input parameters. When xc results as 5.33 mm, it is placed at 4.33 mm, I guess so that it aligns with the other hexagon. This is shown in