I have to deal with large files of parts in bulk with property additions. I saw that with Batch Properties it was done well, but I can't find how to change the units in bulk. Is this possible via Batch Properties? If not, which utility should I use?
Hello I do not quite understand your description of the need for " large bulk files of documents"??? and " how to change units en masse ". Can you elaborate.
@Le_Bidule : For explanation , I have folders by categories/types of parts. I would like to process these files so that all the rooms inside are impacted (mass processing) And the desired treatment would be the change of the units in the document property.
@sbadenis : Thank you for your answer . I was already testing CopyOptions. Integration I didn't know yet. It looks vast and powerful.
I tested CopyOptions which works but not 100%. Let me explain... Here are the unit options for the template file that I want to copy to other files :
So " Base Units", the " Length of the double dimension " remains in " cm " instead of " mm " and in " Mass/Section Properties", the " length " remains in " mm " instead of " cm "
I looked at INTEGRATION and changing a standard of design to the effect that it only applies to drawings. This requires a *.sldstd file. How can this file be generated and is it applicable to PART and/or ASSEMBLY files?
For copyOption it's strange, maybe @fmarchand will tell us if this is the normal behavior or if all the options should have been copied but there is a small bug.
@Le_Bidule : We tried again several times, on different positions and always the same problem. We are in the same versions as you... Strange.
@sbadenis : We switched to INTEGRATION, which allows us to perform more functions. We didn't go through Load a dressing standard, because it wasn't working. Here's what we did:
I made a small macro to change the units of a file (via macro recording). You should be able to make your own macro and run it in batch via a visiativ tool.
Yes, with Integration it is possible to launch a macro in various modes. But if it works with changing the options what more could you ask for. The macro will not be faster than integration because it also uses APIs just like macros (only the language changes, Vba for macro and other for Integration) And yes, Integration is very powerful, you can do a lot of things with it, and when I can't do what I want, I develop a small macro that I run with Integration for Batch processing.
We have not had any feedback on a problem with CopyOptions and the " Length of the double quote" option. In addition, I did a test on my side and I didn't manage to reproduce the problem...
Hello @froussel : I also have a macro that does this. I'm also going to test via Batch or Integration. It can be interesting to run several macros in a row
Hello @fmarchand , Below are the settings of my CopyOptions as well as the 2 files, the template and the file to be processed.
Hello @sbadenis Through integration, we managed to change the units and add properties. But we can't get all the configurations to be rebuilt so that we have all the mass values up to date for all the configurations, for example. Here is what we get after processing Integration:
For the time being, I have never tested this part of rebuilding the configs via Integration. You can test this macro by launching it from Integration. Unless you find another solution or why it doesn't work in Integration. Enable all configs.swp (33.5 KB)