Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can string two or more attributes together using Composite text attributes. Composite text attributes are available for Items, occurrences and products and allow you to concatenate values in existing attributes into a new text value in a separate attribute.

Note

Currently, this feature can not be exported to xml or PDF, but is available in Excel Exports as well as in Revit/ArchiCAD Add-On configurations.

Combining existing attributes to composite text

Setup

To be able to create composite text you need superuser access to your dRofus database. From the top menu in dRofus navigate to Administration→ Settings→ Items;

Image Removed

There are three options for composite text attributes under Items; Item - Composite text attributes, Occurrences - Composite text attributes, and Product - Composite text attributes.

In this example, a Composite Text Attribute will be created for items. The described process can be used for occurrences and products as well. 

To create new composite text (for items), go to 'Item - Composite text attributes' and click 'Add':

Image Removed

...

  • The two icons on the left offer a list of formatting choices with a small description and a way to preview the results with sample data you can provide to confirm the formatting you expect. 

...

複合テキスト属性を使用すると、2 つ以上の属性を連結することができます。複合テキスト属性は、アイテム、オカレンス、および製品で使用でき、
既存の属性の値を別の属性の新しいテキスト値に連結することができます。

Note
title備考

現在、この機能はxmlやPDFにはエクスポートできませんが、ExcelエクスポートやRevit/ArchiCADアドオン構成では利用できます。

既存の属性を組み合わせてテキストを合成

設定

複合テキストを作成するには、dRofusデータベースへのスーパーユーザのアクセス権が必要です。dRofusのトップメニューから管理→設定→アイテムに移動します;

Image Added

アイテム (Items) の下の複合テキスト属性には3つのオプションがあります;アイテム - 複合テキスト属性、オカレンス - 複合テキスト属性、プロダクト - 複合テキスト属性。

この例では、アイテムに対して複合テキスト属性が作成されます。説明したプロセスは、オカレンスや、製品に対しても使用できます。

新しい複合テキスト (アイテムに対して) を作成するには、"Item - Composite text attributes (アイテム - 複合テキスト属性)" に進み、"Add (追加)" をクリックします:

Image Added

  • 名前:複合テキストを含む新しい属性の名前。
  • グループ:部屋プロパティパネル内の、属性を配置するセクションです。”Classification (分類)"のような既存のグループを使用することも、新しい名前を入力することもできます。
  • ツールヒント (Tooltip):属性上にカーソルを置くと、オプションのヘルプ・テキスト (help text ) が表示されます。
  • プロパティパネルに表示:複合テキスト属性を部屋プロパティパネル内に表示する場合は、これを選択してください。ほとんどの場合、この属性は表示されます。
    しかし、プロジェクトによっては、dRofus内でテキストを表示することなく、テキストのみをモデルに直接同期させる必要がある場合もあります。
  • フォーマット:フォーマットとフィールドの組み合わせは、計算属性がどのように組み合わされているかを示しています。リストの最初の属性を参照するには {0}を、
    2つ目の属性を参照するには {1}を、というように使います。また、属性に特別な書式設定を適用して、テキストの大文字と小文字の区別や、数字や日付の表現方法を変更したり、
    テキストの一部を選択したり、論理的な条件に基づいてテキストを選択したりすることもできます。
    • 左側の2つのアイコンは、書式設定の選択肢を一覧表示し、簡単な説明と、サンプルデータを入力して結果をプレビューすることで、期待する書式設定を確認することができます。
  • フィールド:"Add/remove fields (フィールドの追加/削除) "を選択して、新しい属性に含めるフィールドを追加します。

In our example we have following settings;

We have named the attribute 属性名を "Name (名前)- BIM ID" and placed it in the 'General' group in the item property panel. We have typed in a Tooltip and included it in the property panel. We have added "Name" and "BIM ID" as fields and decided that the fields " とし、アイテム・プロパティ・パネルの "General (一般)" グループに配置しました。ツールチップを入力し、プロパティパネルに含めました。
フィールドとして "Name "と "BIM ID "を追加し、フィールド({0} {1}) should be combined with a hyphen (see the 'Composite text' option).

The result in the item property panel will look like this;

Image Removed

The group is highlighted in blue. Then the values in をハイフンで結合することにしました ("Composite text (複合テキスト)" オプションを参照)。

アイテム・プロパティ・パネルの表示は次のようになります;

Image Added

グループは青でハイライトされています。次に、'BIM ID' and 'Name (名前)' (highlighted in orange) have been combined in a composite text attribute in our new attribute オレンジ色でハイライト表示)の値が、
新しい属性'Name - BIM ID'(highlighted in yellow)

Combining existing attributes with URL to create composite text

In the next example, we will describe how you can create a full URL by combining an existing attribute with part of a URL. The part URL will be a static value, while the dRofus attribute will be another static value that, in combination, will create a dynamic URL. In this example, we will use composite text for products. This process can be used to create online URLs or links to products in external product databases.

Setup

The setup will follow the same pattern as above; however, instead of adding two existing attributes, we want to combine one attribute with a static URL.;

Image Removed

In the 'Fields' option, we have simply pasted the static part of the URL to IKEA's product (highlighted in yellow). Then we added the product number from dRofus to complete my composite text attribute. The idea is that this combination will automatically create a valid URL to the product specifications.

The result in the product property panel will look like this:

Image Removed

In the 'Product URL' attribute, we have used composite text to create a full URL by combining an existing dRofus attribute with a static part of an URL. 黄色でハイライト表示)の複合テキスト属性に結合されました。

既存の属性とURLを組み合わせて複合テキストを作成する

次の例では、既存の属性とURLの一部を組み合わせて完全なURLを作成する方法を説明します。その部分のURLは静的な値となり、dRofus属性は別の静的な値となり、
これらを組み合わせて動的なURLを作成します。この例では、製品に複合テキストを使用します。
このプロセスは、オンラインURLや外部製品データベース内の製品へのリンクを作成するために使用することができます。

設定

セットアップは上記と同じパターンに従います。しかし、既存の2つの属性を追加する代わりに、1つの属性を静的URLと組み合わせてみます;

Image Added

"フィールド (Fields)" オプションでは、IKEAの製品へのURLの静的な部分 (黄色でハイライト表示) を単純に貼り付けました。
次に、dRofusの製品番号を追加して、複合テキスト属性を完成させました。この組み合わせにより、製品仕様への有効なURLが自動的に作成されます。

製品プロパティ・パネルの表示は次のようになります:

Image Added

"Product (製品) URL" 属性では、既存のdRofus属性とURLの静的な部分を組み合わせることで、完全なURLを作成するために複合テキストを使用しています。