In your master file, create a new layer comp and select the smart object. In Properties, select the layer comp you like to toggle.
Copy the smart object and create a new layer comp. In Properties, select the layer comp you like to toggle.
So you'll have multiple layers of your sub smart object in your master file but at least you can toggle a specific layer comp.
Does this make sense?
Its a great workaround. Thanks for that.
I would still prefer a proper solution however, avoiding unnecessary layers as much as possible. For example adding the ability for layer comps to store properties, as a fourth category.
I agree. Not ideal, really. I now have the same smart object 12 times in my Master.psd just so I can show the show various steps of a navigation header.
Well, at least it is an improvement.
Johan, I have the exact same question that arose from a nearly identical situation. El Duderino's answer is reasonable but far from satisfactory. I'm looking into writing a jsx script that might help minimize the layer proliferation.
I have the exact same problem. I thought this was the whole point of smart objects with layer comp states. Without this feature it seems pointless.
Avoiding having multiple layers is the reason you would use this. Now all we achieve is having smart objects instead of folders. Pretty ridiculous I must say.
It even seemed from the presentation of the "new and improved layer comps" that you could do this. They skip that specific functionality, but it seems implicit in the presentation.
Other thing is that the update position, style and visibility are buggy as hell. And another obvious feature of updating text-fields is missing as well.
So we have to find plugins to help us. BUT cc 2014 doesnt allow for flash plugins and no HTML5 plugins are available. Thank you Adobe!
I couldn't have said it better myself! I've been looking into a scripting
work around but it is very hard to target smart objects with scripts.
I agree - this would be an essential addition to the layer comp functionality.
Hey mate, any luck with the script? I've been looking around for weeks and a lot of people have the same issue with the layer comps but I couldn't find any scripts so far.
Not yet. I've learned a lot about Photoshop scripting, but haven't found a
way to get or set properties in smart objects. Not sure it is possible.
Photoshop needs to open up their API here.
On Thu, Sep 18, 2014 at 4:27 PM, El Duderino <email@example.com>
Thanks. I just hope that Adobe will fix this obvious missing feature soon