• No results found

Classifier

In document Tekla - Advanced Functions (Page 36-64)

Classifier principle

The classifier enables you to create different drawing styles.You can use the clas-sifier to control the drawing properties for different types of model objects, for example:

• Different phases in separate colors

• Different parts in separate colors

• Different material grades in separate colors

Except colors, you can also apply this to the position of part marks for each sepa-rate profile, phase and material grade.

The picture below shows an example how to use the classifier. The phases appear in separate colors. Also the position of the part marks differs for each phase.

The classifier works by using a specific naming convention for saved properties.

We create them in steps. Once created, you can use them, of course, again and again. It enables you to create drawings containing a specific style every time!

phase 1 phase 2

phase 3

phase 4

Classifier 31 The classifier uses the following properties:

• general arrangement drawing properties

• view filter properties

• object properties, for example; part, part mark, bolt and bolt mark

The classifier works by using a specific naming convention for saved properties (see picture below).

On the basis of several examples we will explain how the classifier works.

Make sure that the names that you use for the properties match to each other!

The name of the object properties must always start with “filter_”!!

32 Classifier

“Phase” properties

You now learn how to create a drawing in which different phases appear in dif-ferent colors.

Define drawing properties

1. Go to > Properties > General arrangement drawing. Create a general arrangement drawing property, enter the name “phase” in the text box and click <Save as>.

Creating view filters

2. Create view filters to define the specific group of model objects, whose appearance you want to define. In this example every phase appears in a cor-responding color on a drawing. So for each phase we create a view filter, one view filter for phase 1, one view filter for phase 2, etc.

3. Open any drawing and double-click on a view. Click on the button Filter. In the dialog box View filter properties go to the tab Numbers and define the setting so that phase 1 is filtered (see picture below). Enter the name phase 1 in the text box and click <Save as>.

4. Repeat the steps for all phases you want to define. In this example: phase 2, phase 3 and phase 4. Click <Cancel> to close the dialog box!

Do not click <Apply>, as this will apply the current filter to the entire drawing and the Classifier will not work! Just click

<Cancel>.

Classifier 33

Creating drawing object property files

5. For each phase you can define the corresponding color who appears on a drawing. In this example phase 1, 2, 3 and 4. Double-click on a view and click on the button Part. Define the setting for phase 1. Enter the name filter_phase_phase1 in the text box and click <Save as>. (see picture below).

6. Repeat these steps for all phases you want to define. In this example:

filter_phase_phase2, filter_phase_phase3 and filter_phase_phase4. Click

<Cancel> to close the dialog box!

Always use view filters when you use the Drawing Classifier.

The Drawing Classifier does not recognize select filters!

34 Classifier

7. For all phases a specific color is defined. Of course it is possible to define part mark property files for each phase, or to change the appearance. Follow the steps we used for defining the part colors for each phase.

8. So now you can define the appearance and position of part mark property files for each phase. In this example phase 1, 2, 3 and 4. Double-click on a view and click on the button Part mark. Define the setting for phase 1.

Enter the name filter_phase_phase1 in the text box and click <Save as>.

(see picture below).

9. Repeat the steps for all phases you want to define. In this example:

filter_phase_phase2, filter_phase_phase3 and filter_phase_phase4. Click

<Cancel> to close the dialog box!

Classifier 35

Creating drawings

10. Go to > Properties > General arrangement drawing... Click the down arrow in the Load text box and select the phase drawing properties you cre-ated. Click <Load> (see picture below). Now create the general arrange-ment drawing.

You will see that a drawing is created in which different phases appear in differ-ent colors.

“Profile” properties

You now learn how to create a drawing in which different parts for each part name appear in different colors. So all columns in a specific color, all beams in a specific color.

phase 1 phase 2

phase 3

phase 4

36 Classifier

Define drawing properties

1. Go to > Properties > General arrangement drawing. Create a general arrangement drawing property, enter the name “profile” in the text box and click <Save as>.

Creating view filters

2. Create view filters to define the specific group of model objects, whose appearance you want to define. In this example every type of profile appears in a corresponding color on a drawing. So for each profile we create a view filter, one view filter for columns, one view filter for beams, etc.

3. Open any drawing and double-click on a view. Click on the button Filter. In the dialog box View filter properties go to the tab Numbers, and in the fil-ter string text box next to Filfil-ter by Assembly position enfil-ter “C*”. (for beams B*). In the text box next to the <Save as> button, enter “column” and click <Save as>. (see picture below)

