HOW TO

Erstellen eines benutzerdefinierten Linientyps mit Textzeichen in ArcGIS Pro

Last Published: July 27, 2023

Zusammenfassung

In CAD drawings, linetypes with embedded characters are created to denote a service or the attribute of a line. The image below shows a linetype with embedded characters, '---E---E---':

A linetype with embedded characters ---E---E---

While it is not possible to import linetypes with text characters from AutoCAD into ArcGIS Pro, this article provides a workaround to create a style containing line and marker symbol layers, and add the created style to a feature class to generate custom linetypes with embedded characters in ArcGIS Pro.

Vorgehensweise

  1. Create a new style for the line symbol.
    1. In ArcGIS Pro, in the Catalog view, right-click the Styles folder, and navigate to New > New Style.
    2. Type the text for Name, and click Save.
    3. Right-click the created style, and click Manage.
    4. On the Catalog tab, in the Create group, click New > Line Symbol.
The Line Symbol option to add a new line symbol
  1. Click Line symbol, and click Description.
  2. Under Name, type a name for the line symbol. In this example, the line symbol name is Electricity line.
  1. Add a marker symbol layer to the style to add text characters.
    1. In the same pane, click Properties.
The Properties option of the line symbol
  1. Click the Structure icon the Structure icon. Under Layers, select Marker layer from the Add symbol layer drop-down list.
The Structure icon of the line symbol
  1. Click the Layers icon the Layers icon, and click Shape marker layer.
  2. Under Appearance, click Font....
The Font option of the line symbol
  1. In the Choose a character window, select a character to embed in the linetype. Set Font, Font style, Subset, and Unicode as required, and click OK.
  2. Edit the Solid stroke layer settings to create a dashed line.
    1. Select the Solid stroke layer under Layers the Layers icon.
    2. Click to expand Dash effect, and set Dash type and Dash template as required.
    3. Adjust other properties as required.
  3. Click Apply to generate a style for the linetype with the embedded text characters.
The style of the created line type
  1. In the Contents pane, double-click the line symbology under the feature class, and select the created style in the Format Line Symbol window to apply the custom linetypes with the embedded text characters.
Note:
Some of the display icons for creating new symbols are different if the ArcGIS Pro light application theme is applied to the background.

Artikel-ID:000024352

Hilfe von ArcGIS-Expert*innen erhalten

Technischen Support kontaktieren

Die Esri Support-App herunterladen

Zu den Download-Optionen

Zugehörige Informationen

Weitere Informationen zu diesem Thema erkunden