MatchLayerAttributes

MatchLayerAttributes(target_layer_names, source_layer_name, visibility=False, lockState=False, color=True, materialIndex=True, lineType=True, plotColor=True, plotWeight=True)

Matches, or copies the attributes of a source layer to a target layer. Full path is recommended for accurate identification of layers. :param target_layer_names = full path names or identifiers of layers to copy attributes to.: :param source_layer_name = full path name or identifier of layer to copy attributes from.:

returns:number of objects modified