ApplicationNewFamilyInstanceCreationData(XYZ, FamilySymbol, XYZ, Element, StructuralType) Method |
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Namespace: Autodesk.Revit.CreationAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic FamilyInstanceCreationData NewFamilyInstanceCreationData(
XYZ location,
FamilySymbol symbol,
XYZ referenceDirection,
Element host,
StructuralType structuralType
)
Public Function NewFamilyInstanceCreationData (
location As XYZ,
symbol As FamilySymbol,
referenceDirection As XYZ,
host As Element,
structuralType As StructuralType
) As FamilyInstanceCreationData
public:
FamilyInstanceCreationData^ NewFamilyInstanceCreationData(
XYZ^ location,
FamilySymbol^ symbol,
XYZ^ referenceDirection,
Element^ host,
StructuralType structuralType
)
member NewFamilyInstanceCreationData :
location : XYZ *
symbol : FamilySymbol *
referenceDirection : XYZ *
host : Element *
structuralType : StructuralType -> FamilyInstanceCreationData
Parameters
- 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.
- referenceDirection XYZ
- A vector that dictates the direction of certain family instances.
- host Element
- The object into which the family instance is to be inserted, often known as the host.
- structuralType StructuralType
- If structural then specify the type of the component.
Return Value
FamilyInstanceCreationData
See Also