2021 Method
Changes 0
M

AssemblyInstance.Create

Description:
Creates a new assembly instance.
Remarks:
Transaction must be committed after calling this method before performing any action on the newly created instance. Assembly type is assigned after the transaction for creating assembly instance is complete.
public static AssemblyInstance Create(
	Document document,
	ICollection<ElementId> assemblyMemberIds,
	ElementId namingCategoryId
)
Return Value AssemblyInstance The newly created assembly instance.