Instead of defining a Property as described in the superior Chapter Properties, it is possible to write a VB script. Therefore you insert a child element with the name <Propertyname>Script (e.g. TextScript).
If a script is defined, the attribute is ignored.
A script is supported for the following XML attributes (within the section Properties):
•Standard: Layer, LineType, Color, RgbColor
•Text: Text, Height, Alignment, ObliqueAngle, ScaleFactor, XOffset, YOffset, Position, TextFont
•Insert (Block): Blockname, ScaleX, ScaleY, ScaleZ, CoordX, CoordY,
•Text or Insert: Rotation, AddRotation
•Hatch: PatternName, PreverseBoundary, HatchBoundaryLayer, HatchBoundaryLineType, HatchBoundaryColor, HatchBoundaryRgbColor, HatchScale, HatchAngle
•Polyline: Width
•Acad attributes:
oStandard attributes: Layer, LineType, Color, RgbColor
oName, Index, Value, Rotation, Height, XOffset, YOffset, Tag, FollowFirstAtt, Position
Note: Scripting does not work if the input FeatureClass is an Annotation FeatureClass.
Example of a Rotation Script
Requirement:
If symbols are set in GIS with a geographic rotation and the rotation must look identical in AutoCAD, a script must additionally be added to the configuration.
Configuration:

respectively:
