Command Help

merge-string-segments-attrib

 

Command Name

Menu

Quick Key

Link to Command Table

merge-string-segments-attrib

Command line only

-

Click here  

Description

Merge the current strings object's selected string segments which have coincident end points whilst preserving all edge attributes on the merged strings except for COLOUR, LSTYLE and SYMBOL

How to Use

  1. In the Current Objects toolbar, select the strings object containing the segments to be merged, in order to make it the current strings object.

  2. In a 3D window, select the strings (segments) to be merged.

  3. Run the command.

  4. String segments sharing end points will be linked. The attributes of the merged strings are not combined, but maintained, other than COLOUR, LSTYLE and SYMBOL, which must be made consistent in order to support scheduling processes found in Studio 5D Planner.

note.gif (1017 bytes)

  • Only selected strings within the current string object are considered for merging. Any selected strings that are not in the current string object are ignored. A message is given if this is the case.

  • It is essential that string data is selected prior to running this command. If no string data is selected, a warning will be shown.

  • Attributes from the merged strings are retained. If the strings being merged have different attribute values it is arbitrary which attribute value is used. For example, if a blue and green string get merged into one string the new string will be either blue or green. Previously all new strings were given default attribute values.

    If attribute preservation is not required/desired, use merge-string-segments

  • The newly created string is selected by default (highlighted yellow).

  • If themerge-string-segments-attribcommand is undone then in addition to the original strings being restored the newly created strings are now deleted.

 

This command is especially useful for imported CAD string files; the CAD polylines are imported as individual string segments and this function will re-connect the segments into their original polyline/string state.

 

Example

In the example below, a strings object, consisting of three separate strings/segments (with shared ends) is merged into a single string.

The string object consisting of three strings/segments before merging (here, not yet selected):

 The string object, after merging, now consisting of a single string consisting of three segments (here the string has been deselected to show the merged string's color):