Delete Custom Properties - Multiple Files
Delete Custom Properties - Multiple Files
(OP)
Hi All,
I am new to the forums and new to Solid Edge (< 2 weeks). I previously used Solidworks for 4 yrs. I could not find a good answer to this question anywhere. I apologize in advance if there is a simple way to do this, but I have not found it in hours searching.
Is there a simple way to delete custom properties from multiple files? Files that are not referencing each other specifically.
I was able to add custom properties through Property Manager to multiple unrelated files, but it will only let me show/hide them. I cannot find a way to delete these properties without going into every file individually. I am sure I must be missing something simple.
I have also tried using the "analyze data" and "modify data" programs to no avail.
Thanks in advance for any help.
I am new to the forums and new to Solid Edge (< 2 weeks). I previously used Solidworks for 4 yrs. I could not find a good answer to this question anywhere. I apologize in advance if there is a simple way to do this, but I have not found it in hours searching.
Is there a simple way to delete custom properties from multiple files? Files that are not referencing each other specifically.
I was able to add custom properties through Property Manager to multiple unrelated files, but it will only let me show/hide them. I cannot find a way to delete these properties without going into every file individually. I am sure I must be missing something simple.
I have also tried using the "analyze data" and "modify data" programs to no avail.
Thanks in advance for any help.





RE: Delete Custom Properties - Multiple Files
What is Engineering anyway: FAQ1088-1484: In layman terms, what is "engineering"?
RE: Delete Custom Properties - Multiple Files
I would like our users to be able to go to the custom properties tab and fill out all the required information in one step. Extra unused variables will become confusing. Documentation practices here aren't very good and I am trying to create a standard template.
For example, I am trying to integrate new custom properties into all the legacy files and delete the ones that are not needed.
RE: Delete Custom Properties - Multiple Files
RE: Delete Custom Properties - Multiple Files
PropertyRemapper available at the above website can do the job.
RE: Delete Custom Properties - Multiple Files
RE: Delete Custom Properties - Multiple Files
RE: Delete Custom Properties - Multiple Files
as:
Custom.Prop2Delete = ""
RE: Delete Custom Properties - Multiple Files
RE: Delete Custom Properties - Multiple Files
RE: Delete Custom Properties - Multiple Files
The larger problem, however, is the Property Remapper deletes the NEW properties if the legacy property listed in the Propertymap.dat file does not exist in the legacy file. It works great when all the legacy properties are in the file, but when it tries to replace legacy properties in some of the older files that actually do not contain any properties, it just deletes the NEW property instead of skipping it.
RE: Delete Custom Properties - Multiple Files
RE: Delete Custom Properties - Multiple Files
So your .dat file might contain the following:
Custom.New Property = Custom.Old Property
Custom.New Property ~ "some value"
Custom.Old Property = ""
The ~ symbol makes it only work on empty properties so it won't change files with an existing "New Property" property with the new value.
Perhaps that "some value" could just be a period "." if you want an inconspicuous field.
RE: Delete Custom Properties - Multiple Files
This will work great for inserting NEW properties into all legacy files, replacing the NEW properties with legacy properties, fill in the NEW properties with default values when there are no legacy properties, and delete old properties.
I like it. Powerful and very dangerous. haha. Unfortunately the date fields don't replace correctly when they were originally formatted as text in the legacy files, so those unfortunately will have to remain as text fields in the Border Change Template.
Very much appreciate all the help. Now if I can just find batch border conversion app I can make all of our legacy files match the standard template.
RE: Delete Custom Properties - Multiple Files
1. Separate the RELEASED files from the AVAILABLE files. I have not found a good way to do this. The way I currently accomplish this is go to the Property Manager, expand all, use the "SE Status" and "Folder" properties and sort by SE Status. This allows me to have all the released files and their relative locations at the top.
2. I then use the data management tool to do an "Analyze" on the top level CAD folder. I copy the file names and folder locations of all the RELEASED files to the resulting excel analysis after deleting all others. I then sort in ascending order.
3. I create a Released folder and dump all of the files in there using the management tool "Modify" on the excel generated from the initial "Analyze" process.
4. I then batch convert these files from RELEASED to AVAILABLE.
5. I then add the NEW properties using Property Manager to both the Released folder and the files in the top level CAD folder. The RELEASED files in the top level will not populate because they are read only, but all the AVAILABLE files will. I use the Properties Manager because I have not found any other method that keeps the string type (ex: text, date, number) intact.
6. I now have the NEW properties in the original RELEASED and AVAILABLE files.
7. I now use Property Remapper to make the legacy properties equal to the NEW properties, and delete the legacy properties in both the Released and top level CAD folder. If there were no properties to begin with, the NEW properties are inserted with default values.
8. I then batch convert the files in the Released Folder back to RELEASED. I now have all originally released files with NEW properties and all legacy properties deleted.
9. I now use the original excel file and use "Modify" once more to transfer the files from the Released folder, back to their original locations. This should be as simple as copying and pasting the file path columns, especially since they are in ascending order already.
10. I am not worried about the RELEASED drawing borders because they can just be opened in a viewer program and printed. If a RELEASED file absolutely has to be rolled back, a quick change of the drawing border is all that is need to get rid of the ERROR: NO REFERENCES text.
Feel free to let me know if I am missing something or you have a more efficient way to do this. I realize how dangerous this process is, however, I believe all that would be necessary is to make a backup copy of the top level CAD folder in case anything goes wrong. The logic behind this method is that we often don't use new part/drawing/assembly templates. Our file creation method involves a lot of "Save As" using existing released assemblies. With this method, the new properties and borders can get easily perpetuated. There will be the initial tedious task of changing the borders, but once it is in most of the drawings, we should be good to go. I am afraid to use batch conversion borders (if this is even available?) for fear of not being able to print older drawings in viewer programs because of jumbled text associated with manual text boxes in older drawings overlapping the NEW properties.
RE: Delete Custom Properties - Multiple Files
I've also worked in unmanaged SolidWorks environments where the method was much the same.
Why don't you incorporate Insight? It's already available for free.
RE: Delete Custom Properties - Multiple Files
RE: Delete Custom Properties - Multiple Files