AutoCAD Inventor :: Using VBA To Access Attributes

Oct 7, 2011

My company has an excel program that extracts data from AutoCAD title blocks, processes it, turns it into printable spradsheet BOM's, and uploads the data to our ERP software.  We're currently starting a transition form AutoCAD to Inventor.  I've been asked to figure out how to make our excel program work with Inventor. 

I'm hoping (but not expecting) to be able to change some lines around in the section that deals with extracting data and get it to work that way. I'm pretty sure of what needs to change, but I'm not so sure what it needs to change to. Does anyone know of any resources that someone who just started programming a couple weeks ago (me) could look at to learn more about how Inventor interfaces with VBA?

The other possible route I see is to export drawings from Inventor into AutoCAD.

The excel program reads block attributes. I've read that Inventor's version of attributes is prompted entry text, however, when I export Inventor drawings with prompted entry text lines that match the attribute lines from the old AutoCAD block they come in different.  They're not editable inside of AutoCAD and the excel program doesn't see them.  I haven't the slightest idea what's happening here.

A third way would be to use Inventor's iProperties, but there again, I don't know where to find information for the coding side.

View 5 Replies


ADVERTISEMENT

AutoCAD Inventor :: Internet Access Is Required To Access

Apr 26, 2012

Just loaded 2013. Of course right away I get an error. "Internet access is required to access the Help" Well as you can see I have internet access.

View 4 Replies View Related

AutoCAD Map 3D :: Adding Attributes To Line - So Attributes Can Be Viewed In GIS (ArcMap)

Nov 17, 2011

I'm working on setting up a process where I can bring AutoCAD drawings into GIS.  I need to assign an attribute to a Polyline or Line so that the attributes can be viewed in GIS. I've noticed there is a way to convert AutoCAD to a SHP or SDP however I'm not familiar with this process.

View 1 Replies View Related

AutoCad 2D :: Rotate Block With Attributes - Messed Attributes

Jan 23, 2012

From the attached image you can see what I'm talking about.

(left=original, middle=ROTATE, right=PROPERTIES)

When I rotate blocks using ROTATE command everything is fine, but when I rotate blocks using PROPERTIES my attributes get messed.

I need to rotate several blocks at once with PROPERTIES, because I don't have time to rotate each one separately.

The same thing happens when scaling blocks, but this was resolved using the command BSCALE in the command line.

View 5 Replies View Related

AutoCAD Inventor :: Attributes On Border Definitions

Aug 23, 2013

I have been having trouble storing attributes on border definitions.  I have multiple borders which need to be used for different types of drawings.  I have developed a tool which will use the desired border pragmatically and it works as planned.  Currently the logic selects a border based on name, but since this can be edited by the user I need a more dependable way of retrieving a border.  I had thought attributes would be the answer, but I'm running into problems.  The attributes just won't stick.  I've tried to add them manually through the API and with the Attributes Helper tool released.

See below for the code I'm using to add the attributes

Dim oAttr As Inventor.Attribute Dim oAttrSet As AttributeSet Set oAttrSet = oBorderDef.AttributeSets.Add("TestAttributeSet", True) oAttrSet.Copy = True Set oAttr = oAttrSet.Add("TestAttribute", kIntegerType, 12345) Debug.Print oAttrSet.Parent.Parent.Name & " " & oAttrSet.Name & " " & oAttr.Name & " " & oAttr.Value

 It will print information leading me to believe that the attribute was added, but if I try to retrieve it either through the attributemanager or manually cycling through the border definitions no attributes exist.

View 4 Replies View Related

AutoCAD Inventor :: Appearances Attributes In Library

Nov 15, 2013

