M

NewFamilyInstance

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2026).
Identical to 2026: 2025, 2025.3, 2027
Not present in: 2020, 2021, 2022, 2023
2026 current
ItemFactoryBase.NewFamilyInstance(XYZ, FamilySymbol, Level, StructuralType)
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.
level Level The level onto which the FamilyInstance is to be placed.
structuralType StructuralType If structural then specify the type of the component.
→ returns nullNothingnullptrFamilyInstance If creation was successful then an instance to the new object is returned, otherwise .