2027 Method
Changes 0
M

AssemblyInstance.PlaceInstance

Description:
Places an assembly instance of a given assembly type at the specified location.
public static AssemblyInstance PlaceInstance(
	Document document,
	ElementId assemblyTypeId,
	XYZ location
)
  • document
    The document for the new assembly instance.
  • assemblyTypeId
    The id of the assembly type to be used for the instance.
  • location
    The placement location for the instance in project coordinates.
Return Value AssemblyInstance The newly created assembly instance.