Custom Attributes

Tekla Structures Custom variables custom attributes template attributes dz chamfer
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 templates
in <EnvironmentFolder>\Environments\Common\system
 
Image
2015_06_16_05_59_561.png

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.
 
SNoVariable NameDescriptionData Type IntegerData Type String
1CUSTOM.IsBeamPlateThis 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)
2CUSTOM.WorkPointsLengthIt reports workpoint to workpoint lengthFloat 
3CUSTOM.StartConnectionAttributeIf 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
4CUSTOM.EndConnectionAttributeIf 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
5CUSTOM.QTY_IN_ASSEMBLYGets the quantity of single parts and this can be used in single part markQuantity in assemblyQuantity in assembly
6CUSTOM.HasDzReports at least one of contour plate/slab has a non zero 'dz' value0► 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
2015_06_16_06_10_022.png


Report will be generated , click on ID to highlight the part.
 
Image
2015_06_16_06_10_193.png



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
2015_06_16_06_11_346.png


Report will be generated , click on ID to highlight the part.
Image
2015_06_16_06_11_477.png



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
2015_06_16_06_10_474.png


Report will be generated , click on ID to highlight the part.
 
Image
2015_06_16_06_11_055.png


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
Qty in assy.PNG

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
HasDz.png


Report will be generated , click on GUID to highlight the part.

Image
image.png


 
Was this helpful?