Classifier 37 4. Repeat the steps for all profiles you want to define. In this example: beam,

bracing and tube. Click <Cancel> to close the dialog box!

Creating drawing object property files

5. For each profile you can define the corresponding color who appears on a drawing. In this example column, beam, tube and bracing. Double-click on a view and click on the button Part. Define the setting for columns. Enter the name filter_profile_column in the text box and click <Save as>. (see pic-ture below).

38 Classifier

6. Repeat the steps for all profiles you want to define. In this example:

filter_profile_tube, filter_profile_bracing and filter_profile_beam. Click

<Cancel> to close the dialog box!

Creating drawings

7. Go to > Properties > General arrangement drawing... Click the down arrow in the <Load> text box and select the profile drawing properties you created. Click <Load> (see picture below). Now create the general arrange-ment drawing.

You will see that a drawing is created in which different types of profiles appear in different colors.

Classifier 39

“Material” properties

You now learn how to create a drawing in which different types of material grades appear in different colors.

Define drawing properties

1. Go to > Properties > General arrangement drawing. Create a general arrangement drawing property, enter the name “material” in the text box and click <Save as>.

Creating view filters

2. Create view filters to define the specific group of model objects, whose appearance you want to define. In this example every material grade appears in a corresponding color on a drawing. So for each grade we create a view filter.

40 Classifier

3. Open any drawing and double-click on a view. Click on the button Filter. In the dialog box View filter properties go to the tab Parts, and in the filter string text box next to Part Material enter “C20-25”. In the text box next to the <Save as> button, enter “C20-25” and click <Save as>. (see picture below):

4. Repeat the steps for all material grades you want to define. In this example:

timber, S235JR. Click <Cancel> to close the dialog box!

Classifier 41

Creating drawing object property files

5. For each material grade you can define the corresponding color who appears on a drawing. In this example C20-25, timber and S235JR. Double-click on a view and click on the button Part. Define the setting for material grade C20-25. Enter the name filter_material_C20-25 in the text box and click

<Save as>. (see picture below).

6. Repeat the steps for all material grades you want to define. In this example:

filter_material_timber and filter_material_S235JR. Click <Cancel> to close the dialog box!

42 Classifier

Creating drawings

7. Go to > Properties > General arrangement drawing... Click the down arrow in the <Load> text box and select the material drawing properties you created. Click <Load> (see picture below). Now create the general arrangement drawing.

You will see that a drawing is created in which different types of material grades appear in different colors.

Classifier 43

"Supplier" properties

You now learn how to create a GA drawing in which user-defined attributes are used. In this case the user-defined attributes Steel supplier.

All parts with the user-defined attribute Steel supplier appear on the drawing in Orange, also the Hidden lines and the Own hidden lines will be displayed.

Besides, all marks are displayed.

The other parts will appear on the drawing in White. The Hidden lines, the Own hidden lines and the marks will not be displayed:

44 Classifier

Open the model Supplier, you can download the model from the Construsoft Xtranet.

This model contains parts in which the user-defined attributes on the tab Supplier are set to, for example, Steel supplier or Glass supplier.

Define drawing properties

1. Go to > Properties > General arrangement drawing. Create a general arrangement drawing property, enter the name “steelsupplier” in the text box and click <Save as>.

Creating view filters

First we have to find out in the model what we need to enter in the view filter in the drawing:

2. The view filters define the specific group of model objects, whose appear-ance you want to define. In this example all parts containing the user-defined attribute Steel supplier appear on a drawing in a specific color.

3. Click Setup > Select filter... to open the dialog box Object group- select filter

4. To find out easily what to enter for the filter properties, go to the column Category and select Object

5. In the column Property select the option Supplier in the list box 6. In the column Condition select the option Equals

7. In the column Value select the option Select from model...to select the con-cerning part in the model.

Classifier 45 8. Click on a steel part, in the column Value the digit 1 appears. You can filter

on this.

46 Classifier

9. Open any drawing and double-click on a view. Click on the button Filter. In the dialog box View filter properties go to the tab User attributes and define the setting. Save this setting steel in <Save as> as follows:

10. Repeat the steps if necessary for the other suppliers you want to define.

Click <Cancel> to close the dialog box!

