Mapped macros are saved to the macro definition xml.
User can reference to xml attribute values in marked fields and combo box.
Reference to attributes in MacroMap, Macro and Shape elements:
[Element.Attribute]
For example [Shape.Type], [MacroMap.LocationXShift]
Reference to Value-attribute in Variable element:
[Name]
For example [BevelAngle], [A1]
User can concatenate strings and do arithmetic operations (+, -) in marked fields and combo box.
Reference |
Value |
-([A1]) |
-90 |
[Shape.LocationX] + [X1] |
10 |
AA_[Shape.Code]BB |
AA_BP0002BevelBB |
Available Variables |
Description |
MacroMap.Source |
Design system. (S3D, Aveva…) |
MacroMap.ProfType |
Profile type. (BE, AB…) |
MacroMap.LocationXShift |
Distance to original offset X value if value if left head has moved to 0. (0- Shape.LocationX) |
MacroMap.LocationXDistance |
Distance between X offset values of right and left end cut. (OFFSET_X) |
MacroMap.LocationX1Distance |
Distance between X1 offset values of right and left end cut. (OFFSET_X1) |
Shape.Code |
Identifier of macro (BP0014…) |
Shape.OrigType |
Original type of shape. (Right, Left) |
Shape.Type |
Type of shape. (Right, Left, Inner) |
Shape.OrigLocationX |
Original X offset value of shape if X offset value if left head has moved to 0. |
Shape.LocationX |
X offset value of shape. |
Shape.LocationY |
Y offset value of shape. |
Shape.MarginX |
Margin offset value in mm added for end cut. (Clamp margin + Endface margin.) |
Shape.MarginX_clamp |
Margin X offset value in mm added for end cut. Clamp margin. |
Shape.MarginX_endface |
Margin X offset value in mm added for end cut. Endface margin. |
Shape.MarginXGeom |
Margin X offset value in mm added for end cut. Geometry margin |
Shape.MarginXRef |
Margin X offset reference. This value is used when original end cut is changed to inner macro cut. Shape.MarginX=0 and Shape.MarginXRef= Shape.MarginX |
Shape.ValidLocation |
The location point used in Design System (OFFSET_X, OFFSET_X1). |