FR Custom Variables
1. Purpose and description
This set of custom variables extends the reporting capabilities of Tekla Structures. These variables are available throughout the system: reports, marks as templates, drawings, .Net API, filtering, object representation, etc…
4. Usage
To use the application:
- You will need to have the prefix “CUSTOM.” in front of each variable where used.
- Some of these variables rely on certain user-defined attributes to be used that come with Tekla Structures usimp and usmet environments. These are specified for each case.
- The output of these variables will be default metric, the same as any other system template variables. The output can be customized using the template editor formatting: E.g. Length -> ft-in -> 1/16”. To use these variables in the Organizer they need to be added manually (see TUA article - Create a custom property in Organizer).
- These new variables are added to the contentattributes_custom_fr.lst under environments/france/general/template/settings/.
4.1. Global Position
Name |
Type |
Row Type |
Description |
---|---|---|---|
CUSTOM.PART_GLOBAL_ANGLE_XY |
Distance |
Part |
Angle between the local X axis of a part and the global X axis on the XY plane |
4.2. Non-Specific
Name |
Type |
Row Type |
Description |
---|---|---|---|
CUSTOM.IFC_GUID |
String |
Part/Assembly |
GUID encoding in IFC |
CUSTOM.DIMENSIONS |
String | Part/Assembly | Returns Length x Width x Height |
CUSTOM.USEFUL_AREA_NET | Float | Part | Returns Net usable area |
CUSTOM.USEFUL_AREA_GROSS | Float | Part | Returns Gross usable area |
CUSTOM.PERIMETER | Float | Part | Returns Section perimeter |
CUSTOM.SLOPE_ANGLE_DEGREE | Float | Part | Returns Slope in degrees |
CUSTOM.SLOPE_ANGLE_PERCENT | Float | Part | Returns Slope in percent |
CUSTOM.WEIGHT_PARTS_IN_PHASE | Float | Part | Returns the total weight of parts in the Phase***. |
CUSTOM.GETPARTPHASE | Integer | Part | Returns the Phase of the part |
CUSTOM.RAYONS | String | Part | Returns all Radius values |
CUSTOM.RAYON | Float | Part | Returns the 1st Radius value |
CUSTOM.FINAL_LEVEL | Distance | Part | Returns Final Level |
CUSTOM.FINAL_LEVEL_UNFORMATTED | Float | Part | Returns Final Level unformated |
*** Careful with phases containing a large number of parts, as the calculation may take a long time.
4.4. Concrete Specific
Name | Type | Row Type | Description |
CUSTOM.RATIO | Float | Part | Returns Rebars Ratio (Kg/m3) |
CUSTOM.SLAB_THICK_MAX | Float | Part | Returns the highest value of all PROFILE.HEIGHT+Dz1-Dz2 values calculated for each handle of a slab. |
CUSTOM.SLAB_THICK_MIN | Float | Part | Returns the smallest of all PROFILE.HEIGHT+Dz1-Dz2 values calculated for each handle of a slab. |
CUSTOM.SLAB_SLOPE | Integer | Part | Returns 0 if all values of Dz1 or Dz2 are zero. Otherwise, 1 if minimum values 2Dz1 or Dz2 exist. |
CUSTOM.WEIGHT_WITH_CUTTING | Float | Cast Unit |
Exact actual weight of concrete elements, taking into account: concrete elements + reinforcements + mesh + strands + inserts. Inserts are modeled by associating a cut-out with another part. |
CUSTOM.WEIGHT_WITHOUT_CUTTING | Float | Cast Unit | Exact actual weight of concrete elements, taking into account: concrete elements + reinforcements + mesh + strands + inserts. Inserts are modeled without being associated with a part cut with another part. |
4.5. Rebar Specific
Name |
Type |
Row Type |
Description |
---|---|---|---|
CUSTOM.HAS_COUPLERS |
Integer |
Rebar |
Contains couplers. Returns 1 if true, 0 otherwise. |
CUSTOM.CREATION_METHOD | Integer | Rebar | Creation method |
CUSTOM.IS_REBARSET | Integer | Rebar | Is a set of armatures. Returns 1 if true, 0 otherwise. |
CUSTOM.SPACINGTYPE | String | Rebar | Spacing type |
CUSTOM.NO_SPACING | Integer | Rebar | Number of spacings |
CUSTOM.MESH_NAME | String | Rebar | Returns the Name in Mesh Catalog |
4.6. Steel Specific
Name |
Type |
Row Type |
Description |
---|---|---|---|
CUSTOM.HAS_LONGHOLES |
Integer |
Part |
Checks for the presence of longholes (bolt elements) in the part. Returns 1 if true, 0 otherwise. |
CUSTOM.HAS_COUNTERSUNK_HOLE |
Integer |
Part |
Checks for the presence of countersunk holes (bolt elements) in the part. Returns 1 if true, 0 otherwise. |
CUSTOM.COUNT_HOLES_OF_PART |
Integer |
Part |
Returns the number of holes in the part |
CUSTOM.IS_CONTOURPLATE |
Integer |
Part |
If the part is a contourplate. Returns 1 if true, 0 otherwise. |
CUSTOM.NUMBER_OF_FOLDS |
Integer |
Part |
Returns the number of folds in ploybeam |
CUSTOM.HAS_STUDS_FR | Integer | Part | Checks that the part contains "stud" type elements ex.NELSON, UNDEFINED_STUD, STUD.... Returns 1 if true, 0 otherwise. |
CUSTOM.CUT_LENGTH | Float | Bolt | Returns cut length |
CUSTOM.ROWS_NUMBER_BOLTS_X | Integer | Bolt | Returns the number of bolt rows in X |
CUSTOM.ROWS_NUMBER_BOLTS_Y | Integer | Bolt | Returns the number of bolt rows in Y |
CUSTOM.SPECIAL_HOLE_TYPE | String | Bolt | Returns Special Hole Type |
CUSTOM.POWERFAB_SHAPE_FR | String | Part | PowerFab shape: returns the manufacturer's name from the catalog (without spaces) If empty, returns nothing. For platess, check in fltprops if flat bar or by contour plate and return PL or TOLE. |
CUSTOM.POWERFAB_DIMENSION_FR | String | Part | PowerFab dimension: refers to profile. for flats refers to th x width |
CUSTOM.CUSTOM.POWERFAB_SUBASS_FR | String | Part | Returns the level N+1 assembly mark if the part is in a sub-assembly |
5. Changes
March 5, 2024: version 2023 SP9 & 2024 finale
- Add CUSTOM.POWERFAB_SUBASS_FR used to export the France environment to Tekla Powerfab
June 2, 2023: version 2023 SP4
- Add CUSTOM.POWERFAB_SHAPE_FR and CUSTOM.POWERFAB_DIMENSION_FR used with the Tekla Powerfab list of the france environment
March 14, 2023: version 2023
- Removed CUSTOM.PART_TYPE because it duplicates the US dll
March 14, 2022: version 2022
- Creation of a FRCustomVariables.dll containing only those created by Trimble France. The USCustomVariables.dll is installed with the France env.
March 30, 2016: Version 2016 release of the first version
- CUSTOM.US and add the first CUSTOM.FR