Application.NewFamilyInstanceCreationData(Curve, FamilySymbol, Level, StructuralType) Method

ApplicationNewFamilyInstanceCreationData(Curve, FamilySymbol, Level, StructuralType) Method

Creates an object which wraps the arguments of NewFamilyInstance() for batch creation.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public FamilyInstanceCreationData NewFamilyInstanceCreationData(
	Curve curve,
	FamilySymbol symbol,
	Level level,
	StructuralType structuralType
)
Public Function NewFamilyInstanceCreationData ( 
	curve As Curve,
	symbol As FamilySymbol,
	level As Level,
	structuralType As StructuralType
) As FamilyInstanceCreationData
public:
FamilyInstanceCreationData^ NewFamilyInstanceCreationData(
	Curve^ curve, 
	FamilySymbol^ symbol, 
	Level^ level, 
	StructuralType structuralType
)
member NewFamilyInstanceCreationData : 
        curve : Curve * 
        symbol : FamilySymbol * 
        level : Level * 
        structuralType : StructuralType -> FamilyInstanceCreationData 

Parameters

curve  Curve
The curve where the instance is based.
symbol  FamilySymbol
A FamilySymbol object that represents the type of the instance that is to be inserted.
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

FamilyInstanceCreationData
See Also