Is it possible to save an attribute to an appearance then save it to a library? I would like to store some finish data that can be accessed later from the api. I can apply the attribute to all the necessary renderstlyes and use the SaveToGlobal() method. It seems to work great in the part the program is run from, but when I go to the next part and apply the same appearance it does not contain the new attribute. I have also tried creating a copy of the appearance in the document then save that to the library, but any appearances that I edit or create programmatically will not save to the library even if manually drag it within the appearance editor. My project show the material and appearance libraries set to read/write and if I create an appearance thought the editor I can move it to the library without any problems, it's only the items created/modified through the api that will not move. I am running Inventor 2013 SP2.

View 2 Replies View Related

AutoCAD Inventor :: Removing Attributes From An Assembly

May 28, 2012

I'm making a site layout that brings together a bunch of large file assemblies and it's bogging my computer down, 

so what I'm trying to do is remove the attributes from the assemblies and make it a block with no moving parts(hope this makes sense). I just need it to look like the parts.

View 4 Replies View Related

AutoCAD Inventor :: BURST Attributes When Exporting To DWG

Feb 11, 2013

Is there a way to burst all Inventor sketch-symbols and titleblocks into plain text upon exporting (from Inventor to Autocad DWG format)?

iLogic, api, xml ?

Our biggest supplier still uses Autocad DWG format and needs to access theses attributes in plain text (scripting stuff). The only work-around, we have found is to re-open each exported files and burst these manually

--- extremely time consuming and not acceptable ---

View 4 Replies View Related

AutoCAD Inventor :: IProperty Access With C#

Aug 10, 2012

I am trying to write a small standalone app in C# that I can run when I have an assembly document open. I want the app to iterate through all the parts in the assembly and set the iproperties. I am having some trouble accessing the iproperties however.

I want (for example) to set the "TITLE" in the "DOCUMENT SUMMARY INFORMATION" to be a concatenation of the part number and the description separated by a " - ".how to access these properties.

View 1 Replies View Related

AutoCAD Inventor :: Can't Access FEA In 2013

Jun 18, 2012

I am using inventor 2013 and have a very large assembly consisting of many sub assemblies and I want to perform a FEA on it. I went to the tutorials to see where to find it and it said it is under "Environments" on my ribbon. However, I can't find it anywhere. How do I access it?

View 6 Replies View Related

AutoCAD Inventor :: Drawing Template Model Attributes?

Nov 29, 2012

Is there a way to have a part, which is a part of a larger assembly, get the title, subject, etc. from its parent assembly? I have my template set to use the "Title" property in my title block but I'd like each individual part drawing to pull that "title" from the assembly, not from the part itself.

View 6 Replies View Related

AutoCAD Inventor :: How To Access File Embedded In IDW Via VBA

Sep 3, 2012

Is there any way you can access an AutoCAD file embedded in an IDW by using VBA?I have an IDW with about 100 sheets; it would like to control which file is embedded in each of the sheets.

The best would be to use linked files but I do not know how to make certain files visible on certain sheets.

View 8 Replies View Related

AutoCAD Inventor :: Can't Access Content Centre

Nov 21, 2013

For a while now whenever I open a new assembly the default is place from content centre, I use the drop-down and select place.

Today I needed place from content centre and it just doesn't come up.

It is loaded/automatic in the addins.

If I open my projects, in the bottom right corner where I would usually click to acess my installed libraries, I click but it does nothing!

I also noticed studio and BIM are greyed out, but I have started to play with Showcase so not really a problem. I need to set up a read/write library soon, so it's going to be a problem.

View 9 Replies View Related

AutoCAD Inventor :: How To Setup Access On Library

Nov 20, 2013

I was put in charge of modifying The commun library of our content center. Later today, i found out that one of our draftmen played around our library and modifying some of the preset that i setup.

My question is: What can be done to limit access (Putting it at Read-only) to certain library for certain users without limiting my own access?

Also, I'm pretty sure its not possible but ill ask anyway, is it possible to know who modify those library and when?

I'm using Vault
Inventor Version: 2014 SP1
Config : Intel (R) Xeon (R) CPU E5506 @ 2.13 GHz, 24 GB, 64bit win7

View 2 Replies View Related

AutoCAD Inventor :: Access To Save As Screen

