[Extension()] public static void AddToComplexEntity( IComplexEntityAddable occ, IOccComplexEntity complexEntity )
Parameters
- occ
- Occurrence addable to complex entity.
- complexEntity
- Complex entity into which the occurrence will be added.
[Extension()] public static void AddToComplexEntity( IComplexEntityAddable occ, IOccComplexEntity complexEntity )
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.HpdApiNotInitializedException | Api is not in an initialized state. You can get current state from Status property. If API is uninitialized, you can initialize it by calling Init(String,String[]) method. If API is in failed state, you can not resurrect it. |
EPLAN.Harness.API.Exceptions.ObjectInvalidException | The object is in invalid state. Obtain a new one. |
EPLAN.Harness.API.Exceptions.OccurrenceDeletedException | The exception that is thrown when you trying to access to already deleted occurrence. |
EPLAN.Harness.API.Exceptions.ArgumentNullException | Argument is null. |
EPLAN.Harness.API.Exceptions.OccurrenceMissingInDocumentException | The exception that is thrown when an occurrence is not part of this document. |