2027 Method
Changes 0
M

AssemblyInstance.CanRemoveElementsFromAssembly

Description:
Identifies if provided assembly members can be removed from the assembly instance.
public static bool CanRemoveElementsFromAssembly(
	AssemblyInstance assemblyInstance,
	ICollection<ElementId> memberIds
)
  • assemblyInstance
    The assembly instance to remove elements from.
  • ICollection<ElementId>
    memberIds
    Element ids to be tested for validity to remove from the assembly instance.
Return Value Boolean True if all member ids are valid, false otherwise.