Do not click <Apply>, as this will apply the current filter to the entire drawing and the Classifier will not work!

Always use view filters when you use the Drawing Classifier.

The Drawing Classifier does not recognize select filters!

Classifier 47

Creating drawing object property files

11. For user-defined attribute Steel supplier you can define the corresponding color who appears on a drawing. Double-click on a view and click on the button Part. Define the setting for steel. Enter the name

filter_steelsupplier_steel in the text box and click <Save as>. (see picture below).

12. Repeat the steps for the user-defined attribute values you want to define. In this example: filter_timbersupplier_timber and filter_glasssupplier_glass.

Click <Cancel> to close the dialog box!

48 Classifier

13. You can also define the part marks. Double-click on a view and click on the button Part marks. Define the setting for steel. Enter the name

filter_steelsupplier_steel in the text box and click <Save as>. (see picture below).

14. Repeat the steps for other user-defined attribute values you want to define.

Click <Cancel> to close the dialog box!

Classifier 49

50 Classifier

Creating drawings

15. Go to > Properties > General arrangement drawing... Click the down arrow in the <Load> text box and select the Steelsupplier drawing proper-ties you created. Click <Load> (see picture below). Now create the general arrangement drawing.

You will see that all parts with the user-defined attribute Steel supplier appear on the drawing in Orange, also the Hidden lines, the Own hidden lines and the marks are displayed.

Classifier 51

Exercise

It may occur that an existing project needs some additions, for example an awning. On a GA-drawing the following has to be set:

• Only for the awning, part marks have to be added, not for the existing structure

• The parts of the existing structure are displayed as dotted lines, the part lines of the awning are displayed as full lines.

For this exercise you can make use of model Hal_1. Create a GA drawing and make use of a classifier setting:

52 Classifier

Step plan 1. Make sure the awning is in a unique phase in the model (e.g. phase2) 2. Open the phase manager

3. Select phase 2 and click <Objects by phase>, all parts who belong to the awning will highlight in the model view

4. Click the icon Fit work area by parts in selected views or in the pull-down menu go to View > Fit work area, The work area is now sized to the awning:

5. In the GA drawing properties, adjust the setting “phase”

Fitted work area

Classifier 53 6. Now create a GA drawing by making use of the setting “phase”

If necessary, you can resize the view in the drawing.

54 Classifier

Classifier for assembly- and cast unit drawings

You can use the Drawing Classifier not only for general arrangement drawings, but also for assembly- and cast unit drawings.

You now learn how to create an assembly drawing in which several welded parts appear in different colors. These parts also appear with different part marks.

On the basis of an examples we will explain how the classifier works

Define drawing properties

1. Go to > Properties > Assembly drawing. Create an assembly drawing property, enter the name “beam” in the text box and click <Save as>.

Creating view filters

2. In this example all different welded parts appear in a corresponding color on the assembly drawing. So for each welded part we create a view filter. You must create the filter for assembly drawings in the general arrangement drawing filter!

Classifier 55 3. Open any drawing and double-click on a view. Click on the button Filter. In

the dialog box View filter properties go to the tab Parts and define the set-ting. In the text box next to the <Save as> button, enter stiffener and click

<Save as>, see picture below:

4. Repeat the steps for all welded parts you want to define. In this example:

cleat and haunch. Click <Cancel> to close the dialog box!

56 Classifier

Creating drawing object property files

5. For each welded part you can define the corresponding color on the assem-bly drawing. In this example stiffener, cleat and haunch. Go to > Properties

> Assembly drawing... > Part. Define the setting for stiffener. Enter the name filter_beam_stiffener in the text box and click <Save as>. (see picture below).

6. Repeat the steps for all parts you want to define. In this example:

filter_beam_cleat and filter_beam_haunch. Click <Cancel> to close the dialog box!

Classifier 57

Creating drawings

7. Go to > Properties > Assembly drawing... Click the down arrow in the Load text box and select the beam drawing properties you created. Click

<Load> (see picture below). Now create the general arrangement drawing.

You will see that a drawing is created in which different welded parts appear in different colors.

The Drawing Classifier can only be used for objects you can fil-ter!

58 Creating toolbars, own pull-down menu’s and shortkeys

3.5 Creating toolbars, own pull-down menu’s and

In document Tekla - Advanced Functions (Page 36-64)

Related documents