AutoCAD Civil 3D :: Part Builder - Save Part Family / Error Saving XML File
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".
I am trying to make parts in part builder but when I try saving I get the error message "error saving XML file". I tried changing the setting on the files for saving but that doesn't seem to work.
I'm trying to do a save as of a previously created and validated part. When I create a new chapter and try to save the part in the new chapter, I get an error message saying "ERROR SAVING COLE FILE". What is a COLE file and why am I getting this error? Could there be a problem because the original part was created in 2013, and now I'm working in 2014?
We recently changed the location of our CAD Standards (such as Pipe Network Catalog). Can I simply copy the Pipe Network Catalog and paste it to the new location and have everything work the same or do I have to do something special?
I am getting the following error when trying to validate my part.
ERROR: Sample Expanded Table Row not fully expanded (calc error)
My part works fine as far as I can tell. when I change dimintions it changes to what it is supposed to. I don't know where to start to isolate what is causing this error.
I am trying to learn Part Builder to create a custom inlet structure. I am able to build the part in Part Builder so it looks like it should and seems to work correctly when I change part sizes. I run into trouble when I try to change the model parameter for Structure Height (SBSH) to a formula invovling Rim to Sump Height (SRS). When I do this and then go to Edit Size Parameters, I get an error " one or more calculations have failed". It does not seem to make any difference what formula I use for SBSH or what size parameter or model parameter SBSH was set to before I entered the formula.
I am able to save the part without any other error messages, however, when I look at the .xml file, SBSH is a constant and not the formula I entered. I can edit the .xml file to enter the formula that I want but still the part does not function properly in a drawing.
I can make a pipe network using the new structure, however, the pipe inverts are not the same as the sump elevation of the structure. They are usually several feet below the sump. I can get the structure sump to match the pipe inverts by going to "Connected Pipes" under "Edit Structure Properties", highlighting the pipe invert elevation and then clicking "Apply". If you change the pipe using "Edit pipe properties" after this, the structure invert does not update as it should.
Is it possible to move the autolayout data of this existing rectangular pipe (see attached). I want my pipe to attach at the top or bottom rather than the middle. I tried creating one from scratch but don't really know what im doing yet and can't seem to get it to validate.I've seen a bunch on creating structures, but not much on pipes.
Using part builder, I created a new pipe part for an odd-sized CMP arch pipe. In plan view, the pipe looks good. At first glance, I thought the pipe was drawn correctly in a profile view, but I realized that the pipe was displayed with the invert located at the wrong place in the profile view. I thought this was because the insertion point of the new pipe part that I had made was placed at the incorrect location in part builder.
So, I swapped out the incorrect pipe size for another one that I knew was correct, and then deleted the incorrect pipe from the pipe parts list, and went back to part builder, and placed the insertion point at the invert of the pipe; then saved the edited pipe part, ran partcatalogregen, added the "corrected" pipe part to the pipe parts list and swapped in the new corrected pipe size to the pipe network. However, the pipe still displays incorrrectly on the profile view.
The pipe data is correct in the pipe properties: the invert is stated to be located at elevation 20. The overall height of the pipe , 38" (3.1667') is correctly displayed on the profile view. But the actual location of the pipe invert is not shown at the correct location, elevation 20, on the profile view.
I am wanting to add a field to my pipe parts to store the pipe pressure and stiffness class separately to give me the most flexiblility with my labels is this possible thru the partbuilder interface I got to here but can not see a way to add custum field. There are some extra build in fields like material are they hard coded or can you hack the xml file directly to add additional fields.
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
I use inventor 2012. In some projects the cc parts cannot be saved as a custom part (error message: Unable to create component), but in some project it works. I checked all projects settings are same.
Dear Sir, In particular project, when I insert part in Assembly file, It is inserted as a Tube & Pipe run part. so that It is not Grounded automatically. What is the settings by which I can insert as a normal part in assembly file ? I have attached herewith the JPG file also.
The simple question is… how can we insert a step (stp) part into an existing part file?
The story behind the question is this:
Normally when we get a step file assembly from a customer, if the part has changed, we put our part into Old Versions and save their new step file as our ipt number and replace it in our assembly file. With Vault, in order for us to maintain the history of the part files, we need to keep the original file so we can’t just delete it or replace it, so now we need to figure out how to get a step file into an ipt. The Import command on the Manage tab (with 2013 at least?) does not allow import of stp files just yet.
The only other option I can think of is to put the original part into an assembly with the step file, create a copy of the step information in the part file and use it to recreate the new (step based) part.
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.
I started out with a single 3 dimensional piece i had made using sketches, and split it into two using the split feature under the modify tab. Now I would like to take each of those two pieces and copy them into their own individual part files. I could do this by remaking them, but was wondering if I could simply copy and paste them into separate files.
I am using inventor 2010 sp1. I have a content center part that I want to replace the family template. I am having problems doing so on random components. Sometimes it lets me and sometimes not. I cannot pinpoint any differences or irregularities between the different library parts.
I am recieving the message indicating..."Import Part Invalid"
Here is my process
Open from content center and save to another folder with or without the same name. Open Content Editor right click and replace family template Recieve this message. "Import Part Invalid"
I have created a new colum in family table editor for a custom part in content center. After that i created an assembly using the same custom part from contentr center. Then i prepared the drawing for that i mean *.idw. In the drawing file i have to attach a part list. and i need to add the the new colum generated in family table to part list.Do we have any option available to add the specified column in part list ?
I don't think I installed the 32-bit version PS CS6 Upgrade into Windows 7 64-bit after I downloaded it over a year ago. So, today, I went to execute Photoshop_13_LS16.exe file and I got the error message:
"The file archive part of Adobe Photoshop CS6 is missing. You need all parts in the same folder to extract Adobe Photoshop CS6. Please download all parts."
I'm having a issue with selecting a certain color and assigning it to a part in my nested family. The problem is that when I load it into the project its grayed out.. Is there something I'm forgetting to do, or could the program possibly have a bug? Revit 2012
I set up our company log which gets embossed on most parts as a sketch block in an .ipt. The .ipt contains nothing but the sketch block. To use it, the designer only needs to derive the Logo.ipt file into their part and then use the scale setting to set the derived block to the desired size for that part. The result is a scalable set of line geometry that can easily be used for extrusion or emboss that is standard for all users. It works beautifully, that is until you try to use it in a sheet metal part in 2012.
For some reason, when this same part, which works perfectly in normal parts, is derived into a sheet metal part an error pops up stating that, "Selected part does not have any geometry that can be derived." Say what?
I was able to find a workaround by directly copying the block into the sheet metal part, but you no longer have the ability to go back and scale it if needed. Even more strange, when the block was copied over, it could not be deleted from the new part.
Is this just a bug with 2012? Why does it work in a normal part but not sheet metal?
The part i make is from solid model>The part needs to be in sheet metal.What steps do i use to make as sheet metal part and have option to flatten part.
I`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)
The one below doesn`t work.
Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub
I would like to simplify this assembly into one seamless part for FEM calculation:The assembly consists out of parts that, in reality, will be welded together. Due to their form, there is no way to place them exactly onto each other, therefore there are slight gaps between the parts:
Now when I try to merge the assembly into one part via "simplify" --> "create simplified part" and choose "single solid body with seams between planar faces merged", Inventor does not fill these gaps (even though it displays only one part in the bottom right corner of my window). Unfortunately, the remaining gaps brings "contact" problems in the FEM simulation.
how to close the gaps and really merge the assembly into one part?