Sep 9, 2013

I have a problem for code files in inventor, my intention is codify this files whit a personal code name.

I need to launch the "SAVE AS" changing the file name that I need, with the possibility of modifying it.

ThisApplication.CommandManager.ControlDefinitions.Item ("AppFileNewCmd"). Execute

Works smoothly and launches the open document window, but

ThisApplication.CommandManager.ControlDefinitions.Item ("AppFileSaveAsCmd"). Execute

does nothing, either fails. At the same time would need to know how to rename the file to display.

View 3 Replies View Related

AutoCAD Inventor :: Access CenterMarks In Specified View

Mar 27, 2013

I have a model with two Workpoints and have to automatically create a dimension for these workpoints in a drawing.

The drawing has two views, a basic view and a section view.

The dimension of the workpoints has to be in the section view.

When doing this by hand, I would select the section view in the model browser, select the view's model, and then select the models centermarks and make them visible in only this view. After this I can select the CenterMarks for the dimension command.

When I look at the API, the workPoints are represented inside the drawing as CenterMarks, but the CenterMarks are children of the sheet and not children of a view !

And there are only two CenterMarks on the sheet, when I manually can select four (two in each of the views).

How can I programmatically access the centerMarks in a specified view ?

View 2 Replies View Related

AutoCAD Inventor :: Access To Save As Screen?

Sep 9, 2013

I have a problem for code files in inventor, my intention is codify this files whit a personal code name.

I need to launch the "SAVE AS" changing the file name that I need, with the possibility of modifying it.

ThisApplication.CommandManager.ControlDefinitions.Item ("AppFileNewCmd"). Execute

Works smoothly and launches the open document window, but

ThisApplication.CommandManager.ControlDefinitions.Item ("AppFileSaveAsCmd"). Execute

does nothing, either fails. At the same time would need to know how to rename the file to display.

View 1 Replies View Related

AutoCAD Inventor :: AEC Exchange - How To Get Access To AEC (ABS) Properties

Aug 30, 2006

Is there a way to access AEC-data (connection properties etc) using the SDK?

View 1 Replies View Related

AutoCAD Inventor :: How To Access The Form From Assembly

Apr 22, 2013

I made a model that can be adjusted by using a ilogic form.

This alters the parameters in my "master" part & then changes my part in my assembly.

Problem: the form is located in my "master" part is there a way to access the form from my assembly?

Inventor 2013

View 9 Replies View Related

AutoCAD Inventor :: Access Assembly Features Through ILogic

Nov 19, 2012

I'm now having an issue accessing the features in an assembly, the error message is attached and the following is the relative code.

The error line is between the 2 Test Messages:

'Create a Component Definition relative to the Part Document

Dim oFeature As Features
Dim oAssembly As AssemblyDocument
oAssembly = oCompOcc.Definition.Document
MsgBox("Test 1")

'Cycle through all features in the Part
For Each oFeature In oAssembly.ComponentDefinition.Features
MsgBox("Test 2")

View 3 Replies View Related

AutoCAD Inventor :: Quick Access Toolbar Display?

Jul 3, 2012

I have a user who's QA Toolbar is so light it is hard to see. I have tried to adjust all of his settings and it still looks washed out like it is faded back. Like it does for the inactive icons but with all of them yet lighter...

View 3 Replies View Related

AutoCAD Inventor :: ILogic Access To Filename IProperty

Oct 13, 2011

I am trying to use the iProperties.Value("part1", "Summary", "iProperty") function to get the filename or complete filepath of a component within a subassembly. I know that these iProperties exist because I can insert them onto a drawing, and I see them in the general tab of the iProperty window.

However, when I try something like:

filename = iProperties.Value("part1", "General", "Filename")

I get an error message indicating that the General tab can't be found. How might I go about getting this filename iProperty, or is there an easier way?

View 4 Replies View Related

AutoCAD Inventor :: Access Application Options Through ILogic?

Feb 10, 2012

