AutoCAD Inventor :: Use Template To Start New IDW File
Aug 8, 2013
I am having problems with my drawing template, I can make changes no problem, but when I use the template to start a new idw file the changes are not in place.
For example; view preferences, I want to work in third angle, I have this selected on the template but each time I start a new idw I have to change it from 1st angle.
e.g. 2; sheet size, I changed it from text to a drawing property, but it doesn't change when I edit the sheet size.
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.
I included a VB code in our drawing template, but then I get the "Warning: You have a non-empty VBA project.." message. If I copy the code into iLogic, I just get an error message. Why it runs fine as a separate macro, but doesn´t work in Inventor, or how I can include the code into the template? URL....
I made some changes to our normal template file for inventor and saved it to my hard drive in the public folder. When i open through windows explorer its fine and everything is correct. When i open a new idw and select this file through inventor it comes in with some of the tables having different size text and none of my leaders coming in.
I have been trying to export a 2013 Inventor idw file as a 2010 AutoCAD dwg file.
I use to be able to do this without any issues however I am getting the following error message which prevents me from exporting the file.
"Could not open the DWG template file. Please check the path and try again."
I am using 2013 Inventor Pro.
This export feature use to work fine when I used 2012 Inventor Pro. however when i try to do the same from 2012 I get the same error message.
I have checked the default templates file path in the Aplications Option menu and I have tried to set a default in the AutoCAD template file option under the export destination setting under the save Copy As function.
When I try to do a make components I get this error "Could not open default template file." All the Standard.xxx files are the designated folder and named appropriately. Plus I just used this command earlier today. I did do a "rebuild all" but I'm not 100% sure the problem came directly after that.
I recently update the template for my drawing files, change the title block, revision, note....and I can't find a clean way to import this template to the existing files. I tried the Drawing resource transfer wizard tool, but it doesn't seem to be doing anything that I want.
I've been very dissapointed with the 'new file' dialog box in inventor 2013 as it takes far too long to open and navigate. I was wondering if there is a way to add a link to a few drawing template files either to the ribbon or the quick access tool bar so i can avoid using the 'new file' dialog box.
When I start a new document or open a file in Inventor, I get a pop up saying: "Cannot read texture image C:UseerspublicDocumentsAutodeskInventor 2011TexturesChrome.dds" I moved the whole Autodesk file and changed all paths under settings>files in Inventor. The new path to Chrome.dds is C:UsersKajDocumentsAutodeskInventor 2011TexturesChrome.dds
I have been searching for a macro to export the start and end point of a line coordinates to excel, but I can only find information on how to export 3D Points.
Is it possible to program a macro that allows me to export the start and end point of various lines in a sketch?
The objective of this is to connect an excel file which is updated when I create a line with it correspondent points, then i could not only import these x,y,z coordinates from excel to inventor but I whould be able to update my spreedsheet whenever I change my sketch.
We just installed the new version of 2012 Product Design Suite. I've spend many hours creating great little ilogic dialog boxes to populate iproperty fields using custom iproperties and then automatically place this data on the .idw file when the view is placed on the new drawing. All works great when the part is created with my new 2012 part template and then placed on my new 2012 idw template. The trouble is with parts that were created with 2011 Inventor. Obviously, the old template does not have the ilogic data built into it. Is there a way to upgrade/migrate the part template file from 2011 to 2012 on an existing part?
I think I'm asking for a miracle here, but I have an assembly with 40-50 parts that I created in 2011 and now need to build the idw files for them and would really like to be able have the customized iproperties added to the existing part files.
I am trying to create an iLogic (or VB) rule to update an active drawing title blocks from our Template File.I don't want to use any of the external software (Transfer Wizard etc), we just need a simple rule that will update the title blocks when we need to.
I'm trying to start Excel and show the results of some BOM items I have written to a file like item number, part number and description.The task is to find components in an assembly that have a part number longer then 39 characters, due to ERP limitations.
What I´m doing is cycling through all BOM (structured) items on first level and check if the part number is longer then 39 characters.
I write these item number, part number, description to an Excel file (temp.xlsx), so the user sees which Components he has to check for the Part Number (make it shorter). I figured it would be best to do that with an excel file, so the user can save the results to a new file or just check it.
Values will be erased from the temporary excel file afterwards.Here I can't figure out how to start the excel application and open the file in an actual application window if possible.
how to list the results with plain iLogic that would do it too or some other solution to list a snapshot from the BOM.I guess there is no way to add your custom BOMViews ?
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.
I have been using the nine chapter thumbnail DVD menu template. I saw that the start position for each thumbnail could be manually adjusted. So, taking some time, I adjusted each of the nine thumbnails to a suitable frame of the corresponding clip. It worked fine as long as I burned the DVD immediately afterwards. However, if I closed the menu dialogue, all clips reverted to frame 1.
Surely the positions should be saved as are all of the other edits one does to a menu. Not only was this frustrating, it means that one cannot go back and easily burn another DVD from the same project.
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?
How can you use a template file from your personal files to use it in an already existing .dwg file.
I knwo how to do it if I start the drawing from scratch and I select that template, but I want to put this existing drawing into my personal template file from my documents.
When I first installed Adobe Photoshop CS6 I was unable to run Photoshop or Bridge CS6. Photoshop would give me an error about "could not open a scratch file because the file is locked. If I ran either of these programs as an administrator they would run without issue, this led me to believe that there was a permission issue somewhere. After some digging I found out the both Bridge and Photoshop try to create a temp file (similiar to Photoshop Temp2777223910092) on the c: drive of the computer. In my case the user that I was logged in with did not have access to write to the root of the C: drive. Note that you run the program as the administrator and change the scratch disk location as that changes the preference for the administrator user and not the user that you are currently logged in as.
I first had to give the user that I was logged on with write permissions to the root of the C: drive. Next try and run Photoshop, you will get an error another error about the scratch disk and about and invalid or missing setting file. To correct this you need to have run Photoshop as an administrator, next you can go to Users AdminAppDataRoamingAdobeAdobe Photoshop CS6Adobe Photoshop CS6 Settings and copy Adobe Photoshop CS6 Prefs and/or Adobe Photoshop X64 CS6 Prefs to Users<your logged in username>AppDataRoamingAdobeAdobe Photoshop CS6.Adobe Photoshop CS6 Settings.
Currently have a template setup which we use and when everything is erased, purged, audited etc and the file literally cannot be purged any more the filesize is still 10mb.
There however several hundred items in the "Blocks" section of the purge dialogue box under "View items you cannot purge"..how do you get rid of these?
we have files containing hardly anything which are 20mb and empty files which are 10mb,
Is it a good practice to have several WMS connections already connected to the provider in our standard "dwt" template file? Will this affect the speed or performance of a drawing?
Current development env: AutoCAD 2012, VS 2010, ObjectARX.Net (2012)
My target: in AutoCAD pops a dialog, select filename (related to our internal projects) string, then it will create a DWG file from a template DWT file. Then some operation like insert elements into the DWG file and then SAVE (with the filename assigned).
Here is the code I currently implemented:
class DWGWritter { const string TemplateFile = @"C: empMyTemplate.dwt";
[Code]....
Well it doesn't work on either of #1-4
#1 give out "eFileInternalErr" exception, which I found the answer - you can't call save() if it's open from exist file
#2 works ... but it just save the contents we write to the database but won't save template file contents, ie. we have put in layers inside the template file but they doesn't save to the new file
#3 give out "drawing is busy" error, no clue why it's "busy" ...
I have a company template file with standard layers that I need to match the layer properties of with a drawing I have already created. How do I do this?
Is there a way to set the default template for new file creation? I made a template file but it keeps defaulting to another location for templates. As a matter of fact, I would love for it to not even ask me what template file I want to use, I just want it to use the one I made.