FamilyUtils.GetProfileSymbols
Method
Description:
Gets the profile Family Symbols of the document.
Gets the profile Family Symbols of the document.
Syntax
public static ICollection<ElementId> GetProfileSymbols(
Document document,
ProfileFamilyUsage profileFamilyUsage,
bool oneCurveLoopOnly
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document. |
| profileFamilyUsage | ProfileFamilyUsage | The profile family usage. |
| oneCurveLoopOnly | Boolean | Whether or not to return only profiles with one curve loop. |
Return Value
| Type | Description |
|---|---|
| ICollection | The set of profile Family Symbol element ids. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |