<Code Lib>
2027 Method
Changes 0
M

FabricationPart.Create(Document, FabricationItemFile, ElementId)

Description:
Creates a fabrication part element from a fabrication item file.

public static FabricationPart Create(
	Document document,
	FabricationItemFile itemFile,
	ElementId levelId
)

Return Value FabricationPart The new fabrication part.

  • The item file is not valid for use in Revit. -or- The item file has not been loaded into the configuration. -or- The ElementId levelId is not a Level.
  • A non-optional argument was null

Loading…