opencadd.structure.core.Structure.add_Segment
- Structure.add_Segment(**attrs)
Add a new Segment to this Universe
- Parameters
attrs (dict) – For each Segment attribute as a key, give the value in the new Segment
- Return type
A reference to the new Segment
- Raises
NoDataError – If any attributes were not specified as a keyword.