Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

For me its a close call between 2 and 3. Concise and clear what happens. Code explains itself so no comments are required imo.

 

Since you're using LINQ already you might as well go all the way. So snippet 2 will win.

 

While being the same as snippet 1 it's alot more readable due to the formatting. If not using iLogic I would create a method for checking the edgetype and the adding of the bendnote to add some logging / error handling. 

 

I agree with Michael Navara that for non-advanced users snippet 4 wins. For me it's just too much unnecessary typing :slightly_smiling_face:

Contact me for custom app development info@basautomationservices.com. Follow below links to view my Inventor appstore apps.

Free apps: Smart Leader | Part Visibility Utility | Mate Origins

Paid apps: Frame Stiffener Tool | Constrain Plane Toggle | Property Editor Pro