Application.NewFamilyInstanceCreationData(XYZ, FamilySymbol, Element, Level, StructuralType)
Method
Description:
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Syntax
public FamilyInstanceCreationData NewFamilyInstanceCreationData(
XYZ location,
FamilySymbol symbol,
Element host,
Level level,
StructuralType structuralType
)
Parameters
Parameter | Type | Description |
---|---|---|
location | XYZ | The physical location where the instance is to be placed. |
symbol | FamilySymbol | A FamilySymbol object that represents the type of the instance that is to be inserted. |
host | Element | The object into which the family instance is to be inserted, often known as the host. |
level | Level | A Level object that is used as the base level for the object. |
structuralType | StructuralType | If structural then specify the type of the component. |
Return Value