Share

PartsList Methods

The PartsList type exposes the following members.

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.

See Also

Reference

Was this information helpful?