Revit 2020 API |
Application..::..NewFamilyInstanceCreationData Method (Face, Line, FamilySymbol) |
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: 20.0.0.0 (20.0.0.377)
Syntax
C# |
---|
public FamilyInstanceCreationData NewFamilyInstanceCreationData( Face face, Line position, FamilySymbol symbol ) |
Visual Basic |
---|
Public Function NewFamilyInstanceCreationData ( _ face As Face, _ position As Line, _ symbol As FamilySymbol _ ) As FamilyInstanceCreationData |
Visual C++ |
---|
public: FamilyInstanceCreationData^ NewFamilyInstanceCreationData( Face^ face, Line^ position, FamilySymbol^ symbol ) |
Parameters
- face
- Type: Autodesk.Revit.DB..::..Face
A face of a geometry object.
- position
- Type: Autodesk.Revit.DB..::..Line
A line on the face defining where the symbol 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.