# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.2.1
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.

"""
StepAP242 module, see official documentation at
https://www.opencascade.com/doc/occt-7.7.0/refman/html/package_stepap242.html
"""

from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if __package__ or "." in __name__:
    from . import _StepAP242
else:
    import _StepAP242

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


class SwigPyIterator(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _StepAP242.delete_SwigPyIterator

    def value(self):
        return _StepAP242.SwigPyIterator_value(self)

    def incr(self, n=1):
        return _StepAP242.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        return _StepAP242.SwigPyIterator_decr(self, n)

    def distance(self, x):
        return _StepAP242.SwigPyIterator_distance(self, x)

    def equal(self, x):
        return _StepAP242.SwigPyIterator_equal(self, x)

    def copy(self):
        return _StepAP242.SwigPyIterator_copy(self)

    def next(self):
        return _StepAP242.SwigPyIterator_next(self)

    def __next__(self):
        return _StepAP242.SwigPyIterator___next__(self)

    def previous(self):
        return _StepAP242.SwigPyIterator_previous(self)

    def advance(self, n):
        return _StepAP242.SwigPyIterator_advance(self, n)

    def __eq__(self, x):
        return _StepAP242.SwigPyIterator___eq__(self, x)

    def __ne__(self, x):
        return _StepAP242.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n):
        return _StepAP242.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n):
        return _StepAP242.SwigPyIterator___isub__(self, n)

    def __add__(self, n):
        return _StepAP242.SwigPyIterator___add__(self, n)

    def __sub__(self, *args):
        return _StepAP242.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self

# Register SwigPyIterator in _StepAP242:
_StepAP242.SwigPyIterator_swigregister(SwigPyIterator)

def _dumps_object(klass):
    """ Overwrite default string output for any wrapped object.
    By default, __repr__ method returns something like:
    <OCC.Core.TopoDS.TopoDS_Shape; proxy of <Swig Object of type 'TopoDS_Shape *' at 0x02BB0758> >
    This is too much verbose.
    We prefer :
    <class 'gp_Pnt'>
    or
    <class 'TopoDS_Shape'>
    """
    klass_name = str(klass.__class__).split(".")[3].split("'")[0]
    repr_string = "<class '" + klass_name + "'"
# for TopoDS_Shape, we also look for the base type
    if klass_name == "TopoDS_Shape":
        if klass.IsNull():
            repr_string += ": Null>"
            return repr_string
        st = klass.ShapeType()
        types = {OCC.Core.TopAbs.TopAbs_VERTEX: "Vertex",
                 OCC.Core.TopAbs.TopAbs_SOLID: "Solid",
                 OCC.Core.TopAbs.TopAbs_EDGE: "Edge",
                 OCC.Core.TopAbs.TopAbs_FACE: "Face",
                 OCC.Core.TopAbs.TopAbs_SHELL: "Shell",
                 OCC.Core.TopAbs.TopAbs_WIRE: "Wire",
                 OCC.Core.TopAbs.TopAbs_COMPOUND: "Compound",
                 OCC.Core.TopAbs.TopAbs_COMPSOLID: "Compsolid"}
        repr_string += "; Type:%s" % types[st]        
    elif hasattr(klass, "IsNull"):
        if klass.IsNull():
            repr_string += "; Null"
    repr_string += ">"
    return repr_string


def process_exception(error, method_name, class_name):
    return _StepAP242.process_exception(error, method_name, class_name)

from six import with_metaclass
import warnings
from OCC.Wrapper.wrapper_utils import Proxy, deprecated

import OCC.Core.Standard
import OCC.Core.NCollection
import OCC.Core.TCollection
import OCC.Core.StepData
import OCC.Core.Interface
import OCC.Core.Message
import OCC.Core.OSD
import OCC.Core.TColStd
import OCC.Core.MoniTool
import OCC.Core.TopoDS
import OCC.Core.TopAbs
import OCC.Core.TopLoc
import OCC.Core.gp
import OCC.Core.Resource
import OCC.Core.StepBasic
import OCC.Core.StepShape
import OCC.Core.StepGeom
import OCC.Core.StepRepr
import OCC.Core.StepDimTol
import OCC.Core.StepAP214
import OCC.Core.StepVisual
import OCC.Core.TColgp

