Which way to go, Attaching parts to Skeleton through API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good morning;
I've been putting together a somewhat ambitious program in Inventor VBA. So far, I have pieced together some code to get the user interaction, name of files to get data from, save location of output files. Open Excel, grab that data, put that data into a dictionary of custom class objects, Open an Autocad drawing, analyze relevant blocks which the excel stores a bulk of the information needed. Dump analysis into another excel with a table of formulas to calculate the start and stop points of sketch lines to be the skeletons of framing and facade. I have prior coding to create mark numbers and storing the relevant data to apply features to parts. I even did some experiments with help from this board to constrain parts to sketch lines.
So my question is, which way to go..
First guess is to use proxies between the skeleton part sketch line end points to position part and then ground it. Use either reference keys or attributes to reference the original sketch line for position and length and update through another script.
Second guess is to project geometry of sketch line and use as a "path" for an extrusion of each profile.
Last guess, load part through content center or by adding from component definition / occurrence, and apply constraints.
I am certainly open to more elegant solutions, and any hints or suggestions would be appreciated.
Thank you for your time;
Duane.