How to create a Custom LineStyle to react similar to AutoCad


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):08.05.01.25
 Environment: N\A
 Area: Custom Linestyles
 Subarea: N\A
 Original Author:Bentley Technical Support Group
  

Problem

How to create a Custom LineStyle to react the same way AutoCad displays its lines with Line Segments & Dashes. By setting up this custom linestyle the line segment will always start with a line & end with a line. The second technique stretches / shrinks the gaps slightly to make things fit. The first technique just expands / contracts the end segments but does not look as nice as the first option.

Product: MicroStation V8 2004 Edition
Version: 08.05.01.25
Area: Custom Linestyles

Solution

1. To make a line style display in the way that AutoCad controls them:

Element>Line Style>Edit
File> Open select the line style resource they want
Select the stroke style that they are interested in
In the Stroke Pattern Attributes section, Toggle "Single segment" & Select "Shift: center"

2. This method will give you a better line style, but not exactly what
AutoCAD uses:

Element>Line Style>Edit
File> open select the line style resource they want
Select the stroke style that t hey are interested in
In the Stroke Pattern Attributes section, Toggle "Single segment" & Select "Shift: Fraction" & setting the fraction to 0.5
Then allow one or preferably all of the gaps to be variable:
Click on one of the gaps in Stroke Pattern
Set "Length> Variable"
Click on next gap
Set "Length> Variable" 

See Also