(AfmPopulateSelected strPopulateFromTable
strPopulateToTable ssOfOwners [bPopulateNewItemsOnly] )
This function populates assets of one type within area assets of another.
strPopulateFromTable is the
table of enclosed items, e.g. "em".
strPopulatetoTable is the table
of container asset symbols, e.g. "rm".
ssOfOwners is a selection set
of assets in the strPopulatetoTable.
bPopulateNewItemsOnly is an
optional argument for populating only items that are not yet in the drawing.
The following function populates employees to a selected set of cataloged rooms.
(defun c:popemtorm ()
(setq sset (ssget (list (cons 8 "RM$"))))
(if sset (AfmPopulateSelected "em" "rm" sset))
(princ)
)
| Copyright © 1984-2015, ARCHIBUS, Inc. All rights reserved. |