Inhalt

Index

General Changes and New Features

New Types of SmartParts

There are four new types of SmartParts for the use in wall openings:

> door

> window

> sill

> solar protection

Important!
There is no AutoRefbox for SmartParts of the new types door, window, sill and solar protection. In this case the Calculate automatically check box for Reference box (register Parameter) is greyed out.

Input point for opening SmartParts

The input point for opening SmartParts is bottom left.

Opening SmartParts in active background drawings

An opening SmartPart can be placed on a drawing file opened in the edit mode (active background); the wall with the opening has to be part of this drawing file.

Renaming of parameters

The renaming of parameters on the Parameters register is possible from now on.

Format and placement only while the SmartPart is created

Up to now a SmartPart script without any LAYER, COLOR, PEN or STROKE command had the property Format –> Placement. From now on this rule is valid only for creation, but not for modification. The same behaviour is valid for the command DRAW_SEQ.

Important!
If a color or pen command in the script was performed during a SmartPart update the former properties of the placement stay as they are. Double click right does not overtake the placement properties.

Snap point of switch and value handles

Switch and value handles do not have snap points any longer.

Refresh of label styles

A label style refered to SmartParts will be refreshed after modifying a SmartPart.

Initial value for arrays

If the dimensions of an array are set to "expandable" it is possible to start a redim of the array by writing a value.

Examlpe: tst[20][3]=1
(The array will be enlarged to tst[20][3] with the initial value for each entry.)

Just reading a value out of the borders forces no redim, only the initial value will be given as return value.

Example: PRINT tst[21][3] -> return is “3700.00”

Option "Use last used parameters"

If in the SmatPart Settings dialog the Use last used parameters check box is activated and the parameter has a “+” in the column “S”, the parameter out of the smv file in Usr\local\temp folder will be used, as soon as the SmartPart is created in a drawing file. This can happen by drag & drop or by choosing it from the palette.

If the Use last used parameters check box is not activated, always the parameters in the script will be used.

The default setting for the Use last used parameters check box is activated.

Search for identical SmartParts via hash value

While creating or modifying a SmartPart Allplan searches for macrodef blocks with an identical hash value. If a def block with identical hash value is found, this block will be used for all SmartParts containing this hash value.

The hash value is set by the new flag G on the Parameter register.

Important!
The mirroring state of a placement can be also used for the hash value. This behaviour is implemented in each of the opening SmartParts. The hash value search is also valid for drawing files opened in the edit mode (active background).

Cache for precompiled code

It is possible to speed up SmartParts by saving and using precompiled code; the code is stored under:

C:\Users\<user>\AppData\Local\Nemetschek\Allplan\...\Tmp\SmartParts

Set the following options in the SmatPart Settings dialog:

> Activate the Script-Cache check box for using a single script-cache.

> Activate the Optimized refresh check box for using script-cache in different caches; in this case the stringtable will not each timebe read completely.

Unicode support

SmartParts V2014 and the .smt files have full Unicode support.

The Header of the .smt files was changed to: <?xml version="1.0" encoding="UTF-8"?>

The string tables for all languages are readable.

For use of Unicode .smt files in a former Allplan ANSI version, which only can process ANSI .smt files: Save Unicode SmartPart, open it with notepad++ and convert it to ANSI.

Encryption

The encryption for SmartParts was enforced.

The stronger encryption is valid for SmartParts created from the scratch in Allplan 2014. Encrypted SmartParts created with Allplan versions 2013 and 2012 will be encrypted using the old encryption furtheron.

Important!
As a result SmartParts created and encrypted in Allplan 2014 can not be used in the Allplan versions 2013 and previous!

Error management

From now on, after a NOI exception the reading of the SmartPart will be stopped. Following the exception dialog a message box appears showing an Unknown error.

Now a new SmartPart can be chosen.



Allplan

(C) ALLPLAN GmbH

Privacy policy