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 have repeatedly done the tutorial to be sure I am following the instructions precisely. What does this "ERROR" affect in my tutorial? And, what can I do to fix this problem? Thanks!
Solved! Go to Solution.
Solved by MikeEvansUK. Go to Solution.
Part Builder stores all of the part parameters and information in an xml file. This file is located with the part drawing in a folder under the current part catalog and chapter. Without this file, the parts will not work. You can see the path that is being used by selecting the Home ribbon > expand Create Design panel > Set Pipe Network Catalog command. Make sure that the catalog location is a drive or folder that you have read/write permission, and the files and folders are not set to read-only. I would also make sure that the part name does not contain any characters that Windows can't use as in a file name.
In addition to the part's xml file, the part is also added to the catalog's .apc file. This file also uses xml. It is located in the catalog's root folder and will have the same name as the catalog. Make sure that this file exists is not set to read-only.
Does this mean I have to create an .xml file and an .apc file? If so, I have no idea how to perform this function. If the files already exist, what do I have to do to access them? I have read/write permission for everything in this computers files. Did I miss something in the getting started tutorials that will tell me how to set up these files? Thanks for the info so far! But, I'm afraid what you told me is Greek to me and I don't actually understand what I should do next.
the application creates the xml file based on the modeling in part builder.
I recently had an issue alike this in 2014 following installation in win7 where I had no write privilages for the Appdata folder where the partdata is stored.
Please test the part catalog read write by running part data, editing any part and trying to save the part back to the catalog. If you recieve an error then you need to get your admin to grant you write permissions to the appdata folder.
I posted reply on another forum how I sorted it out in ver 2021, the error on the command line tells it all
"C:\ProgramData\Autodesk\C3D 2021\enu\Pipes Catalog\Metric Structures\Metric Structures.apc
Command: PfSaveAs
ERROR: Unable to write to file, check write permissions"
Write permissions..., I am not sure why Autodesk does that but I changed my permissions for the file to Full and Voala I saved the changes.