from enum import IntEnum
from OCC.Core.Exception import *




def Handle_StepAP242_IdAttribute_Create():
    return _StepAP242.Handle_StepAP242_IdAttribute_Create()

def Handle_StepAP242_IdAttribute_DownCast(t):
    return _StepAP242.Handle_StepAP242_IdAttribute_DownCast(t)

def Handle_StepAP242_IdAttribute_IsNull(t):
    return _StepAP242.Handle_StepAP242_IdAttribute_IsNull(t)

def Handle_StepAP242_ItemIdentifiedRepresentationUsage_Create():
    return _StepAP242.Handle_StepAP242_ItemIdentifiedRepresentationUsage_Create()

def Handle_StepAP242_ItemIdentifiedRepresentationUsage_DownCast(t):
    return _StepAP242.Handle_StepAP242_ItemIdentifiedRepresentationUsage_DownCast(t)

def Handle_StepAP242_ItemIdentifiedRepresentationUsage_IsNull(t):
    return _StepAP242.Handle_StepAP242_ItemIdentifiedRepresentationUsage_IsNull(t)

def Handle_StepAP242_DraughtingModelItemAssociation_Create():
    return _StepAP242.Handle_StepAP242_DraughtingModelItemAssociation_Create()

def Handle_StepAP242_DraughtingModelItemAssociation_DownCast(t):
    return _StepAP242.Handle_StepAP242_DraughtingModelItemAssociation_DownCast(t)

def Handle_StepAP242_DraughtingModelItemAssociation_IsNull(t):
    return _StepAP242.Handle_StepAP242_DraughtingModelItemAssociation_IsNull(t)

def Handle_StepAP242_GeometricItemSpecificUsage_Create():
    return _StepAP242.Handle_StepAP242_GeometricItemSpecificUsage_Create()

def Handle_StepAP242_GeometricItemSpecificUsage_DownCast(t):
    return _StepAP242.Handle_StepAP242_GeometricItemSpecificUsage_DownCast(t)

def Handle_StepAP242_GeometricItemSpecificUsage_IsNull(t):
    return _StepAP242.Handle_StepAP242_GeometricItemSpecificUsage_IsNull(t)
