AutoCAD Inventor :: WriteDataToFile Outputs Incorrect Drawing Sheet Titles While Writing To DWF
Apr 26, 2013
I created a Multi Sheet drawing file.(.idw)While the file to DWF format with WriteDataToFile, the Title Block shows wrong Sheet number.For a 5 Sheet drawing, the output DWF files contain following Titles:
1 of 2
2 of 3
3 of 4
4 of 5
5 of 5
Whereas expected titles should be:
1 of 5
2 of 5
3 of 5
4 of 5
5 of 5
Interestingly, if I create a multisheet Drawing and Activate all sheets one by one before saving it.The DWF files outputted show correct Titles.Hence in the first case, I used Activate() on all sheets before writing them with WriteDataToFile. But could not get correct Titles.
After having a formed sheet metal part finish the wrong size (.100" long on all sides), I discovered a glitch with the sheet metal flat patterns sizes being.
I created two identical parts, one in IV2013 and one in IVP2014, and came up with two different flat patterns. The two parts are 100% identical. The volume is identical for both, and I did an assembly overlay to double check (everything lined up perfect). However, the flat pattern on the IV2014 part was 0.130" shy of what it should be (total length in both directions).
I haven't been able to recreate this (happened with this part and with a different part that we had formed), but you shouldn't ever have to worry about something like this. I created the same part in 2014 for a second time from scratch and it then came out to the correct dimensions, which worries me even more that this is an intermittent problem.
The JUNK file is the one with the incorrect length.
Also, another IVP2014 issue I have been having is when saving a drawing as an AutoCAD drawing it saves it as a 2013 AutoCAD in a zip file instead of a 2007 as a normal file like I have it set up to. If I click "Options" when saving, then click cancel without selecting anything, it saves it correctly.
I'm using Inventor 2013. I created an assembly where I did a lot of top down modeling (meaning components in the assembly were created in the assembly. All but a handful of the components are adaptive to other components). When I went to make my drawings for having the components made, I started noticing that some of the dimension values were wrong. I could go into the model and verify the features, but when dimensioning on the drawing it would not match. Furthermore, this didn't occur on every dimmension on the drawing. Not even half of them were incorrect, but it only takes one to really mess up a part.
I've attached a screen shot of what I'm seeing. The 15.2 and 5 dimmension are correct, but obviously those don't add up to 31.37. I know I can manually override this dimmension, but only if I know to do it. I tried to do a drawing of another part in the same assembly and eventually found a similar problem.
Finally, I created a step file of the 1st part (to strip away the adaptivity) and when I created the drawing again, the problem went away.
My question is, is there something I did in the assembly / creation process that would have caused this?
I have an older drawing with an outdated sheet format. I'm wanting to update to a new custom sheet format without having to redimension and recreate views. Is it possible to just update the sheet format?
I have a dwg file with three sheets in, just default names, I can access sheets 2 and 3 but get the attached errors when trying to access sheet 1 form either sheet 2 or 3
This file was originally created in IV2009 I've had no problems then or with the various conversions of it.
It seems to be memory related so here's the sitrep as for memory 8GB DDR2 RAM, and Virtual Memory set at min of 8192MB and a Max of 16384MB, I did have it set a systems managed but that gave a warning of low virtual memory with almost every drawing file that I opened.
Is there a way to change the color of sheet set titles and call outs so that the text is not obsured by a 50% grey box? Maybe make the grey a bit darker so the text can stand out..
Our text is yellow and it can be hard to read above the grey...
I'm rebuilding the primary project template folder for my company. This folder contains a variety of drawings linked together using Xrefs and such. I'm setting up sheet sets in the plotting of these sheets.
I'm working with 15 different drawings and setting up 130 sheet sets that will each plot 1 layout from each of these 15 drawings. All of the drawings have the same layout names (A1, B1, C1,...,Z5). So, for example, the A1 layout from all 15 drawings is 1 sheet set.
When a new project is started, the template folder is copied and renamed. A known issue is that this new project still links all of the Xrefs back to the original template folder's DWGs. We use a script plus the 'Redir" command to update the Xref paths.
Now I'm noticing that the Sheet sets I've setup are having the same behavior, and I can't seem to find a way to quickly fix the file path of 130 sheet sets with 15 sheets per set.
Also, any faster way to setup the sheet sets I've described above other then individually adding layouts to their respective sheet set. I was hoping there would be a batch type method given that all the layouts have standard names.
Does it possible to have two different view Titles in the same sheet? I have different room elevations which I need to show the drawing number, the view name and in place of the scale will be the room number; the overall views will have a view title with sheet reference.
You can't copy a sheet within a drawing to duplicate it. So, as a workaround, I saved a copy of the drawing to a different name and tried to copy a sheet back. Pick the view in the browser, right click, copy. Switch to the original drawing, right click paste in the browser. All I keep getting is an error "Invalid input for Request." I even think I remember getting this error before and finding a way around it.
1.) If you look at the attached screenshot in the Edit Sheet form there is a sheet "Revision" input field is it possible to fill this out via iLogic?
2.) We have some custom E size sheets (height always 34in width varies 5ft, 6ft, and 8ft) when we select on of these sheet sizes that we created it will display "Custom Size (inch)" when using the sheet property <sheet size> in the title block not the name of that we gave these sheets (Which creatively enough is "E-5ft", "E-6ft", and "E-8ft"). I thought I had this solved by doing this:
Dim oSheetSize As String oSheetSize = ActiveSheet.Size If oSheetSize = "Custom" Then iProperties.Value("Custom", "SheetSize") = "E" Else iProperties.Value("Custom", "SheetSize") = oSheetSize End If
then change the titleblock sheet size field from sheet property <sheet size> to custom drawing properties <SheetSize> this all works great if there is only 1 sheet in the IDW where it fails is if there is more then one sheet.
I have a complex part and make a drawing. i want to make sections and details and to put some of them in another sheet in the same file. Also, can i put the hole table in another sheet?
Is there a way, using VBA to get the sheet size of a drawing without opening the drawing? I know how to get it with the drawing open, so alternatively, is there a way to open all the drawings in a folder, one at a time, then get sheet.size, then close and open the next?
We have a lot of drawing that has some extra sheet for ref. and Inventor let me exclude count and print from those extra sheet. This work fine but when we check-in the drawing to vault it update or publish all sheet to dwf. This is very compass for us because we full the dwf file from vault to release and the sheet count is different than the print out.
Is there a way to EXCLUDE those sheet when check-in or update dwf?
I am running inventor 2010 suite with service pack 2 and when I try to insert a JPEG or BMP into a Drawing Sheet (not a sketch on a part file), the image does not appear. I have done this on previous versions numerous times and it worked perfectly fine.
The message which appears on the screen says "TEMPEMBED.BMP" and it has a photoshop CS4 logo. When I do a print preview, nothing appears on the page. I have opened up a previous drawing sheet, which has a JPEG & BMP inserted and the image is shown, but when I try to insert another image on the same drawing sheet, the same thing happens.
I am running a pretty fast machine, with an intel i7 processor and a pretty hardcore graphic card.
I have setup all our Sheet Metal Rules to be all of our stocked in house sheet metals. The sheet metal rules are named like:
ALUM 5052 H32 1/2" (Part Number) ST STEEL T304 3/8" (Part Number) STEEL 44W 1/8" (Part Number) etc.
And each rule has the proper thickness, material, and some standardized bend radius's. I've done this to introduce more uniformity in our designs, and to also allow the designer to put as much information into the model as possible, so that if someone else does the drawings, there is no question as to which material is used.
I now want to bring in the Sheet Metal Rule name into the drawing automatically. I can't seem to find a way to reference the Sheet Metal Rule directly from the drawing. What I need to do is pick a standard field in the i Properties (I used Stock Number), and put in =<Sheet Metal Rule> so that now the Stock Number references the Sheet Metal Rule, and then in the drawing I can just reference the Stock Number, and it will come in.
I don't like having to use the Stock Number as a middle man though, as none of our existing models are setup like this. Is it possible to reference Sheet Metal Rule in the drawing without having to use another field as a placeholder for the information?
I have 4 different sized drawing templates made, one each for A,B,C and D size. There are times when I start a drawing on a C size border/sheet and it gets too cluttered as I add views or annotations. Is there any way to insert/change the sheet size to the D sized template without starting over?
I have created a bunch of sheet metal rules for my different gauge thicknesses. Is there a way I can propogate the gauge information to my drawing so that if I were to change the gauge, that info would also update on my drawing sheet? The only thing I can get to work currently is to pull in the material used, but that doesn't include the gauge.
Just trying to add an existing symbol to a drawing sheet. I know i'm not formating the point correctly and i get a position error. How can i get the point location of two intersecting lines in my border to hard code the location?
Error:
Error on Line 18 : Argument not specified for parameter 'Position' of 'Public Function Add(SketchedSymbolDefinition As Object, Position As Inventor.Point2d, [Rotation As Double = 0.0], [Scale As Double = 1.0], [PromptStrings As Object]) As Inventor.SketchedSymbol'.
Error on Line 18 : End of statement expected.
DimoApp As Inventor.Application=ThisApplication DimthisIDW As DrawingDocument=oApp.ActiveDocument oSheet=thisIDW.ActiveSheet DimoSymDef As SketchedSymbolDefinition oSymDef=thisIDW.SketchedSymbolDefinitions.Item("APPROVAL STAMP")myPoint=ThisApplication.TransientGeometry.CreatePoint2d(1, 6) oSheet.SketchedSymbols.Add(oSymDef) ,myPoint
What is the code to select a drawing sheet by either its number or description but NOT both together?
Sometimes want need to select the first sheet by number 1 but the sheet description can change. and Sometimes we will need to select the sheet by its description but the sheet number may vary.
how to access the drawing sheet revisions using Ilogic.My company is wanting to start making the default initial rev on a drawing a "-" and inventor does not like to keep this when brought in as a template.
So like normal I am trying to trick it into having the dash until a rev is actually added.
I have Autodesk Inventor on a student license, and I use the metric system.
I've been able to change the settings for parts, presentations and assemblies to use millimeters, but for some reason the drawing sheets still use inches.
How do I change the unit settings for drawing sheets?
How can I define a Point2D with my mouse by clicking on an random place in a drawingsheet?
I have made the code below that creates a DetailDrawingView automatic. I am now searching a method to select the oPoint & oCenterPoint with my mouse. Both are defined as Poin2D.
I find a lot a method's where you can manipulate the Point2D using maths but I never found a method where you can get the Point2D by just clicking somewhere on the sheet (drawingview).
Sub AutoDetailedView()' Set a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet. Dim oSheet As Sheet Set oSheet = oDrawDoc.ActiveSheet ' Manually select a drawing view Dim oDrawingView As DrawingView [Code] ........
How to reference the drawign sheet number using iLogic? I see on the snippets on the side a way to reference the sheet name, but I only want the number. To get the name it is ActiveSheet.Name, but ActiveSheet.Number does not work. Getting the name give something like ASSM:1, so if there was a way to take that and subtract the colon and everything before it that would work also. I am not a programmer, I've just taked some programs I found online and modified them a little to do what I want to do, but this is holding me back a bit.
Overall, I'm trying to modify the drawing view label to have a project number, referenced from the drawign iProperties, a view label, and sheet number, and then save that info in an iproperty of the part, and then reference that in the BOM so it automatically labels all of the views and fills out a column of the BOM to reference which page and view to find the parts of the assembly. I have everything working except for the sheet number.
Let's say I have two independent drawings one with a single part and 1 with an assembly + parts list containing the single part.
So I would like to have an item note on the drawing sheet with the single part referring to the assy drawing, part number & Quantity for this item in the parts list.
I'm trying to set up a company drawing sheet that requires the designer to select the sheet size before starting the drawing. Based on the drawing sheet size (A0, A1, A2, A3 & A4 all in landscape) the relevant company Title block will attach to the bottom right of the drawing border. I've manage to create the relevant forms for parts, sheet metal and assemblies.
Using ISO.idw template I created into a sheet a Sketch which contains a hatch. Now I want to delete that hatch and I don't find anywhere how to delete it.
The second problem is this: I want to create in multiple sheets the same drawing but with small differences. How to copy a drawing from a sheet to another sheet. I press right click on the first sheet and i press Copy but there's no Paste button.