Show / Hide Table of Contents

    Namespace DesignData.SDS2.Exceptions

    Classes

    CustomPropertyMissingException

    Thrown when a requested custom property is not in the custom property schema for this job.

    CustomPropertyTypeMismatchException

    Thrown when a requested custom property is in the custom property schema for this job, but the type is not what was requested.

    InvalidHandleException

    Thrown when retrieving a Handle's object from the database, but the object does not exist in the database.

    InvalidOperationException

    When an operation constraint is not satisfied, usually something like: not using a Transaction when setting properties, or failing to .Add an object and .Lock before modifing any object.

    InvalidPolygonException

    Thrown when a given polygon is not valid.

    InvalidValueException

    Thrown when a value given does not meet the validation requirements.

    JobNotOpenException

    This exception is thrown when a property or method is accessed on an object from a job that is not the currently opened job.

    MaterialException

    Thrown for various material-related errors.

    NoProcessLicenseException

    This is thrown when you attempt to process members from python/C# code when the workstation does not have the API_PROCESSING license featrue. To resolve this you need to either remove transaction commits with processMembers: true or acquire the API_PROCESSING license feature

    NotAddedException

    This is thrown when an attempt to set an object's data without first adding it to a transaction. It's necessary to add things to transactions so they can be locked and refreshed.

    NotLicensedException

    NotLockedException

    This is thrown when you attempt to access or modify something that's not locked primarily when under a writeable Transaction. To resolve this you usually need to add that object to the transaction: Transaction.Add(object)

    PiecemarkExistsException

    Thrown when piecemark assigned is already in use by a different object.

    ProgramException

    Thrown when there's an internal error in SDS/2's native implementation.

    PythonException

    Thrown when there's an exception in a python call

    Back to top