i released a new version of the model styler. There are some new features to hide elements like sketches and pmi elements in your models. The view orientation can be set to the opend model or in batch mode. You have now the abillity to copy queries from your template (if you use an assembly as template) to the destination assembly files.
With the app you can copy the styles of a selectable template into any file of an open assembly (you have the option to skip standard parts) or only into the active file (top assembly or single par/psm). The program also copies the units of measure settings from the sourcefile to the destinations if you want.
If no solid edge file is open when you start the program, you get into "batch mode". You can drag and drop e.g. your template folder (only asm, par and psm files will pass the filter) in the listbox and process those files. In batch mode you have options to hide all refplanes, coordinate systems and also set a standard view orientation.
I don't know if the tool works with insight, please make a test and give me feedback.
The tool is freeware under the MIT license, you can use it for free.
The tool is signed with a valid certificate, but the smart screen filter can display an alert. If you click "more info" (i don't know the exact message) you can run the installation.
You can download the setup files from http://code.c-k-m.info/ModellStyler/setup.exe , it should work without admin rights, if .NET framework 4.6 or later is present on your machine.
Are you able / willing to share the source code for this project?
I am interested in seeing how you copied the styles via API.
thank you much!!!
yes you can set the "background". The setting is called "Set 3D view style".
You first have to arrange the view styles in your template file according to your wishes.
In the options dialog from the macro you have to activate at least
"Update 3D view styles" and "Set 3D view style".
You can choose one of the view styles of your template file in the "Standard view style" dropdown.
This view style is assigned to the active document window.
Sometimes man doesn't miss the wood for the trees!
And this is clear, You have to define a view style - which anyway is the correct method for automation and Your tool will copy this from the template to the selected file.
Great and Thanks