2021 Method
Changes 0
M

ItemFactoryBase.NewFamilyInstance

Description:
Add a new family instance into the Autodesk Revit document, using an origin and a view where the instance should be placed.
Remarks:
This overload applies only to 2D family symbols (detail components, annotation symbols, titleblocks, etc.). The type/symbol that is used must be loaded into the document before this method is called. Families and their symbols can be loaded using the Document.LoadFamily or Document.LoadFamilySymbol methods.
public FamilyInstance NewFamilyInstance(
	XYZ origin,
	FamilySymbol symbol,
	View specView
)
Return Value FamilyInstance If creation was successful then an instance to the new object is returned.