---
title: "supportsCombination(_:)"
framework: roomplan
role: symbol
role_heading: Instance Method
path: "roomplan/capturedroom/object/category-swift.enum/supportscombination(_:)"
---

# supportsCombination(_:)

Returns a Boolean value that indicates whether a category supports the given attribute combination.

## Declaration

```swift
func supportsCombination(_ attributes: [any CapturedRoomAttribute]) -> Bool
```

## Parameters

- `attributes`: An array of attributes to check whether the object supports them.

## Discussion

Discussion Only compatible attributes can pair up in association with a 3D model, for example, with the CapturedRoom.ModelProvider function setModelFileURL(_:for:). These CapturedRoom.ModelProvider functions for setModelFileURL and modelFileURL throw CapturedRoom.ModelProvider.Error.attributeCombinationNotSupported if no object category supports all of the attributes in the arguments to their call.

## See Also

### Determining supported attributes

- [supportedAttributeTypes](roomplan/capturedroom/object/category-swift.enum/supportedattributetypes.md)
- [supportedCombinations](roomplan/capturedroom/object/category-swift.enum/supportedcombinations.md)
