Hi

Can you describe how to reproduce these problems?

For example, I do not repro the “plugin is not installed” error if a custom 
preference is not in the first workgroup.

From: [email protected] 
[mailto:[email protected]] On Behalf Of piotrek marczak
Sent: April-21-12 1:08 PM
To: [email protected]
Subject: Re: can't load cusrom preference

Please devs do something with dealing with custom preferences.
I spent 16 hours figuring out why double value is resetted to 0 everytime I 
exit softimage??
and there is ‘red’ error (“this plugin is not installed”) if .preset file is 
not located in first workgroup?

From: Eric Thivierge<mailto:[email protected]>
Sent: Saturday, April 21, 2012 12:39 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: can't load cusrom preference

I stay away from the built in preferences myself because they get a bit hairy 
trying to delete them eventually.

What you could do instead is have a text file holding your pref data which is 
stored as a Python dictionary (as a string) and then creating a plugin for the 
user that reads that string evals it back to a dictionary and builds the UI 
dynamically and allows the users to set the proper prefs. You could either 
store the prefs in the workgroup / addon directory or in the users xsi folder. 
I've found this to be cleaner.

- 2 cents

--------------------------------------------
Eric Thivierge
http://www.ethivierge.com

On Sat, Apr 21, 2012 at 7:34 AM, Tim Crowson 
<[email protected]<mailto:[email protected]>> wrote:
The warning in my first email is all I get.
-Tim


On 4/20/2012 4:26 PM, Stephen Blair wrote:

Works for me.

Do you have the actual error message?





From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Tim Crowson

Sent: April-20-12 4:36 PM

To: [email protected]<mailto:[email protected]>

Subject: can't load cusrom preference



Gents,



I created a custom property in Python to house a single string and want to 
install it in our workgroup as a custom preference. I have placed it in the 
workgroup in \Addons\myTool\Data\Preferences\myCustomPref.Preset But when I run 
Application.RefreshCustomPreferences() I get the following warning:



# WARNING : 3000 - Not able to load a custom preference: 
Path\to\my\customPref.Preset



Any of you Jedis have insight into what might be wrong? I'm using 2012 SAP on 
Windows, FWIW.

--







Tim Crowson

Lead CG Artist





[cid:[email protected]]





Magnetic Dreams Animation Studio, Inc.

2525 Lebanon Pike, Building C. Nashville, TN 37214

Ph  615.885.6801<tel:615.885.6801> | Fax  615.889.4768<tel:615.889.4768> | 
www.magneticdreams.com<http://www.magneticdreams.com><http://www.magneticdreams.com><http://www.magneticdreams.com>

[email protected]<mailto:[email protected]>mailto:[email protected]



--



Tim Crowson
Lead CG Artist


[cid:[email protected]]

Magnetic Dreams Animation Studio, Inc.
2525 Lebanon Pike, Building C. Nashville, TN 37214
Ph  615.885.6801<tel:615.885.6801> | Fax  615.889.4768<tel:615.889.4768> | 
www.magneticdreams.com<http://www.magneticdreams.com>
[email protected]<mailto:[email protected]>



<<attachment: winmail.dat>>

Reply via email to