Cannot Place AutoPLANT Piping Component Error At CADCurrObjectSet AddToDrawing [TN]


  
 Applies To 
  
 Product(s):AutoPLANT
 Version(s):XM 08.09.3.30
 Environment: N/A
 Area: N/A
 Subarea: N/A
 Original Author:Joey Bertone, Bentley Technical Support Group
  

 

 

 

 

 

 

 

 

Overview 

When placing any AutoPLANT component the error at_CADCurrObjectSet_addToDrawing appears in the AutoCAD command line and the component will not place.

Problem Description

Opening a new or an established model in AutoPLANT piping then placing any AutoPLANT component the error at_CADCurrObjectSet_addToDrawing appears in the AutoCAD command line and the component will not place.  This error normally occurs after an AutoPLANT equipment model has been opened. 

The specific issue is that the Equipment system.pref Draw_Mode variable in the config.ini file is blank.  AutoPLANT Piping and Equipment share this variable to determine how 3D objects are to be displayed.  When piping is opened it reads a blank Draw_Mode variable and it cannot allow the placement of any piping objects.  The system.pref Draw_Mode variable must be set to an acceptable (not blank) equipment value. 

Setting the Draw_Mode Variable

The Draw_Mode variable in the projects Config.ini file can be accessed though Project Administrator.  Use the following to set the Equipment Draw_Mode.

  1. Close any open AutoPLANT sessions
  2. Open Project Administrator
  3. Select the Project that does not allow Piping components to be placed
  4. Select the Equipment
  5. Select Preferences
  6. Change the Draw Mode entry from blank any available setting
    1. Wire Frame
    2. Center Wire Frame
    3. Mesh
    4. Centerline
  7. Save the new setting and close Project Administrator

Once Draw Mode has been set to a non-blank value AutoPLANT Piping will allow the placement of new components.

Alternative Solution

Copy and paste the following command (including the brackets) into the AutoCAD command line.  This will manually reset the DRAW_MODE variable to 3D for the opened document only.

(at_pipingsystem_setvariable "DRAW_MODE" "3D")

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!