AdaptiveComponentInstanceUtils.GetInstanceShapeHandlePointElementRefIds
Method
Description:
Gets Shape Handle Adaptive Point Element Ref ids to which the instance geometry adapts.
Gets Shape Handle Adaptive Point Element Ref ids to which the instance geometry adapts.
Remarks:
The output contains shape handle point ref ids. If there are no shape handle points defined in the Family then the output is empty.
The output contains shape handle point ref ids. If there are no shape handle points defined in the Family then the output is empty.
Syntax
public static IList<ElementId> GetInstanceShapeHandlePointElementRefIds(
FamilyInstance famInst
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| famInst | FamilyInstance | The FamilyInstance |
Return Value
| Type | Description |
|---|---|
| IList | The Shape Handle Adaptive Point Element Ref ids to which the instance geometry adapts. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The FamilyInstance famInst is not an Adaptive Family Instance. -or- The FamilyInstance famInst does not have an Adaptive Family Symbol. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | This operation failed. |