Been wondering, if a part that I create, make a drawing for and save, can I take the part, save as, and then take the drawing, save as, and re-link the drawing to the newly 'saved as' IPT?
I have a situation where I have my master BOM that is shown on sheet 1 of my drawing that represents everything shown on the drawing. What I am running into is I have to detail a couple of sub-assemblies as details on the drawing.
What I do is bring in views from that sub assembly seperate from the main assembly, but the problem is those items dont show up in the main BOM. I end up having to drag in a second BOM that I place off of the drawing sheet as well as adding line items in the main BOM to represent these components in the sub assembly. Then manually change the items numbers in the second BOM to match the iotem numbers in the main BOM. What I would like to know is if it is at all possible to link the two BOM's together so I can change the item numbers in the main BOM and it funnels down to the second BOM.
I have drawings I reuse for different designs. I sometimes insert a parameter value from a part into a drawing dimension for different reasons. When I copy these drawings and no longer reference that particular part, the dimensions in question get deleted by turning off the "Preserve Orphan Annontations", but the fact that the dimension that referenced the parameter value is deleted does not affect the link, and the drawing tells me there are still unresolved parts! Is there someway to remove these references from the drawing? I can write a macro if I have to, just not sure if there is some other way to do this, or even if a macro can do this? I can apparently just pick some other part in the job that doesn't even have that parameter and the unresolved warning goes away, but is that sufficient? I would think an option in the resolve file dialog should let you delete the reference instead? Using IV2012.
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 wanted to know if there is a way to restore the link between a part/assembly and a drawing so that the drawing will open when "Open Drawing" is selected from right clicking the part/assembly from the Model browser in Inventor.
I have two parts, one uses some parameters from another one by link.
Now I have copied both and need to update ties between copies since a copy still has a link to original part.
Seems like there is no possible to just change or edit a link from one part to another in Parameters window.
Instead to update a new link I should clean all borrowed parameters in all sketches, delete the folder, make new link and set all parameters back. is it possible to change or edit the link in some easy way?
I'm trying to see if I can write a rule that will link a custom property at the part level in a template and have it update when I copy the part and drawing to a new design. Below is the formula I'm using and it works in the original files but when I use Design Assistant to create a copy for a new design, this formula will not update.
I have several frames built by Frame Generator in project.
Than one frame has been diminished much while design so I use just several frame links just like parts without skeleton.
Those frame links I have renamed since I have several copies and I would like to have unique name. Now when I start the assembly consisting those links Inventor naturally inquires about missing files.
I show to renamed one and everything works ok except when I start the file again it asks again nevertheless file has been saved. Inventor still remember this frame link names as it used to be in browser and does not accept replacement.
[URL]........
I wish I must not rebuild those parts from scratch again. Therefore I have two questions
Is it possible to save this frame part as normal part (save as does not do it) ? Is there some other way to get rid of Frame Generator status of some part built by Frame Gen?
I've been teaching myself inventor over the past couple of months so I can design the rear suspension setup for my car.
I've got the IRS modelled with enough detail to show my engineer the concept, but I want the suspension to "work", ie each link will move as the suspension flexes.
I'm attaching the arms (blue, dark green, red and yellow) to the cradle (orange) using the joint command, and selecting "rotational". This works fine and the arms can swivel about a single axis as they should. But as soon as I attach the knuckle (lime green) to the other end of all the arms using the same type of joint (except the joint with the blue lower control arm, which is a ball joint), nothing will move.
I understand that in real life, each joint has a bit of "slop" in it, allowed by rubber bushings, which prevents the whole setup from binding.
To my uneducated mind, the solution would lie in one of 3 methods: Convert all the joints to ball joints (I'd like to avoid this if possible) Add some kind of flexible rubber bushing to all of the joints (probably not possible) Get rid of the rotational joint constraints altogether and somehow mate all the parts to each other using work points, rather than a cylindrical bolt and eyelet, so that each arm has full range of movement in both the X and Y axes.
I have a spreadsheet and iLogic driven mater assy to generate different iterations.
I would like to change the scale of a base view on a drawing based on a parameter in my assembly. The idea is to get iLogic to change the view using a simple If / Else statement.
This is what I tried:
If Parameter("0 Generic Assembly v2.2.iam.BP") < 1570 Then ActiveSheet.View("VIEW1").Scale = 1/8 Else ActiveSheet.View("VIEW1").Scale = 1/10 EndIf
So basically the value of "BP" parameter (excel parameter in my assy) would drive the scale of the views. But its not working. Is it actually a sensible method? Can I use in the drawing environment the excel parameters in my assembly?
This is the error message I get when the rule is run:
"Error in rule: View Scale, in document: 0 Generic Assembly v2.2.idw
Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))"
Also using the same thinking I use iLogic to populate the drg number field on the drawing based on an excel parameter. The rule works but does not always updates the drawing no upon the parameter change or update/rebuild commands.
I am having issues with this. I create the part. I create the drawing. I add the part to the drawing. I make a modification to the part and then I select update(Lighting bolt) and NOTHING HAPPENS. Even when I did the local update.
I will review the rest of the thread tomorrow as I am leaving Inventor for today but this is bugging me!!
I can only see the change when I close the drawing and re-open it as of now.
note: When I do hit the update button it does shown the change for a split second then goes back to its previous state. Why does it not stay the new updated version? Inventor 2012
In solidworks, if I have several similar parts to draw, I can draw one part and annotate it and then to save time and effort I can save the drawing as one of the other parts and then change the part reference in the drawing as I open it up.
We are sometimes faced with the problem that we would like change the coordinate system of the model and have the drawing update it with the new orientation of the part without the need to place every annotation again. This is mostly for legacy parts and assemblies which are not modeled correct according to the coordinate system of the machine.
The following sample code does not work, is this by design or is there an error in the code?
Public Sub RotateFirstView() Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument Dim oDrawView As DrawingView Set oDrawView = oDrawDoc.Sheets(1).DrawingViews(1) Dim oCamera As Camera Set oCamera = oDrawView.Camera Debug.Print oCamera.ViewOrientationType = kFrontViewOrientation oCamera.ViewOrientationType = kIsoBottomLeftViewOrientation oCamera.ApplyEnd Sub
Inventor Professional 2012 SP1 (25 seats with subscription) Windows 7 64 bit Lenovo D20, 12 GB RAM, Intel Xeon X5687 3.6 GHz, SSD Quadro 4000, driver 8.17.12.9573, dual monitors SpacePilot, driver version 6.15.3 Firmware 3.12
How to change drawingnote text format in vba? such as color, font, size.
call drawingnote.text.color.setcolor (255,0,0)
seems not working.
Autodesk Inventor Professional 2014 Autodesk Product Design Suite Standard 2013 Microsoft Office 2007 & 2013 Windows 7 64bit Synergis Adept 2013 Visual Studio Express 2010
how can I change different colour in a assembly drawing. That means in a single drawing there is so many parts assembled I want to change the different parts in a different colour.
I want to be able to change the header on a PL in a drawing using iLogic.
I'm able to "find" the PL(s) on a drawing but can't seem to figure out how to access the header property My goal to to change the header to show the P/N of the assembly/part it's created from.
My Current code is below:
doc=ThisDrawing.Document oBOMs=doc.DrawingBOMs
For Each oBOM In oBOMs MessageBox.Show("Found a PL", "Title") Next oBom
In between the for/next loop is where I want to access the current BOM and change it's header depending on the related .iam/.ipt.
line of Inventor 2013 iLogic that can change the browser node name of an IDW?
Specifically, I'm only interested in changing this:
I know how it's set by default, but someone has managed to fix their template so it only ever shows "A3 template" in this field. consequently, this problem now persists throughout hundreds of drawings. If I can fix it with a line of iLogic, then the wickedly awesome CodeInjector can be used for fixing all the drawings.
I did some digging and found the option to replace a model reference in an entire drawing, but I'm looking to change the reference in just a view. Consider the picture I have attached. I'm depicting top down views of these layers. Each layer requires changing the view identifier each time I drop a view. This would be considerably less time consuming if I could just copy/paste the view and change which part file it was pointing to.
I've got a drawing with multiple base views wich means multiple reference models. In my titleblock i've included the mass of my model through
Type: Physical Properties - Model Property: MASS
But now it automaticly selects the first placed base model as the model to select the mass. how can i change the 'active' model to another model/base view?
Say you've dimensioned something but end up wanting to change the dimension definition points...drag the end point to another location that you want dimensioned.
I thought it used to snap to a new location, but now it will not. I have to redraw the dimension (including all text I added).
Here is what I get when I try to move the dimension definition point:
Here is what I get when I try the auto-reattach feature in "repair". Still nothing to snap to.
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?
Im looking to make a simple ilogic rule that can toggle an option in the document settings, the setting I would like to change is the Document settings> Modeling> Participate in assembly and drawing sections
I would like a form to switch the option on and off quickly, its a really usefull function however I know a few of my colleagues wont use if they cant find it easly.
I sometimes create parts that are very similar to one another. (ie. - complex plate, but one part uses threaded holes, while an identical one has through holes, with all holes in the same location). So before now I would have built one part, made my drawing file. Then Copy/paste the part file into the same assembly folder, edit the hole feature of the newly copied part, then have to create an entirely new drawing file for the new copied part.
Is there a way to just copy my already created part drawing, and then just change the part file it used? They are basically the same part, but one uses threaded holes, the other uses through holes. My current way seems redundant and time wasting.
I am trying to have one drawing with B size and E size sheets I am trying to get the border, title block and standard to change when the sheet format changes. I can get it to work when I run the rule but have hard time find information to just change when sheet format changes. And I can't find anything or I should say a sample of how to. I think I found the code just don't know how to make it work. Here is what I have so far.
I'm in sketch mode and my drawing dimensions are all in decimal format. How do I change that to a fractional format?
I thought it would be in the styles editor, but when I open that up, I don't see ANY dimension style listed (see picture). I also tried right clicking the actual dimension to view the properties, but that only lets me change the decimal precision (also attached). The help file mentioned the "ANNOTATE" tab, but I don't even have that tab on my ribbon so I'm guessing it's unique to autocad?
Is it possible to change the text height of a drawing view label through VBA?
I have tried to change it by creating a new text style manually with the text height I require and then through VBA set the view label to use that style.
The View label takes on the new style but does not change the text height.
I have tried to use 'StyleOverride FontSize=' but I have text that is multi lined and using this command converts all my text onto one line.
Is it possible to change the text height of a drawing view label through VBA?
Below is my code so far,
Sub HoleDetailSheetLabels() ' Declare the Application object Dim oApp As Inventor.Application ' Obtain the Inventor Application object. ' This assumes Inventor is already running. 'Set oApp = GetObject(, "Inventor.Application")