In celebration of today being March 14th, I share this quick tip for the Civil 3D Subassembly Composer with you:
Need pi in a VB expression? Type system.math.pi
Footnote: I have actually found that sometimes the “system” part isn’t needed but sometimes if you leave it off, you will get a red exclamation point. Since it will always work with the “system” part, I tend to leave it on. If you find that you can get math.pi to work consistently and prefer the shorter expression, go for it!