PlaceInHost Method


Inserts the single Fabric Sheet instance into the host element.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2015

Syntax

C#
public void PlaceInHost(
	Element hostElement,
	Transform transform
)
Visual Basic
Public Sub PlaceInHost ( _
	hostElement As Element, _
	transform As Transform _
)
Visual C++
public:
void PlaceInHost(
	Element^ hostElement, 
	Transform^ transform
)

Parameters

hostElement
Type: Autodesk.Revit.DBElement
A structural element that will host the Fabric Sheet. The element must support fabric hosting.
transform
Type: Autodesk.Revit.DBTransform
The transform that defines the placement of the instance single Fabric Sheet.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException The host Element is not a valid host for Fabric Sheet. -or- transform defines the placement out of the host.
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsArgumentOutOfRangeException transform is not conformal.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →