ViewSection.IsParentViewValidForCallout
Method
Description:
This validator checks that the parent view is appropriate for callout views.
This validator checks that the parent view is appropriate for callout views.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document which contains the ViewFamilyType and parent view. |
parentViewId | ElementId | The view in which the new callout will appear. Callouts can be created in FloorPlan, CeilingPlan, StructuralPlan, Section, Elevation, and Detail views. |
Return Value
Type | Description |
---|---|
Boolean | True if the ViewFamilyType can be used for callout views in the parent view, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |