In that case you definitely don't want to migrate to a customparamset.  You 
want to convert to a more intelligently designed custom property.

I don't see the need for storing the PPGLayout code as a string as 
_DefineLayout() or _OnInit() could house that code.  You can also load PPGLogic 
from an external file, so really no need to go the generic property route in 
terms of implementation.

Matt




From: [email protected] 
[mailto:[email protected]] On Behalf Of Alan Fregtman
Sent: Thursday, June 13, 2013 11:24 AM
To: XSI Mailing List
Subject: Re: Anyone got a tip to convert a customproperty to a regular 
customparamset?

Well, somebody thought it was a brilliant idea to be making whole new plugins 
for character-specific rig properties, just because they wanted a ppglayout. 
(None of these properties had any logic whatsoever.)

I'm looking to migrate those to a GenericProperty property like:
http://www.softimageblog.com/archives/172
so it only relies on 1 plugin instead of 6 or 7.



On Thu, Jun 13, 2013 at 2:07 PM, Matt Lind 
<[email protected]<mailto:[email protected]>> wrote:
Once you've deployed the custom property, it needs to be supported until you've 
removed it from all content which uses it.

The primary difference between a custom property and a customparamset is 
structure.  Customparamsets are a generic custom property for end users to do 
quick and dirty stuff.  They have very little support for PPGLayouts and cannot 
be identified from script code as all CustomParamSets have the same 'type' 
(customparamset).  The only way you can identify them is by name or by 
comparing parameters.  That is why the self installing CustomProperty was 
invented.

I've never heard of wanting to migrate from CustomProperty to CustomParamSet, 
so this is a bit odd.


Matt



From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Alan Fregtman
Sent: Thursday, June 13, 2013 11:00 AM
To: XSI Mailing List
Subject: Anyone got a tip to convert a customproperty to a regular 
customparamset?

Hey guys,

I have a customproperty defined in a plugin and it is used in a few assets, but 
I no longer care for the plugin and just want it to be a regular 
customparamset, however, Softimage complains that the plugin doesn't exist.

Is there a trick to converting a customproperty to a paramset without having to 
recreate parameters one by one?

Any help appreciated.
Cheers,

   -- Alan


Reply via email to