PartsList Class

List of pipe network parts (pipes and structures) used for a particular drawing.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    DisposableWrapper
      RXObject
        Drawable
          DBObject
            Autodesk.Civil.DatabaseServicesDBObject
              Autodesk.Civil.DatabaseServices.StylesStyleBase
                Autodesk.Civil.DatabaseServices.StylesPartsList

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public sealed class PartsList : StyleBase

The PartsList type exposes the following members.

Properties
 NameDescription
Public propertyApplication Gets the Application associated with the DBObject. Not implemented.
(Inherited from DBObject)
Public propertyCreateByGets or Sets the "Created by" string for the style.
(Inherited from StyleBase)
Public propertyDateCreatedGets the "Date created" string for the style.
(Inherited from StyleBase)
Public propertyDateModifiedGets the "Date modified" string for the style.
(Inherited from StyleBase)
Public propertyDescription Gets or sets the description.
(Inherited from DBObject)
Public propertyDocument Gets the Document associated with the DBObject. Not implemented.
(Inherited from DBObject)
Public propertyIsUsed Gets whether the style is used by other objects in the current drawing.
(Inherited from DBObject)
Public propertyItemInt32 
Public propertyItemString 
Public propertyModifiedByGets the "Modified by" string for the style.
(Inherited from StyleBase)
Public propertyNameSets the "Name" string for the style.
(Inherited from StyleBase)
Public propertyPartFamilyCount Gets the count of part families under this parts list.
Top
Methods
 NameDescription
Public methodAddPartFamilyByDescription Adds a part family referenced by unique description of current active catalog to this parts list.
Public methodAddPartFamilyByGuid Adds a part family referenced by unique GUID of current active catalog to this parts list. A parts list can only hold parts from the same catalog.
Public methodCopyAsSibling Copy the current style and add it to the parent node as a sibling.
(Inherited from StyleBase)
Public methodExportTo(Database, StyleConflictResolverType) Exports the current style to another drawing.
(Inherited from StyleBase)
Public methodStatic memberGetAvailablePartFamilies Gets available part families of the current active catalog.
Public methodCode exampleGetPartFamilyIdsByDomain Gets the object id collection of part families of specified domain under this parts list.
Public methodRemovePartFamily(ObjectId) Remove a part family referenced by its object id from this parts list
Public methodRemovePartFamily(String) Remove a part family referenced by unique description from this parts list.
Top
See Also