AutoCAD Inventor :: Saving Part Files Multiple Times
May 2, 2013
In testing my latest automation project, I've found that I can't save copies of a part multiple times (after deleteing the files off the disk) unless I close out of the top level assembly document, and reopen it. I used Process Monitor and determined that Inventor is trying to save to an existing file instead of creating a new file.
Inventor 2013 SP 1.1
View 1 Replies
ADVERTISEMENT
May 1, 2013
The goal of this project is to take a base part file, save new copies as needed, then modify the copies. They're rings for storage tanks that share the same tank diameter but differ in height and thickness. I have a SaveAsCopy rule in my template ring part that I run externally from my main assembly after passing down the new file names to the part rule. Since I'm testing a lot, I'm always deleting the parts from the assembly, then clearing out the new copies from my folder and running the rule again. Eventually after 1-5 times inventor starts giving me an error.
The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
The More Info Tab:
System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Inventor.Document.SaveAs(String FileName, Boolean SaveCopyAs) at LmiRuleScript.Main() at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem) at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
The two other posts on here that deal with that error say it involves enumerating an array that is being changed and looking for an entry that is gone. I have a feeling it has to do with a left over variable (but this is all in iLogic rules so they get cleared at the end of the rule?), temporary files or remnant file references. It works again if I close the assembly and open it back up. Inventor 2013 SP 1.1
View 9 Replies
View Related
May 4, 2013
We use a similar sub-assembly in almost every assembly we design. So what I would like to do is make a template from this sub-assembly that I can make adaptive, constrain to the proper parts and have it resize to the main assembly. I've been trying to do this for a few weeks now with little success.
I have seen tutorials make adaptive part templates but never adaptive assembly templates. Is this even possible?
I know you can't make individual parts adaptive to multiple assemblies without saving each part as a different file and I think that's where my problems are coming from. Even though I save the template as a different file is it still referencing the original adaptive part in my library folder? If so, is there a way I can make it not do that? I may be way off base there too I don’t know.
View 7 Replies
View Related
Jun 20, 2012
So they say if you save a JPG image lots of time, the image starts to lose information...
If I open up a JPG image in Photoshop, make some edits, then use the 'save as' command (using a lower quality setting), overwriting the current file open, will saving it again further compress the image that is currently open? Or does photoshop store the original file (when it was first opened) information until closed?
View 5 Replies
View Related
Feb 3, 2013
If I nead to insert a Part a many times in an assembly... let's say fifty times.
The only way I know is to copy past fifty times (then I place them with the constraints neaded).
The rectangle or cicular array can't be used since they a realy in different places.
But is there a fastest way to insert the Part fifty times in the assembly, instead of copy paste?
View 3 Replies
View Related
Jul 5, 2013
Our Autocad parts lists used to calculate the weight of parts times the quantities. Now we are using Inventor and I see that the weight shown on a parts list is the weight of an individual part - although the quantity could be 2 , 3 (more than one). Is there a way to have the total weight shown equal to MASS times ITEM QTY?
View 1 Replies
View Related
Jul 10, 2012
In an assembly, I am trying to get the same part recreated X amount of times, on the fly with iLogic, but each time with a different length.
View 6 Replies
View Related
Mar 31, 2012
I want to duplicate a solid body 4 times in a part file. i did that by going for circular pattern. But after creating that, i had to add on few more features. I did that in parent solid body. then I noticed that other 3 solid body is not getting updated. I know in assembly file it gets updated but any way in part file.
View 3 Replies
View Related
Dec 2, 2013
I have an issue where an addin loads once the first time Inventor is opened. If the addin is unloaded and reloaded via the Addins dialog and no documents are open it loads once. If the addin is reloaded while a file is open is reloads twice.
I came to the conclusion it is loading multiple times because the it seems to go through the Activation method of the addin twice. When is the Activation method called during loading an addin?
Inventor Addins
FlowTools for Inventor
ilxButton Panel (Buttons for iLogic Rules)
View 2 Replies
View Related
Jul 11, 2013
A drawing that is in Vault, it asks if you want to check it out, and if you say no (like if you just need to print it), it opens it then asks you again if you want to check it out? Did it not get the hint the first time?
View 1 Replies
View Related
Apr 18, 2013
I'm designing a part that in Autodesk Inventor 2013 that is constructed from several layers laminated together. I have 4 layers:
F (front)
M1 (middle, variation one)
M2 (middle, variation two)
B (back)
The final solid will lhave 17 layers laid out like this:
F | M1 | M2 | M1 | M2 | M1 | M2 ... | B
I currently have a part file containing
F | M1 | M2
What's the best way to create this solid if I want to a) keep all instances of M1 and M2 in sync, and b) make it easy to work on all 4 layers. Do I have to export F, M1, M2, and B as individual parts and import them into an assembly or can I keep them in one part file? I really like the ability to be able to work on all the solids at the same time because they're visually dependant on each other.
View 4 Replies
View Related
May 29, 2013
From the image above you can see that "jquery" loaded twice @ 91kb = 181kbedge 1.5 loaded twice @ 102kb = 204kb aswell as the edge and edge actions files loaded twice and if i boot strap comps together the images are loaded multiple times aswell
View 1 Replies
View Related
Sep 1, 2011
I have this script that basically makes a shape expand by adding an outline, conveting the outline to an object, and then welding the whole thing together.
I have the script set to execute with hotkey ctrl+numpad+
The odd thing is, when I run it once, it seems to work fine and only one object is left, but when I hold down ctrl and press numoad+ over and over again, it seems to produce a new copy of the object everytime.
I'm not sure why this is happening, but I need to get it to stop.
Sub Expand() EventsEnabled = False 'Dim vars Dim c1 As New Color Dim OrigSelection As ShapeRange Dim OrigColor As Shape Dim width1 As Double Dim height1 As Double Dim minSize As Double Dim Thickness As Double 'copy color of current selection Set OrigColor = ActiveShape If OrigColor Is Nothing Then Exit Sub If OrigColor.Fill.Type <> cdrUniformFill Then Exit Sub c1.CopyAssign OrigColor.Fill.UniformColor 'get thickness to increase by Set OrigSelection = ActiveSelectionRange OrigSelection.GetSize width1, height1 If width1 <= height1 Then minSize = width1 If width1 > height1 Then minSize = height1 Thickness = minSize * 0.035 OrigSelection.SetOutlineProperties Color:=CreateRGBColor(0, 0, 0) OrigSelection.SetOutlineProperties Thickness, ScaleWithShape:=True 'weld Dim s1 As Shape Set s1 = OrigSelection(1).Outline.ConvertToObject Dim s2 As Shape Set s2 = s1.Weld(OrigSelection(1), True, True) 'auto reduce 's2.Curve.Nodes.All.AutoReduce 0.001 's2.Fill.ApplyUniformFill c1 'delete remnants OrigSelection.Delete s1.Delete 'OrigColor.Delete EventsEnabled = TrueEnd Sub
View 5 Replies
View Related
Nov 25, 2013
it is possible to save a stressed part from a simulation in Inventor as an .ipt in its displaced condition?
View 1 Replies
View Related
Aug 14, 2013
I have several iParts with their respective derived parts in my library. There are not many other Inventor users here that use those parts, but they might benefit from having those individual parts. The iPart may change from time to time, and in order to keep the individual parts current, I am required to activate them one by one, exporting them to STEP, IGES, SAT or IPT files for both people here to use as well as our Pro-E and Solidworks users. Is there a way to automate that process so I can hit a button and have it save all instances to a certain file format?
View 2 Replies
View Related
May 12, 2012
I created a spreadsheet of about 40 rows to be used to create different parts. I then created a part "we'll call it Board_A". I linked to the spreadsheet and used 3 of the fields for my dimensions. Lets say I named the length (which was the extrusion number) as "Len_1". I saved it and all is well!! I then created other parts and used the spreadsheet for the dims. I then went back and opened "Board_A" and saved a copy as "Board_B". I closed Board_A and opened Board_B. I then rt clicked on "Extrusion" so I could change the length from "Len_1" to "Len_1_A" which is another row (field) on that same spreadsheet which is still linked. When I tried I received a message that said I couldn't do that (I forgot the actual message!) I clicked the Parameter icon and the only fields showing on the popup spreadsheet box were the ones I had previously used for those parts that I made from scratch. I thought I figured this out once but if I did I forgot. I deleted the spreadsheet link and then re-added it but nothing I have tried has worked. Is there a way to get these fields to be usable with a Copy of an existing part or do I just have to start from scratch and make the similar part?
View 1 Replies
View Related
Jan 17, 2013
I have an iLogic template part that has a multi value parameter. In this case the product code can be selected from a list of 4 codes. In futre we may need 5 and the 5th may need to be available to older parts.
I would like to avoid having to add the 5th as an option to every part we've ever made when the 5th becomes required.
I'd like to have the list of codes stored in an external file (Possibly an xml) and the template part reference that file to acquire it's list of available codes. That way I can add codes to the xml and all the files will have their list of available codes updated.
View 2 Replies
View Related
Apr 27, 2012
I would like to save my inventor Part and Assembly model file in a lower version. Like in our company we use both Inventor 2012 and 2010. Once the file is created in 2012 and when shared to 2010 users they are unable to open, is there any possiblities to open 2012 files 2010 like how we do in Autocad.
View 2 Replies
View Related
Dec 22, 2011
Can I save multiple drawings to dxf in same time? I`m so tired to click "save copy as" with every drawigs. Autosave with flat pattern is not an option because orientation of the piece is so bad so many time of the cases
View 9 Replies
View Related
Nov 22, 2013
I'm copying 1 object, multiple times. Yes I know how to multiple copy.
The problem is this.
The object I'm copying will have varying distances between each copy e.g. , 50, 100, 90, 150, 140, 100, 190 so on and so forth.
Is there a way in LT to copy relative to the last object placed?
View 5 Replies
View Related
Nov 15, 2013
Win 7 64 bit
PSP X5
i have just edited 70 photos using capture editing and apply editing, and have all of them stacked up on the screen.
Can I automatically save them all without having to save each one manually? I tried using the same method as above but it did not save them.
View 2 Replies
View Related
Jun 25, 2012
I'm creating an assembly and in this assembly I need to add some foam pieces. These pieces are the exact same part number but can vary in length. How can I make such a part so that i can insert it into an assembly multiple times but have different lengths? I'd rather not make multiple pieces of foam for every single assembly for all of our product lines and am looking for the "one foam to rule them all" option. I would assume this would be an ilogic component I would have to create, but i haven't really made a part like that yet.
View 3 Replies
View Related
Dec 12, 2011
Using Inventor 2012, is it possible to use a different K factor value for 2 different bends?
Why would I want to do this? It comes into play based on large and small bend radii in the same part. The large bends require a slightly differnt K factor. I searched the forums and don't think I found what I was looking for. The other thread I found was about bend tables.
View 7 Replies
View Related
Aug 8, 2011
I'm using Autodesk Map 3D 2006, it's a new install. I am trying to import an ESRI .shp file with the object data, but have only been able to successfully import it once. When I try again (even after restarting the program), I keep getting 0 objects processed and no linework imported, even with new drawings. I also got 2 error messages at one point: 1900 - about having coincident points and a can't transform object error.
View 1 Replies
View Related
Jul 15, 2011
I have a SelectionAdded event handler that reacts three times when selecing a single block and once when deselecting it.
If there are two blocks in the drawing but only selected one it reacts 5 or 6 times.
And it reacts every time I pass the mouse over the selected block.
Is there any way to sidestep the events in the handler so that AutoCAD doesn't grind to a halt if I have multiple blocks in the drawing. And decide to move my mouse over all of them?
View 5 Replies
View Related
Apr 4, 2012
attached is a basic IV2012 part made as 1.....can i separate the 2 features and make 2 independant parts from the single part?
If yes can i then use these separate parts and place in assemblies?
View 3 Replies
View Related
Jan 29, 2013
I am currently working on a product where I want to make 2 part lists in my drawing of the same assembly. The first parts list has to view all the parts that are always delivered with our product, and the second one has to show the optional parts and features that could be delivered with the product.
I want both lists to be categorized the same way (comments, material, name), I want the numbers of the list to be chronological (also I don't want the second parts list to start the numbering at 1) and I want both lists to stay connected with their balloons.
Is there any way this can be done, like adding or removing part links to the list manually?
View 1 Replies
View Related
Nov 28, 2013
Inventor 2014. I have watched everything I can find and read many entries on related messages.
I create a part by creating rectangle on the XY of 90mm centered on 0,0. I add fillets on 3mm on all four corners. I then add two circles centered on 0,0 of diameters 45 mm and 41mm. What I would like to do is extrude the area between 41 mm and 45 mm circles to 10 mm and the rest of the rectangle outside of the circle 45 mm circle to 6 mm. The center of the part from center to the 41 mm circle is void or open.
I have read two solutions that use a "share sketch" function, that I can't find by right-clicking as indicated in the write-up.
View 4 Replies
View Related
Jan 24, 2013
derive multiple solids from a part. I use the code shown below but it seem as I only can get the first solid in the part that I am trying to derive from.
''More Code'''
' Create a new part document, invisibly.
oPartDoc = m_inventorApp.Documents.Add(DocumentTypeEnum.kPartDocumentObject, , True)
oPartDoc.UnitsOfMeasure.LengthUnits =UnitsTypeEnum.kMillimeterLengthUnits
' Derive the assembly into the part.
Dim oDerivedPrtDef AsDerivedPartDefinition
oDerivedPrtDef = oPartDoc.ComponentDefinition.ReferenceComponents.DerivedPartComponents.CreateDefinition(oTopDoc.FullDocumentName)
Call oPartDoc.ComponentDefinition.ReferenceComponents.DerivedPartComponents.Add(oDerivedPrtDef)
'''More Code'''
How can I get all the solids from the part that I am deriving from?
View 3 Replies
View Related
Aug 17, 2013
I am working on the part builder tutorials for AutoCAD Civil 3D 2014. Every time I click "Save Part Family", I get the error message "Error Saving XML File".
View 4 Replies
View Related
May 9, 2012
Trying to find out how to copy an object multiple times in a curve. I've used microstation and it does it easily and just wandering is AC has the same type funtion without going throught 6-8 steps for each copy.
View 9 Replies
View Related