ATC: ADD WBCODE costcode description | FROM projectid LIKE mask
This command adds one or more cost codes to the project identified by the current target document. No save is required. This command is not supported for background scripts.
- costcode is optional, but if used must be followed by description. The cost code must not include spaces or mask separators.
- description is optional, but if used by must preceded by costcode. The freeform description can be any text and can include spaces.
- FROM projectid [V2020+] is optional alternative to costcode and description. The FROM clause will copy both cost codes and their descriptions. The projectid can include bookmarks or a variable reference.
- LIKE mask [V2020+] is an optional modifier for the FROM clause to filter cost codes. For example, LIKE 16* will add only cost codes that begin with 16. The default mask is * for all cost codes.
ATC: ADD WBCODE 16500 Electrical Materials
The above example means “add the cost code ‘16500’ with a description of ‘Electrical Materials’ to the project.”
ATC: ADD WBCODE FROM GC999 LIKE 15*
The above example means “load the WBS from project GC999 and copy only the cost codes that begin with 15.”
Last updated: February 2, 2021 at 10:05 am; green text = new