General Xdata Utilities

(afm_xd_get_current_drawing_name)

Returns just the drawing name without the path. Useful for getting the current drawing name for use in Archibus xdata, which does not specify the path.

(afm_xd_change_layer ename layer)

Change the layer of the entity with the given entity name to the specified layer.