Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Collecting data

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
Anonymous
425 Views, 7 Replies

Collecting data

I am writing a fairly complex macro in VBA.  I need to open an Excel spreadsheet, collect data from several columns, and it could be several dozen rows, then put the data into another Excel spreadsheet.  I'd like some feedback on the most efficient way to do this.  I'm using IV R2010, Excel 2000.  I already know how to open, get the data, and put it into Excel, but I've never tried anything with anywhere NEAR this MUCH data. Thanks, and If I've left out any vital info, holler.

7 REPLIES 7
Message 2 of 8
philippe.leefsma
in reply to: Anonymous

Hi There,

 

Sorry but this is an inapropriate question. This is a forum about Inventor customization, we deal with Inventor API related questions only. Your question appears to be focused on Excel API.

 

Please seek this kind of advice on a general purpose or dedicated Excel forum.

 

Thanks for your understanding.

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Message 3 of 8
jdkriek
in reply to: philippe.leefsma

Philippe, I could be wrong, but I think the OP just didn't clearly state what Inventor was being utilized for.

 

He could be using Inventor API to grab some information from Excel, which would either drive Inventor or simply combine with existing data, then output the whole collection to another spreadsheet.

 

Either way the OP needs to be more specific.

Jonathan D. Kriek
MFG Solutions Engineer
KETIV Technologies, Inc.


Message 4 of 8
philippe.leefsma
in reply to: jdkriek

Hi Jonathan,

 

Thanks for the feeback, yes Inventor API might get involved at some point to read/write data to an Excel sheet, however the question really seems unrelated to Inventor API itself:

 

"I need to open an Excel spreadsheet, collect data from several columns, ..., then put the data into another Excel spreadsheet... I'd like some feedback on the most efficient way to do this"

 

Wether the data come from Inventor or not, this looks like a stricly Excel topic to me. We, as Autodesk employees, do not support this kind of questions. If you have suggestions, please feel free to let know. 

 

Regards,

Philippe. 

 

 



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Message 5 of 8
Anonymous
in reply to: jdkriek

Nope, you're both right... this is an Excel Issue.  The data being collected is from Inventor, but I'm grabbing it from and Excel spreadsheet. The MACRO, however is in, and runs from, Inventor,  I open a drawing, then open a couple of Excel spreadsheets one with a Structured All Levels BOM from the "top level" assembly", the other empty.  Then, I search the BOM for certain properties that relate to the drawing and dump them into the other spreadsheet. I think I need to go to an Excel VBA group... anyone know of a good one?  Thanx.

Message 6 of 8
Anonymous
in reply to: philippe.leefsma

As a side point, do I detect a bit of "animosity" between AutoDesk and Microsoft, here??  Not to be surprised, Microsoft ranks just above Congress, and just below drug cartels on MY list...

Message 7 of 8
philippe.leefsma
in reply to: Anonymous

I was just trying to enforce the fact that we deal specifically with Inventor/Autodesk customization topics here.

 

When devlopping add-ins based on Autodesk products, you are obviously going to deal with a number of OS specific and Microsoft questions. We cannot possibly support any programming questions just because your code is going to be invoked from an Autodesk add-in. There are number of dedicated forums out there that can handle your requests better than us.

 

You are welcome to ask questions that might involve accessing the Excel API from Inventor and perform mixed workflow between Inventor and Excel data (or any other API), however in that specific case, your request looked 100% focused on Excel itself, this falls out of the scope of our support.  

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

Message 8 of 8
Anonymous
in reply to: philippe.leefsma

Yup.  The way I'm doing it, this part of the Macro IS 100% Excel.  I looked at doing it in Iv, btu that was "one drawing at a time", fine for small projects, not so much for ones that have 250 drawings.  I'll go mining for an Excel VBA site.  Thanks to all for your help.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report