Linear Template Created from Corrupt Complex Line String causing File Crashing

Symptom:

Selecting Linear Template drop handles causes Microstation to crash.

 

Possible cause:

The line string copied into the file becomes corrupt or changes made to it that breaks a Civil Data Relationship rendering the Linear Template unusable.

 

Workaround/Fix:

  1. Navigate to the References dialog.
  2. Scroll to find the reference the line string is in or copied from. In this example the reference is the GKLNRD01.dgn file.
  3. Right click on the reference file (GKLNRD01.dgn) and select settings.
  4. Set the Nested Attachments to No Nesting.
  5. Dismiss the References dialog.
  6. Open the Level Display dialog.
  7. Turn off CorrHndlStg3_dp and TmpDrpHndlStg3_dp.
  8. Use the Microstation Drop Element tool to drop the 'corrupt' line string (in this example it's the existing curb) utilized by Linear Template or use the Microstation Drop Element tool to drop template boundary and corridor boundary for the Linear Template. (This should have removed the Linear Template Civil Object from the Project Explorer.)
  9. Clean up the dropped elements.

    Note: You can trace the dropped line string (the example is the Existing Back of Curb) to make a single line string or you should be able to just re-import the linesting from the topo rather than tracing. There may be parts of the dropped line string, as well as the remaining line string segment that can be difficult to remove as it caused several Microstation crashes . This could be because the first segment was a complex string and the following was just a regular line string. I used the Microstation Drop Element tool to drop these linestrings to delete them. Removing the segmented line string I found that the Drop Element tool should be set as shown below.

  10. You will then have set a profile for the new element.
  11. After the profile is set, apply the Existing Curb Linear Template.
  12. You can rename the new Linear Template to the previous Linear Template name.

 

Note:  It is my opinion the problem originated from the original existing curb line string.  Fixing this line string will resolve the problem, but you will have to recreate the Existing Curb Linear Template.

  • Elements left in the file after fixing the Linear Template.

     

    After correcting the Linear Template following the steps above, there may be ‘corrupt’ elements left in the file that previously mentioned techniques will not correct or delete. The following is 1 way they can be altered and removed.

     

    1. Fit the view (Plan View Window).

     

        

    Note: You will see the elements as shown in the image above. Regular delete or drop element tools will not change these elements in order to remove them.

     

    2. Navigate to the Tasks Navigation > Civil Tools > Groups – Main Task toolbar > Create Complex Chain.

       

    3. Select each ‘corrupt’ element (one at a time) and create a Complex Chain.

       

    4. Use the Microstation Delete Element tool to delete the newly created complex chains.