RenameSet Method (AttributeSets collection)



This method changes the name of an attribute set on the Server and in the AttributeSets collection. This operation is only permitted on an attribute set that is not currently part of an existing point class.


Not Implemented



object.RenameSet OldName, NewName

The RenameSet method syntax has these parts:




An object expression that evaluates to a AttributeSets object.


A string containing the name of an existing attribute set on the server.


A string containing the desired new name for the attribute set.



Renaming an attribute set is conditional on the set not being part of an existing point class. This precludes successfully executing this function on the AttributeSets property of a PointClass object. Instead, the AttributeSets property of a Server object should be used when renaming an attribute set.


Enabling Operational Intelligence