AssemblyInstance.PlaceInstance
Description:
Places an assembly instance of a given assembly type at the specified location.
Places an assembly instance of a given assembly type at the specified location.
public static AssemblyInstance PlaceInstance(
Document document,
ElementId assemblyTypeId,
XYZ location
)
-
documentThe document for the new assembly instance.
-
assemblyTypeIdThe id of the assembly type to be used for the instance.
-
locationThe placement location for the instance in project coordinates.
-
A non-optional argument was null