cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

IsoDraw Preferences.prf Customization

thendricks
3-Visitor

IsoDraw Preferences.prf Customization

I have created a custom IsoDraw Preferences.prf that will be distributed to all workstations. The problem that I have is that I have set som line styles up that are common to our department. We have existing iso files that when opened maintain the version of the preference file it was created with. Is there a setting that would cause the preferences to update for the files when opened?
1 REPLY 1

Hi Trevor, currently there is no function to apply IsoDraw preferences to existing IsoDraw files. You could provide a macro that contains the values of the preferences as well and let the user apply the seetings using this macro. As a second step it would be interesting to figure out if a macro could read the preferences and apply them then to an IsoDraw file to get around hard wiring it, however right now I do not know if this is possible at all. Thinking out loud: You could think of an ism file that contains all values as global variables. You then add two macros to this file. One that sets the preferences (with option "not in menu"), a second that can be used to apply IsoDraw preferences to existing IsoDraw files. Both get their values form the global variables. If the user launches IsoDraw by a command line (in a cmd file) you can apply the "preferences set up macro" on each start of IsoDraw (Does not work when IsoDraw files are opened with a double click however). Doing so you just need to distribute the ism file instead of the prf file. If the user wants to add the values to an existing file s/he just uses the second macro. This approach indeed takes some work but if it works once it should work pretty smooth. Much success! Christian
Announcements