News:

Happy New Year!

Main Menu

Splitting data from graphics

Started by Yacine, August 13, 2010, 02:09:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yacine

Let's say you have put already a lot of work in the customisation of a shape and realise that you need additional shapes connected to your basic shape.
You could either
1) Transform your shape into a group (shapes/grouping/ transform into group) but you would then have the graphics in your main shape, which is not always good as this geometry is always on front of the sub-shapes and the maintainability and flexibility suffer from this solution.
2) Group the shape and you get a new shape as parent group and your shape as sub-shape. Disadvantage is that the shape data are now in the sub-shape. Not good.

The solution is simple and obvious:
- Duplicate your initial shape.
- Group the first one, cut the second one from the page, open the first one (edit / group) and insert the cut shape.
- Now open the shapesheet of the group and delete the geometry sections.
- Open the sub-shapes shapesheet and delete the data sections.


Done.
Yacine

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 133 (show)
Files included: 32 - 1207KB. (show)
Memory used: 993KB.
Tokens: post-login.
Cache hits: 13: 0.00158s for 26,543 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]