AutoCAD Inventor :: Get Excel Bom Template In Drawing?
Aug 22, 2012
i am having a BOM template for the parametric modelling i have created using the excel sheet input link.
when i create the drawing from the model the default Bom part list is coming, instead of that i need to get the Excel Bom Template i have created based on the input excel link.
How do you embed (not link) an excel spread sheet into my sheet metal template.
The excel file is simple, 2 rows listing the A1=gauge and B1= decimal equivalent.
What I want to do with this is to get the gauge to show up in the iProperties description along with length and width of part. The thing is I need column A to show up in the iProperties (12GA) but column B to be used for the sheet metal default thickness.
I keep getting this error when I run my code.
Error in rule: Gauge, in document: Part1
GoExcel: 3rd Party worksheet not found: "3rd Party:Embedding 1", Sheet: "Sheet1"
I have created an iLogic panel which allows me to control my revision a lot easier and puts my entered data into the parameters of the sheet itself, is there a way to have this show up on the drawing itself for a template?
Setting up a tabulated ipart drawing template. Which is better...one drawing file with a table or individual drawings for each tabulation? Also does one method work better than the other when introducing vault?
I've recently made a new drawing template with ilogic prompts for entering data for all fields within the template. It also sets view sizes etc. I have lots of master drawings, which are reused when sizes etc change for a contract, which i would like to transfer to this new template. Drawing Resource Transfer Wizard does not offer this function.
I could get all drawings in a folder copied to specific sheet size on the master template.As the template will probably be developed further in the future I'm very loathed to do this take manually.
I'm linking an excel file to an .ipt file with iLogic code determining if the Material type is a certian value it will find the correct material thickness. These file work great when working on them thru Vault but when I "Save As Template" and create this file where our other template files are located (not Vault) this fuction does not work. I have realized that I had to place the a copy of the excel file in the same file folder as the template ipt, but even this does not fix the issue.
I recieve this error:
Error in rule: Material, in document: Part6
'MWW Materials (Inventor).xlsx' could not be found. Check the spelling of the file name, and verify that the file location is correct.
If you are trying to open the file from your list of most recently used files, make sure that the file has not been renamed, moved, or deleted.
It seems completly countintutive that just saving the file as a template file would cause this not to work when all files that are required are located in the same file folder. Maybe I need a reference to the excel document within the iLogic code.
When editing the Title Box in a Drawing Template and attempting to insert a LOGO (bmp file) the logo file justs show an icon for the Logo and not the Logo
On my company's default drawing template, I have a text block on there with some drawing notes. We often edit some of the notes on the end at each drawing so I didn't create it on the "title block" layer, rather it's on the "top" layer. I also added (in the template) a revision table with Rev. A being "Released for Production" (because we are weird). How can I constrain those on the sheet so when I change sheet size, they stay in the same position relative to the corners of the sheet?
i use Inventor 2012 and Vault Collaboration 2012, and I often find drawing template cannot be open. with error message The template file is open. Please close it and try again
We are going to be using autodesk vault and it is my understanding that vault searches the iproperties defined in inventor documents. Is there a preferred way to set up the iproperties in the part, assy and drawing environments.
If I do a search in vault and the iproperty is only defined in the drawing, the main search results will only give me the drawing(s) and I will have to show dependencies to find the associated model or assy, right. If I define the iproperty in the part, model and drawing I will have to fill in the value of the iproperty possibly in three places. If filling in the value in three places is preferred is there an easier way to fill out the values.
I`m trying to insert an excel spread sheet in to inventor drawing, for some reason inventor cuts off 2 last rows. Is there a limit of how many rows can be inserted ?
I made iLogic for assembly and drawing, now i want to update drawing template parameters thru ilogic, as i already linked Fx(parameters) & iProperties to Template, but for updating template i need to close file and open again that file,
currently m using this method.
What is the solution for updating drawing template (like Model Description, Drawing no.).
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.
I have updated our Company TB and Border and was now working with the Line weights of our layers. I placed our TB into the directory so when we do File -> New, we can select our TB. My problem is when I open it up, I get an error dialog box about a Conflict Styles (error shown below). Where exactly do I save our Library styles so that when I open up our TB, my pre-selected lineweights, layers, etc... load up?
I customer sent me a drawing template I need to use to submit a drawing to them. It is a ProE template which has a file extension of .frm.1 How to open this file extension and use it using either Autodesk Inventor or AutoCad?
I created a drawing template, saved on companies common drive, not local. When I created it I also created BOM to be filtered for certain iproperties. When I go "new" and open a new drawing file from the template I get the message about the style conflict and when open BOM in a new drawing I get default columns not the columns I set up in iproperties.
What is the process of setting up/changing styles?
I'm trying to automate the drawing-creation in our company. Steps I've taken:
- create new drawingdocument with template - Save new drawingdocument
Problem: Creation of new document works, but the next step, saving it to a specific location, fails. Error handler is initiated and displays error: Invalid procedure call or argument.
Used
Dim DXF_DWG as DrawingDocument'Create new drawing based on templateSet DXF_DWG = ThisApplication.Documents.Add(DocumentTypeEnum.kDrawingDocumentObject, ThisApplication.FileOptions.TemplatesPath & "Folded and Flatpattern DXF.dwg", True) 'Save new drawing to specific locationCall DXF_DWG.SaveAs("C:TempTest.dwg", False)
As told, the VB-code raises an error on the last command. What am I doing wrong? What are the correct steps in VBA to create a new drawing document based on a template and save the newly created drawing to a desired location?
Is there a way to pin or standardize where a revision table is located in a drawing?
I have a title-block set up and would like a revision table either embedded or populated upon command, just above my title-block. It would also need to extend upward with additional revisions...
I have some code to replace the current title block with a title block from a template file. I just don't like how it adds a new title block definition named "copy of titleblock". I'd like to delete or replace the current title block definition so only the newly added one is listed.
Sub test() Dim odrawdoc As DrawingDocument Set odrawdoc = ThisApplication.ActiveDocument If (odrawdoc.DocumentType <> kDrawingDocumentObject) Then Exit Sub Dim oTemplate As DrawingDocument Dim oSourceTitleBlockDef As TitleBlockDefinition Dim oNewTitleBlockDef As TitleBlockDefinition Dim oSheet As Sheet Set oTemplate = ThisApplication.Documents.Open(ThisApplication.FileOptions.TemplatesPath & "template.idw", False) Set oSourceTitleBlockDef = oTemplate.ActiveSheet.TitleBlock.Definition Set oNewTitleBlockDef = oSourceTitleBlockDef.CopyTo(odrawdoc) ' Iterate through the sheets. For Each oSheet In odrawdoc.Sheets oSheet.Activate oSheet.TitleBlock.Delete Call oSheet.AddTitleBlock(oNewTitleBlockDef) Next oTemplate.CloseEnd Sub
I'm just being picky at this point, but I don't want a buildup of title block definitions. We reuse drawings all the time which is why a simple method of updating a title block would be nice. I can just imagine in some years time after a title block update or two there are 20 "copy of copy of copy of .................. titleblock" listed in a drawing file.
Is there a way that we can set the view label in the style library to show custom/user Properties?
We have set our iam/ipt templates to have some custom properties which we wish to display in the view label when the view is created however there this no way to add these properties to the label.
I find this a little strange as you can add these user Properties to the parts list in the style library? (I've added some screen caps to show what I am talking about)
Any way I can import data from an excel file in a predetermined range but variable workbook and sheet. For instance, in Station5.dwg I access cells B4:C15 on sheet STA-5 on workbook TerminalA.xls and then in Station6.dwg I access cells B4:C15 on sheet STA-6 on workbook TerminalA.xls, but all through just rerouting the sheet just as if I were to reroute an xref with the same scale and insertion point.
I'm trying to avoid a continual copy/paste of OLEs for each .dwg because I will have an average of 5 ranges to import from each sheet, of an average of 7 sheets per workbook, of an estimated 220 workbooks to work through. (7,700 ranges estimated so far is a lot of work).
Recently I have been trying to build table driven products and ipart tables, but when I copy a member to create a new part number, upon exiting the iassembly author I get the following message "excel installation is required for this operation. failed to launch excel". I have a fully functional version of 2010 Excel installed which has been used so it should be recognized in the windows registry. I am running Windows 8 and Autodesk Inventor 2014.