How to set custom lstyle scale and width via keyin


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

Problem


How to set custom linestyle scale and width using key-in.

Solution

First Key-in:
MDL LOAD CALCULAT

To enable ORIGIN WIDTH:
Key-in: CALC tcb->lineStyle.modifiers=10

To enable END WIDTH:
Key-in: CALC tcb->lineStyle.modifiers=18

To enable both ORIGIN WIDTH and END WIDTH:
Key-in: CALC tcb->lineStyle.modifiers=26

To Disable both ORIGIN WIDTH and END WIDTH:
Key-in: CALC tcb->lineStyle.modifiers=2

To set ORIGIN WIDTH VALUE:
Key-in: CALC tcb->lineStyle.startWidth=(desired value)

To set END WIDTH VALUE:
Key-in: CALC tcb->lineStyle.endWidth=(desired value)

To set SCALE VALUE:
Key-in: CALC tcb->lineStyle.scale=(desired value)

To enable SCALE:
Key-in: CALC tcb-> lineStyle.modifiers|=1

To disable SCALE:
Key-in: CALC tcb->lineStyle.modifiers|=~1

To set SHIFT to NONE:
CALC tcb->lineStyle.modifiers=26

To set SHIFT to DISTANCE:
CALC tcb->lineStyle.modifiers=58

To set SHIFT to FRACTION:
CALC tcb->lineStyle.modifiers=90

To set SHIFT to FRACTION:
CALC tcb->lineStyle.modifiers=154

To set SHIFT VAL UE:
CALC tcb->lineStyle.shift=(desired value)

Note:
Values may not reflect the change in dialog, if Custom LineStyle dialog
is open.