06-24-2022
01:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-24-2022
01:12 AM
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 ![]()
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
Free apps: Smart Leader | Part Visibility Utility | Mate Origins
Paid apps: Frame Stiffener Tool | Constrain Plane Toggle | Property Editor Pro