Revit 2023 API |
Application..::..NewFamilyInstanceCreationData Method (XYZ, FamilySymbol, StructuralType) |
Application Class See Also |
Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Syntax
C# |
---|
public FamilyInstanceCreationData NewFamilyInstanceCreationData( XYZ location, FamilySymbol symbol, StructuralType structuralType ) |
Visual Basic |
---|
Public Function NewFamilyInstanceCreationData ( _ location As XYZ, _ symbol As FamilySymbol, _ structuralType As StructuralType _ ) As FamilyInstanceCreationData |
Visual C++ |
---|
public: FamilyInstanceCreationData^ NewFamilyInstanceCreationData( XYZ^ location, FamilySymbol^ symbol, StructuralType structuralType ) |
Parameters
- location
- Type: Autodesk.Revit.DB..::..XYZ
The physical location where the instance is to be placed.
- symbol
- Type: Autodesk.Revit.DB..::..FamilySymbol
A FamilySymbol object that represents the type of the instance that is to be inserted.
- structuralType
- Type: Autodesk.Revit.DB.Structure..::..StructuralType
Specify if the family instance is structural.