Share

AdaptiveComponentInstanceUtils.GetInstancePlacementPointElementRefIds Method

Gets Placement Adaptive Point Element Ref ids to which the instance geometry adapts.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public static IList<ElementId> GetInstancePlacementPointElementRefIds(
	FamilyInstance famInst
)

Parameters

famInst  FamilyInstance
The FamilyInstance.

Return Value

IList<ElementId>
The Placement Adaptive Point Element Ref ids to which the instance geometry adapts.

Exceptions

ExceptionCondition
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.

Remarks

The output contains placement point ref ids. The element ids are sorted in by the placement numbers (increasing order).

See Also

Reference

Was this information helpful?