shouldn't sheets marked as "exclude from count" not be counted?
I tried this in both 2013 and 2012 to see if maybe AutoDesk broke it, but it doesn't work in either one. This is easily reproducible for me, a file shouldn't be necessary. Just open up (or create) a multi sheet drawing. Go to edit sheet on one or two of them and check the "exclude form count" box. Now create a new iLogic rule and put the following line into it:
MsgBox("This is the number of sheets in the drawing: " & ThisDoc.Document.Sheets.Count, VBOkOnly, "Number of Sheets")
I am trying to get the PDF macro to be hard coded to print all the sheets in an idw. I added this line (guessed at code basically), but it didn't work. Where do I find what the correct syntax should be for this code?
Is there a way to assign different dimension styles to different sheets in an idw. I have idw drawings with several sheets and use a couple of different dimension styles depending on what is on each sheet. I've created the dimension styles I want to use but I don't know how to assign a dimension style to a specific sheet. For now what I am doing is dimensioning, then as needed for the dimensions that need a different style, right click on the dimension and select new dimension style to changes its dimension style. I would like to assign dimension styles to specific sheets, is there a way to do this? Even though borders, title blocks, etc. are the same throughout the sheets, do I need to create different sheet formats to do this?
I am trying to modify the code Brian Ekins posted on Mod the Machine to renumber balloons across sheets. [uRL ....
It works great unless the item on the additional sheet is a sub-assembly. I believe it is because PartDef is declared as a PartComponentDefinition and there is nothing in the code to handle an assembly.
Dim partDef As PartComponentDefinition Set partDef = drawBOMRow.BOMRow.ComponentDefinitions.Item(1) partInfo(I - 1).ReferencedFile = partDef.Document.FullFileName
The Set partDef line was giving me a runtime error when it came to an assembly in the BOM until I added
"On Error Resume Next" at the start of the loop.
I tried changing the declaration to ComponentDefinition. It compiled fine, but didn't do anything. I think I'll have to add some duplicate code to handle an assembly in the BOM. Is there a better way to do this? Am I even on the right track?
I am trying to control the layer visibility on different sheets of the same drawing but have not quite figured it out yet.
We add a DXF sheet to drawings with flat pattern views to export to DXF for our laser. I wrote a VBA macro that adds the sheet, copies the flat pattern view and removes the dimensions to clean it up before creating the DXF. I am having a problem turning off the visibility of the bend lines on JUST the DXF sheet. I can turn bend lines and hidden lines off with this:
'Turn off bend lines and hidden linesFor Each oView In oSheet.DrawingViews 'Set the layers collection Set oLayers = oDrawingDoc.StylesManager.Layers 'Turn off all bend lines and hidden lines For Each oLayer In oLayers If Not InStr(oLayer.Name, "Bend Centerline") = 0 Or Not InStr(oLayer.Name, "Hidden") = 0 Then oLayer.Visible = False Else End If Next Next
but it turns them off on all sheets. I want to only turn them off on the DXF sheet. How would this be done?
Inventor Professional 2014 64 Bit Windows 7 Professional NVIDIA Quadro FX 4600 Dual Intel Xeon E5540 CPUs 16GB DDR3 Ram
My requirement is i need a programme to print inventor sheets in to PDF by using PDF995. And this should be created each sheet will be seperate PDF.
It need to ask rev number. my file name should be like "filename-sheetnumberrevision", for ex 870525 is my drawing number. PDF file name should be 870525-01A
We often have drawings with multiple sheets.Usually the first couple of sheets are devoted to identifying components and where they should be placed. The remaining sheets provide details on specific components (dimensions, tolerances, etc.).
It would be nice to be able to reference (associatively) other sheets, so it is easy to find information on a component when looking through the drawing package. For example, add a note that says "See sheet 12", and have the 12 update if that sheet (or drawing view?) changes location in the package.
Any intelligent way of referencing the sheet with the parent view? E.g. i put a detail or section view on Sheet 2 from a parent view on Sheet 1 and want to reference from what sheet the view is taken from.
Im working on something just now but ran into a problem when a new sheet is added after one that is excluded from count.
What i need is to re sort the sheets in the browser so the excluded ones go to the end. Im thinking i would need to loop through the browser nodes somehow but the skills elude me.
I am trying to find an automated way to rename multiple sheets when creating Inventor drawings.
I have an Inventor assembly, and I need to create a drawing for each component in this assembly. I have one Inventor Drawing with multiple sheets in it. Each sheet is for each part in the assembly.
I would like to loop though each sheet and rename the sheet name to the Part number of the part. Is there a simple way to do this though i Logic? And how would I go about doing something like this?
Using bolted connection, I want to place a bolt through 3 sheets of metal. The first 2 sheets i want it to automatically place a slightly larger hole (which it does) but I want the 3rd sheet to be threaded so the bolt thread and hole thread are the same size.
Working in an idw file, I have a need for two drawing sheets with the identical views of the same part. However, each sheet will need different dimensions and annotations. What I would like to do is after completing one sheet, in one step create the second identical sheet, then just edit/add dimensions and annotations. Is there a method to do this? So far, I have only been able to copy one view at a time from sheet to sheet.
I have an assembly drawing made with 2 parts in it. I have the assembly drawing as Sheet 1 and each part also in the file as Sheet 2 and Sheet 3. What I have a problem with is that when I change or update the original files for Sheets 2 and 3 it doesn't update the sheets in the assembly drawing. Is there a way to keep these files connected. I need to have the standard sheets for filing and part designation, but when production call for the assembly to be needed, the assembly (Sheet1) with the Attached part drawings (Sheets 2 & 3) hit the production floor. Without them linked a mistake will be made. There are to many engineers in my department and we all make production changes to parts and if they are not linked bad things will happen. I am just trying this out, we have a lot of assemblies that will be great for the production if I can get all the part and assembly files to work together and print at the same time from on file.
I know there is a way with iLogic/VB to do this but I'm not exactly sure how. Basically, I'd like to put the part number from the base view (view 1) of SHEET 1 into my title block. Easy enough with one sheet, but I want subsequent sheets to reference back to the part number from VIEW 1 on SHEET 1, regardless of what sheet it is on.
Is there any easy way to have sheet name automatically pull the "description" iProperty from the part that is on the sheet? It can be very handy in a multi-sheet drawing for each sheet to have a descriptive name in the browser, but the only way to do this (that I know of) is to manually change it.
is it possible to do an individual revision table for multiple sheet drawings. if you typed in description 'sheet 3 nut changed from m3 to m5......etc' then all the bunf would carry over to every sheet
I've got a drawing that is 14"x12" and have a printer that can only handle 8.5 x 11 sheets. I need to print it out full scale because I plan on using the drawing to cut something out. In school, I have seen my teacher print the drawing across multiple sheets, and then he simply tapes the sheets together. I have tried every configuration possible and have had no success.
Is there a way, in my drawing template, to set one field as "Part Number iProperty from parent assembly on sheet 1 base view"? I want every single sheet in my .idw to reference the same "Part Number" iProperty from the assembly in the base view of sheet 1.
I need to rename the sheets of a multiple sheet idw. This should be easy but for some reason I cannot change the sheet names. I get no errors it just does not change. Here is the VBA
'Open drawing document
Set oDrawingDoc = ThisApplication.Documents.Open(sPath, True)
'Set the sheets collection Set oSheets = oDrawingDoc.Sheets 'Cycle through sheets For Each oSheet In oSheets [code]......
When I print multiple sheets from IDW to PDF by using the PDFAddIn Translator, the first 9 files are good - the rest have 0KB. Is there any way to correct?
I have made a drawing template with a title block that has iProperties of Type Drawing Properties, Property, Number of Sheets <Number of sheets> although not listed as a Parameter. Someone suggested that I tag it this way. Similar to what is described as on page 545 of Mastering Inventor 2012 By Curtis Waguespack. I can find the iProperties of the Sheet Number in the Model but I cannot find where to modify the input for the “of” field. Or where does The Format Text, Type Drawing Properties, Property, <Number of sheets>, field link to?
And or what is this Edit Property Fields, dialogue box for. I cannot change “edit” any of the fields. Is it just me or what?
I have an iLogic rule that automatically adds center lines to cylindrical elements and holes. It runs on save. Is there a way to
A) Make that rule loop through each sheet in the drawing file? Right now it loops through each view on the active sheet and I'm not sure how to get the total sheet count to make another loop for that. B) Is there a way I can conditionally check if the view is a flat pattern or not? I'd like to use an IF statement to exclude applying the center marks to the flat.
I'm trying to unskillfully crash my way through writing a VBA program for modifying Inventor drawing border info, and have managed through cannibalizing other programs to achieve 95% of what I wanted (ie the iproperties part).
Prompted Entries via VBA..I'd like to create a sync 'Prompted Entries' from sheet 1, across all sheets button.
The 4 prompted entry fields are always..I'd love some VBA code that could read the above 4 Prompted Entry values from Sheet:1 and then sync these values across multiple drawing sheets within one .idw file if more than one sheet was present.
So I have a topographic surface I created from 3 lofts and 2 patches. The goal of the project is to: find out how many rolls of fabric will be needed to cover the surface, find out how far each roll will go, and create an assembly style sketch.
So far all I have is the surface. I was thinking I could divide it in sections by the width of the fabric (minus the overlap.) With each section, create a path, and use the sweep feature to sweep the profile of the fabric. Only sweep the length of the roll, till I reach the endpoint, and turn each sweep into a part file.
My first problem with this method is that I can't seem to project the surface of the topographic region to a sketch to create the path for the sweep. Does the surface need to be turned into a solid to do this?
I believe an easier method to this would be to thicken the topographic region, split the the thickened layer, and divide it into the sections I need to build the final sketch.
Is there a better method, and which method should I use. Also, is there any way to project a surface onto a sketch or does it have to be a solid?