PartsList.RemovePartFamily(ObjectId) Method

Remove a part family referenced by its object id from this parts list



Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.1516

Syntax

C#

public void RemovePartFamily(
	ObjectId partFamilyId
)

VB

Public Sub RemovePartFamily ( 
	partFamilyId As ObjectId
)

C++

public:
void RemovePartFamily(
	ObjectId partFamilyId
)

Parameters

partFamilyId  ObjectId
Specifies the object id of the part family to delete

Exceptions

ExceptionCondition
InvalidOperationException Thrown when you want to remove the NULL structure part family

See Also

Reference

PartsList Class
RemovePartFamily Overload
Autodesk.Civil.DatabaseServices.Styles Namespace