Database.countAttributes


countAttributes(attributeType, [names])

Returns the number of attribute/utility objects of the given type. You may optionally pass in a string such as "1-10" to discover how many attributes exist with that range of IDs.

attributeTypestring "Loading", "Support", "Material", etc
namesoptional string e.g. "Bob;1-10" (default all)
Return valueLONG_PTRthe number

Back to Database

Back to Overview