AutoCAD Inventor :: Access And Export Parameters Directly Using APIs
Apr 24, 2012
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.
I would like to be able to use iLogic to get the value of the Comment field of a model's parameters. I have some text there that I would like to display in a sketched symbol. The attached image illustrates what I am seeking.
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?
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.
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 . . .
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 need to rename a number of files to specific names which are not based on the current names. Simple to do outside of LR5 but I do not want to lose the related edit data which I believe to be the case if I do it outside of LR.
Assuming the name is stored in the metadata is there anyway to access that directly to perform the rename?
Will Corel6 (or later) ever be able to export to a web page directly since the HTLM export doesn't work (drops links). The Corel Web program, or what ever its name is, was a joke. Its amazing that Corel work puts its name on a program that you could not open a CorelDraw file.
My current work around is to export to a JPG and then import that into dreamweaver and add the links there, then post. A pain but it works.
I once saw a clip from Autodesk, and this film presents a table of different API capabilities to AutoCAD, but I can not find it. There were shown in tables which can lisp, ARX. NET and others.
I use Xara for design work and am also a professional SW developer who has been developing in WPF for 5 years. It would be so good if Xara could export data directly to XAML, rather than having to go via an intermediate format. Searching in the forum reveals that this has come up several times and there have been a few hints that it might be about to be supported, but then nothing.
Is it still not possible to export folders direct to ftps? I've heard this is possible in Photomechanic but I'd prefer not to have to buy another piece of software (and I like LR). Exporting to a folder on the hard drive and then exporting to the ftp seems like one step too many.
I am trying to get the details (paper size, number of copies, etc.) at the end of a successful plot event - success meaning that the plot was sent to plotter without error. But I am not sure how to get the details - see attempt below - which fails - invaild objectid ?
In Develop, I'll click on the icons for the Crop Tool or the Adjustment Brush; the dropdown for the tool will briefly appear, then disappear.
In Library, I'll click Export; the Export dropdown shows for about 1/10 second, and an Export action begins, without me having had a chance to set the export parameters.
I've had LR since the beginning, all on Macs, and this is the first time for this bizzarre behavior. LR or OS? Hardware or software? I tried restarting LR and the computer.
I have a sweep that follows the shape of the path sketch, but the sweep itself is made to the right of the sketch. How can I get it to fall directly on the path? I have attached a picture of the sweep as well.
HP Z400 Workstation Intel Xeon @ 3.33GHz 12.0 GB RAM Windows 7 64-bit Inventor Pro 2014
I am trying to save and load plugin's settings, ex. dialog setting values and strings. OS platform is windows XP. First I programmed the way of using *.ini file. But that not appropriate for Macintosh. So, I like to know common way by using SDK's APIs.
It is a simple rectangular plate with 13 holes through on a pitch circle.
I have used a "circle" to construct the "Pitch Circle" and a "line" to construct the top dead centre of the circle.
I have then added a circle to use as a hole feature and used the circular pattern to make the holes equi-spaced around the circle.
This circle is then extruded "Through All".
My question is, How can I eliminate the construction "Circles" and "Lines" from the following code, only allowing sketch entites that are directly associated to an extruded feature to be accepted?
Public Function WriteDxfSketchEntities(Doc As PartDocument, sketch As PlanarSketch) As Boolean Dim partCompDef As PartComponentDefinition
I use inventor to draw cars for competitions. They are made from 2x2x12 balsa wood blocks.
Is there a way to center the drawing directly in the middle of the page?
What type of file would i need to model the car in in order to have it cut out using a cnc router/five axis mill? Would it be the same for wheels (made out of 2mm plastic)?
I want to know how I can resize the width/ length of a art?
I went through APIs and got some useful suite like AITransformArtSuite. But I am unable to use it's method TransformArt. since I don't know how to create appropriate AIRealMatrix.
Well, I finally migrated to CGS X5 and am completing my first product brochure.I normally send out drafts and download copies in PDF and when I do I always set the access rights to the document to the same.
I allow viewing and I allow printing but nothing else and a password is required to change this.
Is there somewhere/someway that I can set the PDF export to have these parameters and password set so that they are automatically applied when I export?
Is there a way to make parts invisible directly independent to the selection you made (selection can contain visible, invisible or both parts)?
Most of the time, i make a selection in the model browser and want to put a list of parts directly invisible. Sometimes i also select already invisble parts.
Now what inventor wants to do is make them all first visible before i can make them invisible. As far as i know, there is no other option to do this.
Is there maybe a combination with holding shift or something to directly toggle them invisible?
We are using Inventor 2012 and would like to read Solidworks 2012 files directly into the system. This can be done with Solidworks 2011 files but our vendor upgraded his software between the time he sent us test files to try the import and now. Can you tell me if the is a plug in or something that will allow us to read SW 2012 files or should we upgrade to Inventor 2013?
MS Access database that can export Family Tables? Or knows of a 3rd party application that all the type information can be houses in a database, and the family table's TXT is just an export. The family tables we create are nemorus, and lengthly family tabels, and Excel just is not cutting the mustard.