How Do I Find And Erase Bad Data Points On Drawings Causing LyntitypP Nil And StringP Nil Errors [TN


  
 Applies To 
  
 Product(s):AutoPLANT P&ID 
 Version(s):08.06.xx.xx, 08.09.xx.xx , 8.11.xx
 Environment: N/A
 Area: N/A
 Subarea: N/A
 Original Author:Bentley Technical Support Group
  

 

 

 

 

 

 

 

 

Overview

This Technical Bulletin outlines how to find bad data points in AutoPLANT P&ID drawings. On load of corrupt drawings many times the error Lentityp Nil or StringP Nil Error is received. These are errors that stop the load of the P&ID and are caused by a bad data point or String in the drawing. This document outlines how to find the bad data point and remove it from the drawing so it can load properly.

1. Open the drawing the is receiving the error. 
2. If error is not received immediately during the auto regeneration of the drawing you can manually regenerate the drawing by typing ASIREGENALL at the command line.
3. Once the error is received type the following at the command line:


Command: !debug_ent


NOTE: !debug_ent is the command that return the Entity Name that is corrupt. The Debug_ent is a variable stored in pid-sup and the last corrupt entity name is stored in this variable.

4. Next we need to find the location of the bad entity. For this type the following in the command line.

Command: (entget debug_ent)

NOTE: Entget will retrieve the value stored in the variable debug_ent.


5. The results below are found in the entity in this example. Please notice the descriptions highlighted below:


((-1 . ) (TYPE OF COMPONENT 0 . "POINT") (330 . ) (HANDLE 5 . "12344") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (LAYER 8 . "mc-att") (60 . 1) (100 . "AcDbPoint") (LOCATION COORDINATES 10 313.5 332.259 0.0) (210 0.0 0.0 1.0) (50.3.14159))


6. To find the bad link point we will draw a line to it using the location coordinates found above. Please note the 10 found behind the Location Coordinates is not a coordinate it is a XDATA table name where the coordinates are stored.
7. Type Line at the command line as shown below.
Command: Line (hit Enter to run the command)
8. Type the coordinates 313.5, 332.259 as shown in bold in the list above separated by commas
9. Notice now a line will begin at the point that is corrupt.
10. Type SLP at the command line to Show Link Points.
11. Erase or Mend the component out of the drawing.
12. Re-draw the component.

 

See Also

Product TechNotes and FAQs

Plant TechNotes And FAQs

External Links 

Bentley Technical Support KnowledgeBase

Bentley LEARN Server

Comments or Corrections?

Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!