reference:scripting_reference:scripting_events:onaddcolumns

The OnAddColumns event is called to allow your script add-in to add columns. Call the AddColData.AddColumn method once for each column you wish to add.

Method Name: OnAddColumns

Argument Type:

AddColData 

Return Type:

none

Description:

When Opus starts up, or when a script add-in is added, edited or enabled, its OnAddColumns method is called. This allows a script to add columns to Opus. A script can reinitialize its list of columns at any time by calling the Script.InitColumns method.