Eplan Platform API
Eplan.EplApi.DataModel Namespace / Group Class / RemoveSubPlacement Method / RemoveSubPlacement(Placement,Boolean) Method
If true, the Group object will be removed also when it becomes empty.

In This Topic
RemoveSubPlacement(Placement,Boolean) Method
In This Topic
Remove Placement from the group and from the project. The Placement object passed into this method is no longer valid.
Syntax
public virtual void RemoveSubPlacement( 
   Placement placement,
   bool bRemoveEmptyGroup
)

Parameters

placement
bRemoveEmptyGroup
If true, the Group object will be removed also when it becomes empty.
Remarks
This method doesn't make sense for class "SymbolVariant" and "DimensionGroup". It always throws ForbiddenOperationException for class "SymbolVariant" and "DimensionGroup".
See Also