AutoCAD Inventor :: Macro / Code To Export All The Parameters Information
Apr 26, 2012
I'm currently using Inventor 2012 and i need a macro (code): I want to know if it's possible to export all the information from the parameters list (everything, names, values, tolerances, comments...) to an excel spreadsheet or a txt file (it can be a table, or a CVS file, i just want that information!), from a part file (.ipt) or a drawing file (.dwg).
Currently, i can only export the parameters' names and values , but i can't get to the tolerance values and comments . . .
I want to use Ilogic to construct a code part name.
My question is perform a code of about 12 characters. For example the parameter "Lenght" is 600mm but in the expressione result It must be "000000000600" (a string of 12 characters)
I want to export reference parameters to an excel table using i-Logic
I found the function GoExcel.CellValues("filename.xls", "Sheet1", "A2", "A10") = MultiValue.List("d0")
It looks like the syntax calls for the file location and name if the xls file is not open and if open is not supposed to be required.
I have entered it both ways and with and with out the target file open and with the function GoExcel.Open("pathFilename.xls","sheet1") and continue to get the error:
we couldn't find C:AbellAbell VaultWorkSpaceDEVELOPMENTAC100-0100MRLTEST Table.xls. Is it possible it was moved, renamed or deleted?
Also, I was expecting that to fill in the sheet cell's would be MultiValue.List("d0","d1","d2")
but the system give me an error that says
Error on Line 3 : Overload resolution failed because no accessible 'List' accepts this number of arguments.
When I bring in a custom content center part or extrude a part I make, I always like to type it as LENGTH=24, thereby creating a parameter called length (instead of d0 or whatever it wants to call it). I then mark it as "export" manually so it shows up in my "custom parameters" tab on my iProperties. I do stuff with that exported parameter in my drawings. Is there a way to make it automatically export?
Or another approach, if I do LENGTH=24, is there an AUTOMATIC way (iLogic, etc) to make a new custom property, also called "LENGTH" that equals the LENGTH parameter?
it's possible to export informations stated in "tailing note box" from all welding symbols? The reason why I'd like to do it...it's because each weld in the drawing has his own number and I'd like to be able to work with these weld numbers in MS excel. It means I'd like to be able to export all the weld numbers and also to change these weld numbers in the drawing via MS excel.
I have created an assembly containing several parts. I want to export several text parameters of the assembly and parts into the i properties of the corresponding idw so that I can use them in a text block.
How do you select parameters for export in parts that have already been published?
I have a part that I have published. There are some parameters that Ii would like to have available to the Parts List upon creation. I don't see a way to do this after the part has been published. I have been able to select the parameters for export before publishing and they will be marked for export when the part is placed form the content Center.2010 Suite-SP4 64bit
I'm actually using inventor 2012 and microsoft visual basic 2010 express, and i need to create some code so i can access and export all the information from the parameters list (values, names, tolerances... everything!) from a part i designed.
Is it possible to add parameters to the project information list? For example I am using the project address parameter in my sheet borders for the full street address of a project. However on the cover sheet the project address is listed as ciry and state only. I know how to create a label parameter for the address on the cover sheet, but I would like to add that label to the project information family to keep all of that information in one place.
I have a macro that I've written that works flawlessly for what I need it to do but only if 1 corel window/job is open at a time. If I could get the macro to just check to see if other jobs are open first and warn me. I can hit ok then clsoe those jobs then proceed with my macro.
Most imported designs are 100%. I'd like a code that at a push of a button reduced to 10% or any other setting i can change it to. Reason being, we all use different scale modes and sometimes artwork is huge. I need to shrink it down.
Is this possible w/o manually typing in the values?
My Engineer has a Hec-ras file that he has been working on and I need to change some of the sections. I don't want to re-export all of my sections to a .goe file and lose the work he has already carried out.
Is there any way of exporting the necessary sample line information into a CSV file, as I believe this will be the best way to make the changes to the hec-ras data without losing the work which has already been carried out.
Is there any way to export a 3D dwf that includes layer information? In searching for an answer to this there were some responses that it really wasn't possible, however those were from previous versions of AutoCAD. I'm using 14 now. Is there any new functionality in 14 that allows this?
I am working with a set of dynamic blocks, each with a block table that provides a drop down for the user to alter attributes from. My goal is to be able to update the block table using VBA to push data from an excel file. I do have import/export code that will update block attributes, but I am not sure the functions that would access the table properties.
i need to export/retrive the Informations from "Space-Zone manager".
i can see the informations of surfaces and the openings in "Space/Zone manager", but no way to export or to extract them. the informations are also no "property set" information, which could be managed with schedules.
while importing attribute info back into a drawing, is there a way to tell it to skip a field? Say if I was working on a border block with attributes and some the the attributes were fine like the page number and description and I just want to change certain fields without disrupting others.
I am working with an action macro to be able to use the EXPORT PDF option (save into current folder as DWG with no user input) / save the current drawing / and close.
At present i am able to get the macro to export the pdf and then (user input to directory to save and to overwrite the previous file) then save the file but cannot close the drawing.
I'm working on a project incorporating field inspections into a Revit model. I have a model built, and I'm trying to export information regarding each structural element (family, type & instance, dimensions, etc) into an 'inspection sheet' (excel spreadsheet or text file). After the field inspection, my goal is to update the Revit model with inspection results. For example, damage to a beam might include a reduced cross sectional area/reduced moment of inertia.
The photo information isn’t shown anymore in the exported JPGs in the IPTC since LR4, but it still functions in the TIFF format. Is there a possibility to fix this error?I work with Mac OS X Version 10.7.5 - Lion - LR 5
Is there a possibility to export LR5 photos into grayscale?
After you you click on view normals to see them in the viewport, is there a way to export that information in some sort of text format that tells you the exact angle of each normal on a mesh? I need this information for the average normal information.
I want to wash my .jpg files through LR 5 in order to display the filenames. Via the Slideshow module I have been able to select and direct the displaying of the desired metadata option. When I export the files the displayed metadata information does not make the trip.