As the description says in the link in my previous post, it copies the colour or texture you have set to an item to other items you have selected. For example it can copy the texture of the sink to the bathtub and the toilet.
Joined: Aug 20, 2010
Post Count: 13
Status:
Offline
Re: new plugin ready to use - duplicate style plugin
What do you mean? If I understand correctly you double click to the item and select the radio button "Default colors and textures" and then do the duplicate style process.
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: new plugin ready to use - duplicate style plugin
As it modifies the selection, your plug-in should handle undo/redo too with the UndoableEditSupport object returned by getUndoableEditSupport. Look at other plug-ins or at PlanController class for many examples.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Jul 16, 2010
Post Count: 50
Status:
Offline
Re: new plugin ready to use - duplicate style plugin
Works very well, thanks. I wonder if it could be extended to "reverse" right and left face colours.
That way it can be used as a fast way to give all "inner" walls of a room one colour. Or for giving a brick texture to all outer walls of a house -- and the inside coloured.