2023 Method Back to 2023
M

NewFamilyInstance

Version comparison

Per-version detail

Click a version below to see what changed in that release vs your current frame (2023).
Identical to 2023: 2020, 2021, 2022, 2024
2023 current
Document.NewFamilyInstance(XYZ, FamilySymbol, Element, Level, StructuralType)
location XYZ The physical location where the instance is to be placed on the specified level.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
host Element A host object into which the instance will be embedded
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.
→ returns FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
Document.NewFamilyInstance(XYZ, FamilySymbol, Element, Level, StructuralType)
location XYZ The physical location where the instance is to be placed on the specified level.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
host Element A host object into which the instance will be embedded
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.
→ returns FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
Document.NewFamilyInstance(XYZ, FamilySymbol, Element, Level, StructuralType)
location XYZ The physical location where the instance is to be placed on the specified level.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
host Element A host object into which the instance will be embedded
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.
→ returns FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
Document.NewFamilyInstance(XYZ, FamilySymbol, Element, Level, StructuralType)
location XYZ The physical location where the instance is to be placed on the specified level.
symbol FamilySymbol A FamilySymbol object that represents the type of the instance that is to be inserted.
host Element A host object into which the instance will be embedded
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.
→ returns FamilyInstancenullNothingnullptr If creation was successful then an instance to the new object is returned, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .