Custom Attributes
Not version-specific
Tekla Structures
Environment
Not environment-specific
Few attributes are available in model but cannot be called in reports. This extension installs a set of new variables & which allows to use them wherever it is required such as in reports, marks as templates, drawings, API, filtering, object representation, etc.
How to Locate
After successful installation of Custom attributes setup , you can find all the three report templatesin <EnvironmentFolder>\Environments\Common\system
Image
Reports can also be accessed form Drawings & Reports Menu -> create Report Dialog
The following report templates will be available after installation.
1. Part_BeamPlate_OR_ContourPlate.rpt
This reports whether plate is modelled with contour plate or beam.
2. Part_WorkPointsLength.rpt
This reports the workpoint length of Part.
3. Connection_Missing Report.rpt
This reports whether connections exist at Member ends.
4. Quantity in assembly
This attribute is useful to call in single part quantity in part mark for an assembly.
5. Chamfer-hasdz.rpt
This report has a custom attribute named CUSTOM.HasDz. If any of the contour plate or slab chamfer has a 'dz1' or 'dz2' value, it reports as '1' else it reports 0. It can report value as text as well. In this case any contour plate or slab chamfer has 'dz' values, it reports as 'yes' else it reports as 'no'.
Usage
In report templates and part marks you can call below attributes and also they are available in sample reports which comes with installation.| SNo | Variable Name | Description | Data Type Integer | Data Type String |
|---|---|---|---|---|
| 1 | CUSTOM.IsBeamPlate | This attribute shows contour plate if contour plate is used for modelling plate, it reports beam plate if Beam plate is used for modelling plate | 0►Contour plate 1►Beam plate -1►Not a plate | Contour Plate Beam Plate and Not a plate (Filter rule can be used to avoid) |
| 2 | CUSTOM.WorkPointsLength | It reports workpoint to workpoint length | Float | |
| 3 | CUSTOM.StartConnectionAttribute | If a connection macro is applied near start point of beam then it returns 1 else 0. Connection is recognised when connection symbol is very close to solid. | 0►No connection applied 1►connection applied | Listing connection names with connection number |
| 4 | CUSTOM.EndConnectionAttribute | If a connection macro is applied near end point of beam then it returns 1 else 0. Connection is recognised when connection symbol is very close to solid. | 0►No connection applied 1►connection applied | Listing connection names with connection number |
| 5 | CUSTOM.QTY_IN_ASSEMBLY | Gets the quantity of single parts and this can be used in single part mark | Quantity in assembly | Quantity in assembly |
| 6 | CUSTOM.HasDz | Reports at least one of contour plate/slab has a non zero 'dz' value | 0► Each and every dz1, dz2 values of conour plate/ slab chamfer is zero. 1► Atleast one of dz1, dz2 values of contour plate/ slab is chamfer is non zero | no► Each and every dz1, dz2 values of conour plate/ slab chamfer is zero. yes► Atleast one of dz1, dz2 values of contour plate/ slab is chamfer is non zero |
1. Beam plate or Contour Plate
Go To Drawing & Reports ► create report
Select the sample report Plate_Beam Plate OR Contour Plate from dialog.
Pick members which you want to check & generate report
Image
Report will be generated , click on ID to highlight the part.
Image
2. Work point length
Go To Drawing & Reports ► create report option
Select the sample report Part_WorkPont Length from dialog.
Pick members which you want to check & generate report
Image
Report will be generated , click on ID to highlight the part.
Image
3. Missing Connection Report
Go To Drawing & Reports ► create report
Select the sample report Connection_Missing_report from dialog.
Pick members which you want to check & generate report
Image
Report will be generated , click on ID to highlight the part.
Image
Limitation : This works based on component origin from end of the member hence it won't give appropriate results at top of the column.
4. Quantity in assembly
Double click part mark ► Add "User-defined attribute"► enter "CUSTOM.QTY_IN_ASSEMBLY"►Modify part mark
This adds the quantity of single part in mark as highlighted in red in below image.
Image
4. Chamfer Attribute: CUSTOM.HasDz
Go To Drawing & Reports ► create report
Select the sample report 'Chamfer-hasdz' from dialog.
Pick parts (conour plate / slab) which you want to check & generate report.
Image
Report will be generated , click on GUID to highlight the part.
Image