Sorry you're right, I thought it was about workgroup numbering.
Anyway I got lots of errors, dunno if it's workgroup issue, they are all
related to .preset file in plugin's data/preferences dir (Ive seen even
factory ICEOperators raising this error)
like:
// ERROR : 2356 - This plug-in is not installed: rcCustomFilterSettings
// ERROR : 2356 - This plug-in is not installed: jhBatchieOptions
// ERROR : 2356 - This plug-in is not installed:
CM_DefaultPrimtives_Preferences
etc
these plugins still work so It's only 'cosmetic' error (?) ( I think Log
Verbose messages should be turned on to get this error)
As for double value in custom preferences it is
1) resetted to 0 after xsi restart
2) always read as 0 in c++ plugin
3) I see correct value (not 0) in default.xsipref file
-----Oryginalna wiadomość-----
From: Stephen Blair
Sent: Saturday, April 21, 2012 7:23 PM
To: softimage@listproc.autodesk.com
Subject: RE: can't load cusrom preference
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: softimage-boun...@listproc.autodesk.com
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of piotrek
marczak
Sent: April-21-12 1:08 PM
To: softimage@listproc.autodesk.com
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:ethivie...@gmail.com>
Sent: Saturday, April 21, 2012 12:39 AM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
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
<tim.crow...@magneticdreams.com<mailto:tim.crow...@magneticdreams.com>>
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:
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Tim Crowson
Sent: April-20-12 4:36 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
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:image001.gif@01CD1F1A.C10D56A0]
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>
tim.crow...@magneticdreams.com<mailto:tim.crow...@magneticdreams.com>mailto:tim.crow...@magneticdreams.com
--
Tim Crowson
Lead CG Artist
[cid:image001.gif@01CD1FC1.9A809680]
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>
tim.crow...@magneticdreams.com<mailto:tim.crow...@magneticdreams.com>