I am new to iLogic and trying to access the "Application Options" under the "Tools" tab. I am trying to grab some information from a couple of fields but it seems that I don't have the right coding or Snippets that indicate how I would do so.

View 3 Replies View Related

AutoCAD Inventor :: Access Objects Available To Select Other Command

Jun 20, 2013

I am writing an add-in for Inventor 2010 where I need to get the list of entities/objects that are available through Inventor's "Select Other" functionality via the user Interface. I have looked through the list of selection tools in the API and none of them seem on the surface to be what I need.

View 3 Replies View Related

AutoCAD Inventor :: Access Part Parameter From Assembly?

May 26, 2013

There is a part with a model parameter in an assembly.

Is there a way to access the part's parameter from within the assembly?

View 5 Replies View Related

AutoCAD Inventor :: Remote Vault User Access

Apr 11, 2012

I have a question regarding Vault. We are using Vault Collaboration 2012 and as of lately we have a user who live in a different county who is going work for us. We are 3 local users who sit locally and 1 user who going to connect remotely to us.

What is the best way to accomplish this, so he can get access to our projects and library’s, from where he is working?

View 1 Replies View Related

AutoCAD Inventor :: How To Access And Get Details Of Ipart Table

Apr 24, 2012

How can i access and get details of ipart Table. Even if i want to modify are there any chances of doing them

View 2 Replies View Related

AutoCAD Inventor :: Access Sketches And Features Information

Jun 23, 2012

- when modelling a part file in Inventor, only the dimensions we set (dimensions we give a name and a value), are listed in the parameters table. This way, its possible to export the information listed in that table. 

- the information listed in the parameters table is based on sketches and features dimensions, as obvious.

So , my question is: is it possible to access the information (dimension values) contained in a feature (or a sketch) without setting a specific name or value to it?

For example, in the attached pictures, if a rectangular form is drawn and the dimensions are sett, these will be listed in the parameters table (see attached  "pic1" and "pic1 - params").

But, in the other hand, if the same rectangular form is drawn, but this time without setting any dimension, the parameters table will be empty, obviously (see attached  "pic2").

After this, i can surely presume that Inventor saves or keeps this information somehow, somewhere, without having to set dimensions or values.

So, my question is: is it possible to access sketches and/or features information without setting this values?

View 6 Replies View Related

AutoCAD Inventor :: Getting Data From Access Database Using ILogic

Aug 2, 2010

I have a program that populates an access database with part parameters. Each Inventor part can look up its own parameter values from the database when supplied with a single parameter, the ID number of the database record. The ID number is derived from a blank part that the program also updates. So in a nut shell, the program populates the blank part's parameters with all database ID numbers that would make up entire assembly. Those parameter values are derived to all the parts in an assembly. This is by far the fastest most efficient way I've found to rapidly generate an entire assembly. In a matter of seconds I can have a new 1000+ part assembly.

 The rumor that Inventor will eventually sever ties with VBA has put this whole process in jeopardy. So I have been looking into using iLogic to perform the same task of looking up the data from Access. I know that iLogic has Excel functions built into it, but because the original program is Access based (changes this is not an option) any way to use iLogic to retrieve data from Access.

View 4 Replies View Related

AutoCAD Inventor :: Access Violation - No RTTI Data

May 22, 2013

I was working on a machine today and an error came up Access violation-no RTTI data! I have never seen this before and now no matter what assembly in any project I open the software is having a lot of problems. When it open the main assembly I cannot open a part or an assembly in the main assembly. I have tried to get support on my subscription but it just sits there and says processing. I am down and cannot afford to sit here.

View 7 Replies View Related

AutoCAD Inventor :: 2014 Quick Access Resets?

Jun 5, 2013

I am able to customize my quick access toolbar in Inventor 2014; however, when I close Inventor and re-open it again the quick access toolbar has been reset to what it was before. For example I will add "open from vault" and/or "iProperties"  options to the QA toolbar but when I re-open Inventor I have to add them all over again.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved