Rebuilds existing zone objects.
- select zone object(s)
- launch command
This command erases selected zone(s) then re-creates it/them again 'from scratch'.
- reading basic zone properties from existing zone
- reading information about attached labels
- reading zone contour from an 'area' element inside existing zone
- reading coordinates of openings if any
- reading custom attributes
- erasing existing zone
- creating new zone based on an 'area' element contour and obtained information
The point is that it is possible to manipulate a zone using native SketchUp tools (move, rotate, scale), but after such manipulation
some information stored in zone's properties becomes irrelevant (for example, area and perimeter will not match actual zone object's size
after scaling a zone).
It is also possible to manipulate elements inside zone group (area element, wall element(s), ceiling element etc). 'Rebuild' command takes
in account results of manipulations with 'area' element only and discards all other manipulations' results. So it is possible to launch
'Rebuild' command in order to 'undo' undesirable changes of internal zone's elements if any.
Since ver. 1.2.0 it is possible to create zones just by picking one single point inside a closed space in an active model.
Rebuilding of such kind of a zone goes on a bit differently.
- reading basic zone properties from existing zone
- reading information about attached labels
- reading coordinates of internal point (it is represented by tiny cross mark contained inside zone group)
- reading custom attributes
-
performing zone's contour tracing (refer to 'Contour Tracing' chapter for more info) in order to update
an array of zone's nodal points and openings
- erasing existing zone
- creating new zone based on contour tracing results (new nodal points and openings) and other obtained information
This method allows to take in account changes of actual geometry in an active model, which forms closed space where zone being
rebuilded is located. It is necessary to pay attention to a tiny cross, which represents an internal point. This
mark should be placed inside a closed space at room's floor level.
It is necessary to ensure that bounding geometry is actually visible before performing a rebuilding of such kind of a zone,
because contour tracing procedure traces only visible things (i.e. WYSIWYG flag is turned on).
Note that this limitation not only a limitation, because it allows to hide things, which are not a part of contour to be
traced (furniture, equipment, wall hanging light fixtures etc) before tracing.
In addition to attributes refreshing 'Rebuild' command re-attaches labels with new relevant information (area, perimeter, floor level etc)
if any.
In case if it is necessary to preserve manually made changes of zone group internal elements (wall, floor, ceiling, opening elements)
and refresh zone's quantitative attributes, which depend on mentioned elements, then 'Recalculate' command should be used. 'Recalculate'
command leaves geometry of zone group and its elements intact in contrast with 'Rebuild' command, but it refreshes quantitative attributes of
a zone either.