You are currently reviewing an older revision of this page.
While setting New Annotation Style user may face following errors.
While trying to build an annotation string, the following series of errors occur
AutoPLANT Message Runtime Error… File name or class name not found during OLE Automation operation Line: 231
Script execution error: X PSYS0502: Error executing the Dialog Error in script file C:\\Program Files (x86)\\Bentley\\Plant V8i\\Modules\\Base\\dialogs\\annot_NewStyle.ebs
Below are the illustrative steps to resolve this issue
Steps to Resolve
Close all AutoPLANT applications.
In Windows explorer, open the following file in Script Editor.
C:\Program Files (x86)\Bentley\Plant V8i\Modules\Base\dialogs\annot_NewStyle.ebs.
Go to line number 231.
Notice the following line:
Above variable should point to APAnnotationBuilderAN20 depending on the user`s AutoCAD version, change the line as follows,
Set Builder=createObject "APAnnotationBuilderAN20.AnnBuilder")
Refer following screen shot:
Save the file and restart AutoPLANT Modeler.
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!