RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Part

Part.OriginalCategoryId

Property
Description:
The category Id of the original element corresponding to this Part.
Syntax
public ElementId OriginalCategoryId { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: dPartOriginalCategoryId is not an available member of the original category ids of the elements which formed this Part.
ArgumentNullException When setting this property: A non-optional argument was null