To prepare for a full implementation of AutoElevations
in 16.5 Minor, interface changes around AutoMeasure
has been done.
The WgApplianceEnvSnapperDibButton
class has been removed as LazySnapper3DMemoryButton has been updated to use DibImage.
Old: public class WgApplianceEnvSnapperDibButton extends SnapperImageButton { New: public class WgApplianceEnvSnapperButton extends LazySnapper3DMemoryButton {
When adding a measure to the group, the snapper which the measure belongs to needs to be passed along with it.
Old: final public void add(KitchenAutoMeasure measure) { New: final public void add(Snapper snapper, KitchenAutoMeasure measure) {
createAutoMeasures
now returns which snapper
that are mapped to which AutoMeasure
s.
Old: public KitchenAutoMeasure{} createAutoMeasures(Snapper{} snappers) { New: public Snapper->KitchenAutoMeasure{} createAutoMeasures(Snapper{} snappers) {
accept
now requires the AutoMeasure
which belongs to the snapper.
Old: final public bool accept(Snapper z) { New: final public bool accept(Snapper z, KitchenAutoMeasure measure) {
autoMeasureToGroups
now requires the AutoMeasure
s to be mapped from their Snapper
.
Old: public KitchenAutoMeasureGroup[] autoMeasuresToGroups(KitchenAutoMeasure{} measures, symbol category=null) { New: public KitchenAutoMeasureGroup[] autoMeasuresToGroups(Snapper->KitchenAutoMeasure{} measures, symbol category=null) {
The global public function updateAutoMeasures
now have closeElevationDialog=false
as a default argument.
Old: public void updateAutoMeasures(Space space) { New: public void updateAutoMeasures(Space space, bool closeElevationDialog=false)
The multiple Kitchen Part class constructors have been expanded and split to support the new part pricing system (introduced in 16.5).
New constructors now accept basePrice
and optionPriceSum
separately.
Old constructors that use list price will remain available until old pricing system is deprecated.
cm.core.part.Part
compile-time section for more migration tipsNew : public str key;
New: public guid gid; New: public str{} snapperGidSet(); New: public KitchenAutoMeasure->Snapper measureSnapperMap() : copy=null; New: public symbol spaceVolumeId;
New: final public void generateGid(Int idx=null) {
New: extend public bool allowAutoElevations() : null=false {