class StepAP242_IdAttribute(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Returns a idattribute.

        """
        _StepAP242.StepAP242_IdAttribute_swiginit(self, _StepAP242.new_StepAP242_IdAttribute(*args))

    def AttributeValue(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns field attributevalue.

        """
        return _StepAP242.StepAP242_IdAttribute_AttributeValue(self, *args)

    def IdentifiedItem(self, *args):
        r"""
        Return
        -------
        StepAP242_IdAttributeSelect

        Description
        -----------
        Returns identifieditem.

        """
        return _StepAP242.StepAP242_IdAttribute_IdentifiedItem(self, *args)

    def Init(self, *args):
        r"""

        Parameters
        ----------
        theAttributeValue: TCollection_HAsciiString
        theIdentifiedItem: StepAP242_IdAttributeSelect

        Return
        -------
        None

        Description
        -----------
        Init all field own and inherited.

        """
        return _StepAP242.StepAP242_IdAttribute_Init(self, *args)

    def SetAttributeValue(self, *args):
        r"""

        Parameters
        ----------
        theAttributeValue: TCollection_HAsciiString

        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        return _StepAP242.StepAP242_IdAttribute_SetAttributeValue(self, *args)

    def SetIdentifiedItem(self, *args):
        r"""

        Parameters
        ----------
        theIdentifiedItem: StepAP242_IdAttributeSelect

        Return
        -------
        None

        Description
        -----------
        Set field identifieditem.

        """
        return _StepAP242.StepAP242_IdAttribute_SetIdentifiedItem(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_StepAP242_IdAttribute_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _StepAP242.delete_StepAP242_IdAttribute

# Register StepAP242_IdAttribute in _StepAP242:
_StepAP242.StepAP242_IdAttribute_swigregister(StepAP242_IdAttribute)
class StepAP242_IdAttributeSelect(OCC.Core.StepData.StepData_SelectType):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Returns a idattributeselect select type.

        """
        _StepAP242.StepAP242_IdAttributeSelect_swiginit(self, _StepAP242.new_StepAP242_IdAttributeSelect(*args))

    def Action(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepBasic_Action>

        Description
        -----------
        Returns value as a action (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_Action(self, *args)

    def Address(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepBasic_Address>

        Description
        -----------
        Returns value as a address (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_Address(self, *args)

    def ApplicationContext(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepBasic_ApplicationContext>

        Description
        -----------
        Returns value as a applicationcontext (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_ApplicationContext(self, *args)

    def DimensionalSize(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepShape_DimensionalSize>

        Description
        -----------
        Returns value as a dimensionalsize (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_DimensionalSize(self, *args)

    def GeometricTolerance(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepDimTol_GeometricTolerance>

        Description
        -----------
        Returns value as a geometrictolerance (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_GeometricTolerance(self, *args)

    def Group(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepBasic_Group>

        Description
        -----------
        Returns value as a group (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_Group(self, *args)

    def ProductCategory(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepBasic_ProductCategory>

        Description
        -----------
        Returns value as a productcategory (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_ProductCategory(self, *args)

    def PropertyDefinition(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_PropertyDefinition>

        Description
        -----------
        Returns value as a propertydefinition (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_PropertyDefinition(self, *args)

    def Representation(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_Representation>

        Description
        -----------
        Returns value as a representation (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_Representation(self, *args)

    def ShapeAspect(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_ShapeAspect>

        Description
        -----------
        Returns value as a shapeaspect (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_ShapeAspect(self, *args)

    def ShapeAspectRelationship(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_ShapeAspectRelationship>

        Description
        -----------
        Returns value as a shapeaspectrelationship (null if another type).

        """
        return _StepAP242.StepAP242_IdAttributeSelect_ShapeAspectRelationship(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _StepAP242.delete_StepAP242_IdAttributeSelect

# Register StepAP242_IdAttributeSelect in _StepAP242:
_StepAP242.StepAP242_IdAttributeSelect_swigregister(StepAP242_IdAttributeSelect)
class StepAP242_ItemIdentifiedRepresentationUsage(OCC.Core.Standard.Standard_Transient):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Returns a itemidentifiedrepresentationusage.

        """
        _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_swiginit(self, _StepAP242.new_StepAP242_ItemIdentifiedRepresentationUsage(*args))

    def Definition(self, *args):
        r"""
        Return
        -------
        StepAP242_ItemIdentifiedRepresentationUsageDefinition

        Description
        -----------
        Returns field definition.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_Definition(self, *args)

    def Description(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns field description.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_Description(self, *args)

    def IdentifiedItem(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_HArray1OfRepresentationItem>

        Description
        -----------
        Returns field identifieditem.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_IdentifiedItem(self, *args)

    def IdentifiedItemValue(self, *args):
        r"""

        Parameters
        ----------
        num: int

        Return
        -------
        opencascade::handle<StepRepr_RepresentationItem>

        Description
        -----------
        Returns identified item with given number.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_IdentifiedItemValue(self, *args)

    def Init(self, *args):
        r"""

        Parameters
        ----------
        theName: TCollection_HAsciiString
        theDescription: TCollection_HAsciiString
        theDefinition: StepAP242_ItemIdentifiedRepresentationUsageDefinition
        theUsedRepresentation: StepRepr_Representation
        theIdentifiedItem: StepRepr_HArray1OfRepresentationItem

        Return
        -------
        None

        Description
        -----------
        Init all fields own and inherited.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_Init(self, *args)

    def Name(self, *args):
        r"""
        Return
        -------
        opencascade::handle<TCollection_HAsciiString>

        Description
        -----------
        Returns field name.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_Name(self, *args)

    def NbIdentifiedItem(self, *args):
        r"""
        Return
        -------
        int

        Description
        -----------
        Returns number of identified items.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_NbIdentifiedItem(self, *args)

    def SetDefinition(self, *args):
        r"""

        Parameters
        ----------
        theDefinition: StepAP242_ItemIdentifiedRepresentationUsageDefinition

        Return
        -------
        None

        Description
        -----------
        Set field definition.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_SetDefinition(self, *args)

    def SetDescription(self, *args):
        r"""

        Parameters
        ----------
        theDescription: TCollection_HAsciiString

        Return
        -------
        None

        Description
        -----------
        Set field description.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_SetDescription(self, *args)

    def SetIdentifiedItem(self, *args):
        r"""

        Parameters
        ----------
        theIdentifiedItem: StepRepr_HArray1OfRepresentationItem

        Return
        -------
        None

        Description
        -----------
        Set fiels identifieditem.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_SetIdentifiedItem(self, *args)

    def SetIdentifiedItemValue(self, *args):
        r"""

        Parameters
        ----------
        num: int
        theItem: StepRepr_RepresentationItem

        Return
        -------
        None

        Description
        -----------
        Set identified item with given number.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_SetIdentifiedItemValue(self, *args)

    def SetName(self, *args):
        r"""

        Parameters
        ----------
        theName: TCollection_HAsciiString

        Return
        -------
        None

        Description
        -----------
        Set field name.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_SetName(self, *args)

    def SetUsedRepresentation(self, *args):
        r"""

        Parameters
        ----------
        theUsedRepresentation: StepRepr_Representation

        Return
        -------
        None

        Description
        -----------
        Set field usedrepresentation.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_SetUsedRepresentation(self, *args)

    def UsedRepresentation(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_Representation>

        Description
        -----------
        Returns field usedrepresentation.

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_UsedRepresentation(self, *args)


    @staticmethod
    def DownCast(t):
      return Handle_StepAP242_ItemIdentifiedRepresentationUsage_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _StepAP242.delete_StepAP242_ItemIdentifiedRepresentationUsage

# Register StepAP242_ItemIdentifiedRepresentationUsage in _StepAP242:
_StepAP242.StepAP242_ItemIdentifiedRepresentationUsage_swigregister(StepAP242_ItemIdentifiedRepresentationUsage)
class StepAP242_ItemIdentifiedRepresentationUsageDefinition(OCC.Core.StepData.StepData_SelectType):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        Returns a itemidentifiedrepresentationusagedefinition select type.

        """
        _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_swiginit(self, _StepAP242.new_StepAP242_ItemIdentifiedRepresentationUsageDefinition(*args))

    def AppliedApprovalAssignment(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepAP214_AppliedApprovalAssignment>

        Description
        -----------
        Returns value as a appliedapprovalassignment (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_AppliedApprovalAssignment(self, *args)

    def AppliedDateAndTimeAssignment(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepAP214_AppliedDateAndTimeAssignment>

        Description
        -----------
        Returns value as a applieddateandtimeassignment (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_AppliedDateAndTimeAssignment(self, *args)

    def AppliedDateAssignment(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepAP214_AppliedDateAssignment>

        Description
        -----------
        Returns value as a applieddateassignment (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_AppliedDateAssignment(self, *args)

    def AppliedDocumentReference(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepAP214_AppliedDocumentReference>

        Description
        -----------
        Returns value as a applieddocumentreference (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_AppliedDocumentReference(self, *args)

    def AppliedExternalIdentificationAssignment(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepAP214_AppliedExternalIdentificationAssignment>

        Description
        -----------
        Returns value as a appliedexternalidentificationassignment (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_AppliedExternalIdentificationAssignment(self, *args)

    def AppliedGroupAssignment(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepAP214_AppliedGroupAssignment>

        Description
        -----------
        Returns value as a appliedgroupassignment (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_AppliedGroupAssignment(self, *args)

    def AppliedOrganizationAssignment(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepAP214_AppliedOrganizationAssignment>

        Description
        -----------
        Returns value as a appliedorganizationassignment (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_AppliedOrganizationAssignment(self, *args)

    def AppliedPersonAndOrganizationAssignment(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepAP214_AppliedPersonAndOrganizationAssignment>

        Description
        -----------
        Returns value as a appliedpersonandorganizationassignment (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_AppliedPersonAndOrganizationAssignment(self, *args)

    def AppliedSecurityClassificationAssignment(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepAP214_AppliedSecurityClassificationAssignment>

        Description
        -----------
        Returns value as a appliedsecurityclassificationassignment (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_AppliedSecurityClassificationAssignment(self, *args)

    def DimensionalSize(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepShape_DimensionalSize>

        Description
        -----------
        Returns value as a dimensionalsize (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_DimensionalSize(self, *args)

    def GeneralProperty(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepBasic_GeneralProperty>

        Description
        -----------
        Returns value as a generalproperty (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_GeneralProperty(self, *args)

    def GeometricTolerance(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepDimTol_GeometricTolerance>

        Description
        -----------
        Returns value as a geometrictolerance (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_GeometricTolerance(self, *args)

    def ProductDefinitionRelationship(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepBasic_ProductDefinitionRelationship>

        Description
        -----------
        Returns value as a productdefinitionrelationship (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_ProductDefinitionRelationship(self, *args)

    def PropertyDefinition(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_PropertyDefinition>

        Description
        -----------
        Returns value as a propertydefinition (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_PropertyDefinition(self, *args)

    def PropertyDefinitionRelationship(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_PropertyDefinitionRelationship>

        Description
        -----------
        Returns value as a propertydefinitionrelationship (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_PropertyDefinitionRelationship(self, *args)

    def ShapeAspect(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_ShapeAspect>

        Description
        -----------
        Returns value as a shapeaspect (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_ShapeAspect(self, *args)

    def ShapeAspectRelationship(self, *args):
        r"""
        Return
        -------
        opencascade::handle<StepRepr_ShapeAspectRelationship>

        Description
        -----------
        Returns value as a shapeaspectrelationship (null if another type).

        """
        return _StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_ShapeAspectRelationship(self, *args)

    __repr__ = _dumps_object

    __swig_destroy__ = _StepAP242.delete_StepAP242_ItemIdentifiedRepresentationUsageDefinition

# Register StepAP242_ItemIdentifiedRepresentationUsageDefinition in _StepAP242:
_StepAP242.StepAP242_ItemIdentifiedRepresentationUsageDefinition_swigregister(StepAP242_ItemIdentifiedRepresentationUsageDefinition)
class StepAP242_DraughtingModelItemAssociation(StepAP242_ItemIdentifiedRepresentationUsage):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        _StepAP242.StepAP242_DraughtingModelItemAssociation_swiginit(self, _StepAP242.new_StepAP242_DraughtingModelItemAssociation(*args))


    @staticmethod
    def DownCast(t):
      return Handle_StepAP242_DraughtingModelItemAssociation_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _StepAP242.delete_StepAP242_DraughtingModelItemAssociation

# Register StepAP242_DraughtingModelItemAssociation in _StepAP242:
_StepAP242.StepAP242_DraughtingModelItemAssociation_swigregister(StepAP242_DraughtingModelItemAssociation)
class StepAP242_GeometricItemSpecificUsage(StepAP242_ItemIdentifiedRepresentationUsage):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        Return
        -------
        None

        Description
        -----------
        No available documentation.

        """
        _StepAP242.StepAP242_GeometricItemSpecificUsage_swiginit(self, _StepAP242.new_StepAP242_GeometricItemSpecificUsage(*args))


    @staticmethod
    def DownCast(t):
      return Handle_StepAP242_GeometricItemSpecificUsage_DownCast(t)


    __repr__ = _dumps_object

    __swig_destroy__ = _StepAP242.delete_StepAP242_GeometricItemSpecificUsage

# Register StepAP242_GeometricItemSpecificUsage in _StepAP242:
_StepAP242.StepAP242_GeometricItemSpecificUsage_swigregister(StepAP242_GeometricItemSpecificUsage)



