How to set the attributes from the default layer

Command: modDefAttByDefLayer

Description: Sets the default attributes according to the attributes of the default layer.