Smart Client Extension for AutoCAD
Smart Client DWG Editor

Populate Command (Macro)

Command: AFM_POPULATE

This command is accessed primarily from the CAD Process Navigator, but it can also be run from the command line.

Purpose:The Populate command compares asset tables and drawings, and updates drawings by adding or removing asset symbols. Populating updates drawings according to the spatial information of the asset tables. If a table has a record with location information and the location in the drawing does not have an asset symbol for this record, population places the appropriate asset symbol in the appropriate location in the drawing, and connects the symbol and record.

Population is useful for updating drawings if asset tables have been edited when the corresponding drawings are not loaded, or if database records have been entered for which you now want to generate asset symbols.

Population consults the record’s standard for information on the block to use as the basis for the generated asset symbol. For complete information, see Completing Standards Tables for Use with Asset Symbols.

Population is built into Process Navigator tasks, such as the Asset Portal's Populate Equipment to Rooms or Populate Jacks to Rooms tasks.These tasks use the Populate macro command to populate:

Note: Although populating employees to rooms is supported, generating employee asset symbols through population is not really necessary. Instead, you can run the occupancy plan tasks which display employee names within their assigned rooms to let you know employee locations. Accordingly, the CAD Process Navigator does not include a task for populating employees to rooms.

Although the Populate command can be run from the command line, it is most often used from process task command macros, such as:

Populate Jacks to Rooms afm_populate;rm;jk;

Example: The populate command prompts for the containing asset layer, the contained asset type, and asks you to select the list of contained assets to populate:

Command: AFM_POPULATE
Containing asset layer: rm
Contained assets to populate from the database: jk
Select Rooms to populate with Jacks: <user selects items>