Deletes all attributes/utilities of the specified type Optionally, output can be restricted to only those with the given name(s) and/or in the given range of IDs. Delete is only possible if the attribute is not assigned. Returns the number actually deleted - so you may check that the operation was successful by first calling getAttributes and comparing the number of objects returned by that function with the return value of this one.
| attrType | string | "Loading", "Support", "Material", etc | 
| arg2 | optional string | names and/or IDs of attributes, e.g. "bob;1T5" (default all) | 
| reportError | optional boolean | flag to indicate if an error should be reported when the attribute type is unrecognised (default = True) | 
| Return value | integer | the number of attributes successfully deleted | 
Back to Database
Back to Overview