你在这里: Popular Formats > 宾利MicroStation设计读写器 > 特征表示 > 多文本字符串

多文本字符串

igds类型:igds\多\u文本

多文本字符串特征对应于一个IGDS文本节点(元素类型7),该节点将一系列IGDS文本元素(元素类型17)组合在一起,每个元素的复数位都已打开。此功能使用与文本节点相同的属性名称,并且具有文本字符串属性的功能属性列表。该列表称为igds_text_elements {#},在哪里#从0开始,每个文本元素递增。列表的项名称与文本字符串特性属性相同。

提示:提示:可以使用多个文本字符串将文本分组,以便使用MicroStation将其作为单个实体进行操作。

多文字要素是点要素,并且只有一个坐标。创建文本节点时使用此坐标。如果要素本身没有坐标,则使用第一个文本字符串的坐标创建文本节点。每个文本字符串的坐标使用以下属性名称存储在FME功能中。

属性名称

目录

igds#文本#元素{#}.x

The x coordinate of the #th text element.

Range:任何实数

违约:无违约

可指责的:Yes

igds#文本#元素{#}.y

第#个文本元素的y坐标。

Range:任何实数

违约:无违约

可指责的:Yes

igds#文本#元素{#}.z

第#个文本元素的z坐标。

Range:任何实数

违约:0

可指责的:Yes

igds \u串数\u

多文本功能中的文本元素数

igd_split_multitext

如果拆分多个文本,则使用值“yes”添加到要素。

违约:无违约

如果特定文本元素的设置不在igd_text_elements列表中,则将使用为上一个文本元素指定的设置。如果第一个元素没有指定某些设置,则将从文本节点借用相应的设置。

提示:提示:重新投影多文本字符串功能时,它的旋转和文本大小也会自动调整,以在新的坐标系中保持正确。

例如,下面的部分传输规范指定的FME特性将创建一个文本节点,后跟两个文本字符串,作为单个复杂元素。

IGDS 32 IGDS\u type IGDS\u multi\u text\IGDS\u node\u number 15\IGDS\u font 31\IGDS\u rotation 0\IGDS\u text\u size 40\IGDS\u color 2\IGDS\u justification 1\IGDS\u text\u elements{0}.IGDS\u font 33\IGDS\u text\u elements{0}.IGDS\u rotation 3.1\IGDS\u text\u elements{0}.IGDS\u text\u size 52\IGDS\u text\u elements{0}.IGDS\u color 4\IGDS\u text\u elements{0}.IGDS\u text\u string您好\igds\u text\u elements{0}.x 477556\igds\u text\u elements{0}.y 5360183\igds\u text\u elements{0}.z 20\igds\u text\u elements{1}.igds\u text\u string World\igds\u text\u elements{1}.x 47755\igds\u text\u elements{1}.y 5359177\igds\u text\u elements{1}.z 20

Note that in this example, the justification code (1) used for the text node would be propagated to each of the text elements, but that the color used in the text node (2) would not be used in any of the text elements because the first one set the color to 4.

IGDS写入程序根据本传输规范创建的FME特性的内存快照如下所示。

特征类型:32

属性名称

价值

igds\U型

igds\多\u文本

igd_node_number

15

igds字体

31

igds重量

1

igds\文本\大小

40

igds\U颜色

2

igd_rotation

0

igds\U调整

1

igds\文本\元素{0}.igds\文本\字符串

你好

igds\文本\元素{0}.igds\字体

33

igd_text_elements{0}.igds_rotation

3.1

igds\文本\元素{0}。igds\对齐

1

igds\文本\元素{0}。igds\文本\大小

52

igds\文本\元素{0}.x

477556

igds文本元素{0}.y

536018

igds\文本\元素{0}.z

20

igds\文本\元素{1}.igds\文本\字符串

世界

igds\文本\元素{1}.igds\字体

33

igds\文本\元素{1}。igds\旋转

3.1

igd_text_elements{1}.igds_justification

1

igds\文本\元素{1}。igds\文本\大小

52

igd_text_elements{1}.x

477556

igd_text_elements{1}.y

5359177

igds_text_elements{1}还是z

20

Coordinates: (477553,5360181,20)