iLogic vs. Macro Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Looking for some guidance from more experienced folks: I have some tasks I want to automate, and am trying to figure out if it can be done in iLogic, or if it would be preferable to use VBA.
I went to use the VBA Editor to get started and all the warnings went off to use iLogic, so if that's the way everything is headed, I'll put the work in to develop it there.
The task: In a given assembly, I want to run a macro (how I've always done things like this in other programs) and have a series of drawings created automatically. One drawing for each thickness and material of Sheetmetal part containing just the flat patterns. (I.e. 12ga Mild Steel, 12ga Stainless, 3/16 Stainless, et.al.) I need to add a note within the outline of each part that pulls from both the part properties (for Part Number, etc.) and from the assembly (for total quantity.)
The drawings can be borderless, and will be automatically populated by the flat patterns of all sheetmetal parts of the same thickness and material type. All drawing views will be scaled 1:1. Notes will go on the zero layer and bend/hidden lines need to be removed.
A nice tool to build into this would be to run through and verify/create a flat pattern for all Sheetmetal details first, along with all of the other necessary programming checks to make this macro work.
I have a fair amount of experience programming in a couple of different languages, but not any VB or C# (at least recently.)
Pretty sure I've got the framework laid out well enough to start and I'm positive it can be done via VBA, just trying to learn if it makes sense to pick up iLogic from scratch to try to do this.
And if there's already a tool out there that someone has developed for this, I would be very grateful to have it as a starting point for what I'm doing.
Thanks all!