OCC.TDataStd module

class Handle_TDataStd_AsciiString(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_BooleanArray(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_BooleanList(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_ByteArray(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Comment(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Current(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DataMapNodeOfDataMapOfStringByte(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DataMapNodeOfDataMapOfStringHArray1OfInteger(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DataMapNodeOfDataMapOfStringHArray1OfReal(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DataMapNodeOfDataMapOfStringReal(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DataMapNodeOfDataMapOfStringString(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DeltaOnModificationOfByteArray(*args)

Bases: OCC.TDF.Handle_TDF_DeltaOnModification

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DeltaOnModificationOfExtStringArray(*args)

Bases: OCC.TDF.Handle_TDF_DeltaOnModification

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DeltaOnModificationOfIntArray(*args)

Bases: OCC.TDF.Handle_TDF_DeltaOnModification

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DeltaOnModificationOfIntPackedMap(*args)

Bases: OCC.TDF.Handle_TDF_DeltaOnModification

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_DeltaOnModificationOfRealArray(*args)

Bases: OCC.TDF.Handle_TDF_DeltaOnModification

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Directory(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Expression(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_ExtStringArray(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_ExtStringList(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_HDataMapOfStringByte(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_HDataMapOfStringHArray1OfInteger(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_HDataMapOfStringHArray1OfReal(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_HDataMapOfStringInteger(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_HDataMapOfStringReal(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_HDataMapOfStringString(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_HLabelArray1(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_IntPackedMap(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Integer(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_IntegerArray(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_IntegerList(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_ListNodeOfListOfByte(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_ListNodeOfListOfExtendedString(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Name(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_NamedData(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_NoteBook(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Real(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_RealArray(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_RealList(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_ReferenceArray(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_ReferenceList(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Relation(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Tick(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_TreeNode(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_UAttribute(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_TDataStd_Variable(*args)

Bases: OCC.TDF.Handle_TDF_Attribute

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()
class TDataStd_AsciiString(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_AsciiString_DumpToString(TDataStd_AsciiString self) -> std::string

Get()
Return type:TCollection_AsciiString
GetHandle()
static GetID(*args)
  • class methods ============= Returns the GUID of the attribute.
Return type:Standard_GUID
IsEmpty()
Return type:bool
Set()
  • Finds, or creates an AsciiString attribute and sets the string. the AsciiString attribute is returned. AsciiString methods ===================
Parameters:
  • label (TDF_Label &) –
  • string (TCollection_AsciiString &) –
  • S (TCollection_AsciiString &) –
Return type:

Handle_TDataStd_AsciiString

Return type:

None

thisown

The membership flag

TDataStd_AsciiString_GetID(*args)
  • class methods ============= Returns the GUID of the attribute.
Return type:Standard_GUID
class TDataStd_BooleanArray(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_BooleanArray_DumpToString(TDataStd_BooleanArray self) -> std::string

GetHandle()
static GetID(*args)
  • Static methods ============== Returns an ID for array.
Return type:Standard_GUID
Init()
  • Initialize the inner array with bounds from <lower> to <upper>
Parameters:
  • lower (int) –
  • upper (int) –
Return type:

None

InternalArray()
Return type:Handle_TColStd_HArray1OfByte
Length()
  • Returns the number of elements in the array.
Return type:int
Lower()
  • Returns the lower boundary of the array.
Return type:int
static Set(*args)
  • Finds or creates an attribute with the array.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
Return type:

Handle_TDataStd_BooleanArray

SetInternalArray()
Parameters:values (Handle_TColStd_HArray1OfByte &) –
Return type:None
SetValue()
  • Sets the <Index>th element of the array to <Value> OutOfRange exception is raised if <Index> doesn’t respect Lower and Upper bounds of the internal array.
Parameters:
Return type:

None

Upper()
  • Returns the upper boundary of the array.
Return type:int
Value()
  • Return the value of the <Index>th element of the array.
Parameters:Index (int) –
Return type:bool
thisown

The membership flag

TDataStd_BooleanArray_GetID(*args)
  • Static methods ============== Returns an ID for array.
Return type:Standard_GUID
TDataStd_BooleanArray_Set(*args)
  • Finds or creates an attribute with the array.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
Return type:

Handle_TDataStd_BooleanArray

class TDataStd_BooleanList(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Append()
Parameters:value (bool) –
Return type:None
Clear()
Return type:None
DumpToString()

TDataStd_BooleanList_DumpToString(TDataStd_BooleanList self) -> std::string

Extent()
Return type:int
First()
Return type:bool
GetHandle()
static GetID(*args)
  • Static methods ============== Returns the ID of the list of booleans attribute.
Return type:Standard_GUID
IsEmpty()
Return type:bool
Last()
Return type:bool
List()
  • 1 - means True, 0 - means False.
Return type:TDataStd_ListOfByte
Prepend()
Parameters:value (bool) –
Return type:None
static Set(*args)
  • Finds or creates a list of boolean values attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_BooleanList
thisown

The membership flag

TDataStd_BooleanList_GetID(*args)
  • Static methods ============== Returns the ID of the list of booleans attribute.
Return type:Standard_GUID
TDataStd_BooleanList_Set(*args)
  • Finds or creates a list of boolean values attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_BooleanList
class TDataStd_ByteArray(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
ChangeArray()
  • Sets the inner array <myValue> of the attribute to <newArray>. If value of <newArray> differs from <myValue>, Backup performed and myValue refers to new instance of HArray1OfInteger that holds <newArray> values. If <isCheckItems> equal True each item of <newArray> will be checked with each item of <myValue> for coincidence (to avoid backup).
Parameters:
  • newArray (Handle_TColStd_HArray1OfByte &) –
  • isCheckItems (bool) – default value is Standard_True
Return type:

None

DumpToString()

TDataStd_ByteArray_DumpToString(TDataStd_ByteArray self) -> std::string

GetDelta()
Return type:bool
GetHandle()
static GetID(*args)
  • Static methods ============== Returns an ID for array.
Return type:Standard_GUID
Init()
  • Initialize the inner array with bounds from <lower> to <upper>
Parameters:
  • lower (int) –
  • upper (int) –
Return type:

None

InternalArray()
Return type:Handle_TColStd_HArray1OfByte
Length()
  • Returns the number of elements in the array.
Return type:int
Lower()
  • Returns the lower boundary of the array.
Return type:int
static Set(*args)
  • Finds or creates an attribute with the array. If <isDelta> == False, DefaultDeltaOnModification is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_ByteArray

SetDelta()
  • for internal use only!
Parameters:isDelta (bool) –
Return type:None
SetValue()
  • Sets the <Index>th element of the array to <Value> OutOfRange exception is raised if <Index> doesn’t respect Lower and Upper bounds of the internal array.
Parameters:
  • index (int) –
  • value (Standard_Byte) –
Return type:

None

Upper()
  • Returns the upper boundary of the array.
Return type:int
Value()
  • Return the value of the <Index>th element of the array.
Parameters:Index (int) –
Return type:Standard_Byte
thisown

The membership flag

TDataStd_ByteArray_GetID(*args)
  • Static methods ============== Returns an ID for array.
Return type:Standard_GUID
TDataStd_ByteArray_Set(*args)
  • Finds or creates an attribute with the array. If <isDelta> == False, DefaultDeltaOnModification is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_ByteArray

class TDataStd_ChildNodeIterator(*args)

Bases: object

  • Creates an empty iterator.
Return type:None
  • Iterates on the ChildStepren of the given Step. If <allLevels> option is set to true, it explores not only the first, but all the sub Step levels.
Parameters:
  • aTreeNode (Handle_TDataStd_TreeNode &) –
  • allLevels (bool) – default value is Standard_False
Return type:

None

Initialize()
  • Initializes the iteration on the Children Step of the given Step. If <allLevels> option is set to true, it explores not only the first, but all the sub Step levels.
Parameters:
  • aTreeNode (Handle_TDataStd_TreeNode &) –
  • allLevels (bool) – default value is Standard_False
Return type:

None

More()
  • Returns True if there is a current Item in the iteration.
Return type:bool
Next()
  • Move to the next Item
Return type:None
NextBrother()
  • Move to the next Brother. If there is none, go up etc. This method is interesting only with ‘allLevels’ behavior, because it avoids to explore the current Step ChildStepren.
Return type:None
Value()
  • Returns the current item; a null Step if there is no one.
Return type:Handle_TDataStd_TreeNode
thisown

The membership flag

class TDataStd_Comment(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_Comment_DumpToString(TDataStd_Comment self) -> std::string

Get()
  • Returns the comment attribute.
Return type:TCollection_ExtendedString
GetHandle()
static GetID(*args)
  • class methods ============= Returns the GUID for comments.
Return type:Standard_GUID
Set()
  • Find, or create a Comment attribute. the Comment attribute is returned.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Comment
  • Finds, or creates a Comment attribute and sets the string. the Comment attribute is returned. Comment methods ============
Parameters:
  • label (TDF_Label &) –
  • string (TCollection_ExtendedString &) –
  • S (TCollection_ExtendedString &) –
Return type:

Handle_TDataStd_Comment

Return type:

None

thisown

The membership flag

TDataStd_Comment_GetID(*args)
  • class methods ============= Returns the GUID for comments.
Return type:Standard_GUID
class TDataStd_Current(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_Current_DumpToString(TDataStd_Current self) -> std::string

static Get(*args)
  • returns current of <acces> Framework. raise if (!Has)
Parameters:acces (TDF_Label &) –
Return type:TDF_Label
GetHandle()
static GetID(*args)
  • class methods =============
Return type:Standard_GUID
GetLabel()
Return type:TDF_Label
static Has(*args)
  • returns True if a current label is managed in <acces> Framework. class methods =============
Parameters:acces (TDF_Label &) –
Return type:bool
static Set(*args)
  • Set <L> as current of <L> Framework.
Parameters:L (TDF_Label &) –
Return type:void
SetLabel()
Parameters:current (TDF_Label &) –
Return type:None
thisown

The membership flag

TDataStd_Current_Get(*args)
  • returns current of <acces> Framework. raise if (!Has)
Parameters:acces (TDF_Label &) –
Return type:TDF_Label
TDataStd_Current_GetID(*args)
  • class methods =============
Return type:Standard_GUID
TDataStd_Current_Has(*args)
  • returns True if a current label is managed in <acces> Framework. class methods =============
Parameters:acces (TDF_Label &) –
Return type:bool
TDataStd_Current_Set(*args)
  • Set <L> as current of <L> Framework.
Parameters:L (TDF_Label &) –
Return type:void
class TDataStd_DataMapIteratorOfDataMapOfStringByte(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (TDataStd_DataMapOfStringByte &) –
Return type:None
Initialize()
Parameters:aMap (TDataStd_DataMapOfStringByte &) –
Return type:None
Key()
Return type:TCollection_ExtendedString
Value()
Return type:Standard_Byte
thisown

The membership flag

class TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (TDataStd_DataMapOfStringHArray1OfInteger &) –
Return type:None
Initialize()
Parameters:aMap (TDataStd_DataMapOfStringHArray1OfInteger &) –
Return type:None
Key()
Return type:TCollection_ExtendedString
Value()
Return type:Handle_TColStd_HArray1OfInteger
thisown

The membership flag

class TDataStd_DataMapIteratorOfDataMapOfStringHArray1OfReal(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (TDataStd_DataMapOfStringHArray1OfReal &) –
Return type:None
Initialize()
Parameters:aMap (TDataStd_DataMapOfStringHArray1OfReal &) –
Return type:None
Key()
Return type:TCollection_ExtendedString
Value()
Return type:Handle_TColStd_HArray1OfReal
thisown

The membership flag

class TDataStd_DataMapIteratorOfDataMapOfStringReal(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (TDataStd_DataMapOfStringReal &) –
Return type:None
Initialize()
Parameters:aMap (TDataStd_DataMapOfStringReal &) –
Return type:None
Key()
Return type:TCollection_ExtendedString
Value()
Return type:float
thisown

The membership flag

class TDataStd_DataMapIteratorOfDataMapOfStringString(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (TDataStd_DataMapOfStringString &) –
Return type:None
Initialize()
Parameters:aMap (TDataStd_DataMapOfStringString &) –
Return type:None
Key()
Return type:TCollection_ExtendedString
Value()
Return type:TCollection_ExtendedString
thisown

The membership flag

class TDataStd_DataMapNodeOfDataMapOfStringByte(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TCollection_ExtendedString &) –
  • I (Standard_Byte &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:TCollection_ExtendedString
Value()
Return type:Standard_Byte
thisown

The membership flag

class TDataStd_DataMapNodeOfDataMapOfStringHArray1OfInteger(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TCollection_ExtendedString &) –
  • I (Handle_TColStd_HArray1OfInteger &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:TCollection_ExtendedString
Value()
Return type:Handle_TColStd_HArray1OfInteger
thisown

The membership flag

class TDataStd_DataMapNodeOfDataMapOfStringHArray1OfReal(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TCollection_ExtendedString &) –
  • I (Handle_TColStd_HArray1OfReal &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:TCollection_ExtendedString
Value()
Return type:Handle_TColStd_HArray1OfReal
thisown

The membership flag

class TDataStd_DataMapNodeOfDataMapOfStringReal(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TCollection_ExtendedString &) –
  • I (float &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetValue()

TDataStd_DataMapNodeOfDataMapOfStringReal_GetValue(TDataStd_DataMapNodeOfDataMapOfStringReal self) -> Standard_Real

Key()
Return type:TCollection_ExtendedString
SetValue()

TDataStd_DataMapNodeOfDataMapOfStringReal_SetValue(TDataStd_DataMapNodeOfDataMapOfStringReal self, Standard_Real value)

thisown

The membership flag

class TDataStd_DataMapNodeOfDataMapOfStringString(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TCollection_ExtendedString &) –
  • I (TCollection_ExtendedString &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:TCollection_ExtendedString
Value()
Return type:TCollection_ExtendedString
thisown

The membership flag

class TDataStd_DataMapOfStringByte(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (TDataStd_DataMapOfStringByte &) –
Return type:TDataStd_DataMapOfStringByte
Bind()
Parameters:
  • K (TCollection_ExtendedString &) –
  • I (Standard_Byte &) –
Return type:

bool

ChangeFind()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Byte
ChangeFind1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Byte
Find1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
IsBound()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (TDataStd_DataMapOfStringByte &) –
Return type:TDataStd_DataMapOfStringByte
UnBind()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
thisown

The membership flag

class TDataStd_DataMapOfStringHArray1OfInteger(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (TDataStd_DataMapOfStringHArray1OfInteger &) –
Return type:TDataStd_DataMapOfStringHArray1OfInteger
Bind()
Parameters:
  • K (TCollection_ExtendedString &) –
  • I (Handle_TColStd_HArray1OfInteger &) –
Return type:

bool

ChangeFind()
Parameters:K (TCollection_ExtendedString &) –
Return type:Handle_TColStd_HArray1OfInteger
ChangeFind1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TCollection_ExtendedString &) –
Return type:Handle_TColStd_HArray1OfInteger
Find1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
IsBound()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (TDataStd_DataMapOfStringHArray1OfInteger &) –
Return type:TDataStd_DataMapOfStringHArray1OfInteger
UnBind()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
thisown

The membership flag

class TDataStd_DataMapOfStringHArray1OfReal(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (TDataStd_DataMapOfStringHArray1OfReal &) –
Return type:TDataStd_DataMapOfStringHArray1OfReal
Bind()
Parameters:
  • K (TCollection_ExtendedString &) –
  • I (Handle_TColStd_HArray1OfReal &) –
Return type:

bool

ChangeFind()
Parameters:K (TCollection_ExtendedString &) –
Return type:Handle_TColStd_HArray1OfReal
ChangeFind1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TCollection_ExtendedString &) –
Return type:Handle_TColStd_HArray1OfReal
Find1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
IsBound()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (TDataStd_DataMapOfStringHArray1OfReal &) –
Return type:TDataStd_DataMapOfStringHArray1OfReal
UnBind()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
thisown

The membership flag

class TDataStd_DataMapOfStringReal(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (TDataStd_DataMapOfStringReal &) –
Return type:TDataStd_DataMapOfStringReal
Bind()
Parameters:
  • K (TCollection_ExtendedString &) –
  • I (float &) –
Return type:

bool

ChangeFind()
Parameters:K (TCollection_ExtendedString &) –
Return type:float
ChangeFind1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TCollection_ExtendedString &) –
Return type:float
Find1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
IsBound()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (TDataStd_DataMapOfStringReal &) –
Return type:TDataStd_DataMapOfStringReal
UnBind()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
thisown

The membership flag

class TDataStd_DataMapOfStringString(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (TDataStd_DataMapOfStringString &) –
Return type:TDataStd_DataMapOfStringString
Bind()
Parameters:
  • K (TCollection_ExtendedString &) –
  • I (TCollection_ExtendedString &) –
Return type:

bool

ChangeFind()
Parameters:K (TCollection_ExtendedString &) –
Return type:TCollection_ExtendedString
ChangeFind1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TCollection_ExtendedString &) –
Return type:TCollection_ExtendedString
Find1()
Parameters:K (TCollection_ExtendedString &) –
Return type:Standard_Address
IsBound()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (TDataStd_DataMapOfStringString &) –
Return type:TDataStd_DataMapOfStringString
UnBind()
Parameters:K (TCollection_ExtendedString &) –
Return type:bool
thisown

The membership flag

class TDataStd_DeltaOnModificationOfByteArray(*args)

Bases: OCC.TDF.TDF_DeltaOnModification

  • Initializes a TDF_DeltaOnModification.
Parameters:Arr (Handle_TDataStd_ByteArray &) –
Return type:None
GetHandle()
thisown

The membership flag

class TDataStd_DeltaOnModificationOfExtStringArray(*args)

Bases: OCC.TDF.TDF_DeltaOnModification

  • Initializes a TDF_DeltaOnModification.
Parameters:Arr (Handle_TDataStd_ExtStringArray &) –
Return type:None
GetHandle()
thisown

The membership flag

class TDataStd_DeltaOnModificationOfIntArray(*args)

Bases: OCC.TDF.TDF_DeltaOnModification

  • Initializes a TDF_DeltaOnModification.
Parameters:Arr (Handle_TDataStd_IntegerArray &) –
Return type:None
GetHandle()
thisown

The membership flag

class TDataStd_DeltaOnModificationOfIntPackedMap(*args)

Bases: OCC.TDF.TDF_DeltaOnModification

  • Initializes a TDF_DeltaOnModification.
Parameters:Arr (Handle_TDataStd_IntPackedMap &) –
Return type:None
GetHandle()
thisown

The membership flag

class TDataStd_DeltaOnModificationOfRealArray(*args)

Bases: OCC.TDF.TDF_DeltaOnModification

  • Initializes a TDF_DeltaOnModification.
Parameters:Arr (Handle_TDataStd_RealArray &) –
Return type:None
GetHandle()
thisown

The membership flag

class TDataStd_Directory(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
static AddDirectory(*args)
  • Creates a new sub-label and sets the sub-directory dir on that label.
Parameters:dir (Handle_TDataStd_Directory &) –
Return type:Handle_TDataStd_Directory
DumpToString()

TDataStd_Directory_DumpToString(TDataStd_Directory self) -> std::string

static Find(*args)
  • class methods ============= Searches for a directory attribute on the label current, or on one of the father labels of current. If a directory attribute is found, true is returned, and the attribute found is set as D.
Parameters:
  • current (TDF_Label &) –
  • D (Handle_TDataStd_Directory &) –
Return type:

bool

GetHandle()
static GetID(*args)
  • Directory methods ===============
Return type:Standard_GUID
static MakeObjectLabel(*args)
  • Makes new label and returns it to insert other object attributes (sketch,part...etc...)
Parameters:dir (Handle_TDataStd_Directory &) –
Return type:TDF_Label
static New(*args)
  • Creates an enpty Directory attribute, located at <label>. Raises if <label> has attribute
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Directory
thisown

The membership flag

TDataStd_Directory_AddDirectory(*args)
  • Creates a new sub-label and sets the sub-directory dir on that label.
Parameters:dir (Handle_TDataStd_Directory &) –
Return type:Handle_TDataStd_Directory
TDataStd_Directory_Find(*args)
  • class methods ============= Searches for a directory attribute on the label current, or on one of the father labels of current. If a directory attribute is found, true is returned, and the attribute found is set as D.
Parameters:
  • current (TDF_Label &) –
  • D (Handle_TDataStd_Directory &) –
Return type:

bool

TDataStd_Directory_GetID(*args)
  • Directory methods ===============
Return type:Standard_GUID
TDataStd_Directory_MakeObjectLabel(*args)
  • Makes new label and returns it to insert other object attributes (sketch,part...etc...)
Parameters:dir (Handle_TDataStd_Directory &) –
Return type:TDF_Label
TDataStd_Directory_New(*args)
  • Creates an enpty Directory attribute, located at <label>. Raises if <label> has attribute
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Directory
class TDataStd_Expression(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_Expression_DumpToString(TDataStd_Expression self) -> std::string

GetExpression()
Return type:TCollection_ExtendedString
GetHandle()
static GetID(*args)
  • class methods =============
Return type:Standard_GUID
GetVariables()
Return type:TDF_AttributeList
Name()
  • build and return the expression name
Return type:TCollection_ExtendedString
static Set(*args)
  • Find, or create, an Expression attribute. Expressionmethods ============
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Expression
SetExpression()
Parameters:E (TCollection_ExtendedString &) –
Return type:None
thisown

The membership flag

TDataStd_Expression_GetID(*args)
  • class methods =============
Return type:Standard_GUID
TDataStd_Expression_Set(*args)
  • Find, or create, an Expression attribute. Expressionmethods ============
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Expression
class TDataStd_ExtStringArray(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Array()
  • Return the inner array of the ExtStringArray attribute
Return type:Handle_TColStd_HArray1OfExtendedString
ChangeArray()
  • Sets the inner array <myValue> of the ExtStringArray attribute to <newArray>. If value of <newArray> differs from <myValue>, Backup performed and myValue refers to new instance of HArray1OfExtendedString that holds <newArray> values If <isCheckItems> equal True each item of <newArray> will be checked with each item of <myValue> for coincidence (to avoid backup).
Parameters:
  • newArray (Handle_TColStd_HArray1OfExtendedString &) –
  • isCheckItems (bool) – default value is Standard_True
Return type:

None

DumpToString()

TDataStd_ExtStringArray_DumpToString(TDataStd_ExtStringArray self) -> std::string

GetDelta()
Return type:bool
GetHandle()
static GetID(*args)
  • class methods ============= Returns the GUID for the attribute.
Return type:Standard_GUID
Init()
  • Initializes the inner array with bounds from <lower> to <upper>
Parameters:
  • lower (int) –
  • upper (int) –
Return type:

None

Length()
  • Return the number of elements of <self>.
Return type:int
Lower()
  • Return the lower bound.
Return type:int
static Set(*args)
  • Finds, or creates, an ExtStringArray attribute with <lower> and <upper> bounds. The ExtStringArray attribute is returned. If <isDelta> == False, DefaultDeltaOnModification is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_ExtStringArray

SetDelta()
  • for internal use only!
Parameters:isDelta (bool) –
Return type:None
SetValue()
  • Sets the <Index>th element of the array to <Value> OutOfRange exception is raised if <Index> doesn’t respect Lower and Upper bounds of the internal array.
Parameters:
  • Index (int) –
  • Value (TCollection_ExtendedString &) –
Return type:

None

Upper()
  • Return the upper bound
Return type:int
Value()
  • Returns the value of the <Index>th element of the array
Parameters:Index (int) –
Return type:TCollection_ExtendedString
thisown

The membership flag

TDataStd_ExtStringArray_GetID(*args)
  • class methods ============= Returns the GUID for the attribute.
Return type:Standard_GUID
TDataStd_ExtStringArray_Set(*args)
  • Finds, or creates, an ExtStringArray attribute with <lower> and <upper> bounds. The ExtStringArray attribute is returned. If <isDelta> == False, DefaultDeltaOnModification is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_ExtStringArray

class TDataStd_ExtStringList(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Append()
Parameters:value (TCollection_ExtendedString &) –
Return type:None
Clear()
Return type:None
DumpToString()

TDataStd_ExtStringList_DumpToString(TDataStd_ExtStringList self) -> std::string

Extent()
Return type:int
First()
Return type:TCollection_ExtendedString
GetHandle()
static GetID(*args)
  • Static methods ============== Returns the ID of the list of strings attribute.
Return type:Standard_GUID
InsertAfter()
  • Inserts the <value> after the first meet of <after_value>.
Parameters:
  • value (TCollection_ExtendedString &) –
  • after_value (TCollection_ExtendedString &) –
Return type:

bool

InsertBefore()
  • Inserts the <value> before the first meet of <before_value>.
Parameters:
  • value (TCollection_ExtendedString &) –
  • before_value (TCollection_ExtendedString &) –
Return type:

bool

IsEmpty()
Return type:bool
Last()
Return type:TCollection_ExtendedString
List()
Return type:TDataStd_ListOfExtendedString
Prepend()
Parameters:value (TCollection_ExtendedString &) –
Return type:None
Remove()
  • Removes the first meet of the <value>.
Parameters:value (TCollection_ExtendedString &) –
Return type:bool
static Set(*args)
  • Finds or creates a list of string values attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_ExtStringList
thisown

The membership flag

TDataStd_ExtStringList_GetID(*args)
  • Static methods ============== Returns the ID of the list of strings attribute.
Return type:Standard_GUID
TDataStd_ExtStringList_Set(*args)
  • Finds or creates a list of string values attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_ExtStringList
class TDataStd_HDataMapOfStringByte(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • NbBuckets (int) – default value is 1
  • theOther (TDataStd_DataMapOfStringByte &) –
Return type:

None

Return type:

None

ChangeMap()
Return type:TDataStd_DataMapOfStringByte
GetHandle()
Map()
Return type:TDataStd_DataMapOfStringByte
thisown

The membership flag

class TDataStd_HDataMapOfStringHArray1OfInteger(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • NbBuckets (int) – default value is 1
  • theOther (TDataStd_DataMapOfStringHArray1OfInteger &) –
Return type:

None

Return type:

None

ChangeMap()
Return type:TDataStd_DataMapOfStringHArray1OfInteger
GetHandle()
Map()
Return type:TDataStd_DataMapOfStringHArray1OfInteger
thisown

The membership flag

class TDataStd_HDataMapOfStringHArray1OfReal(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • NbBuckets (int) – default value is 1
  • theOther (TDataStd_DataMapOfStringHArray1OfReal &) –
Return type:

None

Return type:

None

ChangeMap()
Return type:TDataStd_DataMapOfStringHArray1OfReal
GetHandle()
Map()
Return type:TDataStd_DataMapOfStringHArray1OfReal
thisown

The membership flag

class TDataStd_HDataMapOfStringInteger(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • NbBuckets (int) – default value is 1
  • theOther (TColStd_DataMapOfStringInteger &) –
Return type:

None

Return type:

None

ChangeMap()
Return type:TColStd_DataMapOfStringInteger
GetHandle()
Map()
Return type:TColStd_DataMapOfStringInteger
thisown

The membership flag

class TDataStd_HDataMapOfStringReal(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • NbBuckets (int) – default value is 1
  • theOther (TDataStd_DataMapOfStringReal &) –
Return type:

None

Return type:

None

ChangeMap()
Return type:TDataStd_DataMapOfStringReal
GetHandle()
Map()
Return type:TDataStd_DataMapOfStringReal
thisown

The membership flag

class TDataStd_HDataMapOfStringString(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • NbBuckets (int) – default value is 1
  • theOther (TDataStd_DataMapOfStringString &) –
Return type:

None

Return type:

None

ChangeMap()
Return type:TDataStd_DataMapOfStringString
GetHandle()
Map()
Return type:TDataStd_DataMapOfStringString
thisown

The membership flag

class TDataStd_HLabelArray1(*args)

Bases: OCC.MMgt.MMgt_TShared

Parameters:
  • Low (int) –
  • Up (int) –
  • Low
  • Up
  • V (TDF_Label &) –
Return type:

None

Return type:

None

Array1()
Return type:TDataStd_LabelArray1
ChangeArray1()
Return type:TDataStd_LabelArray1
ChangeValue()
Parameters:Index (int) –
Return type:TDF_Label
GetHandle()
Init()
Parameters:V (TDF_Label &) –
Return type:None
Length()
Return type:int
Lower()
Return type:int
SetValue()
Parameters:
  • Index (int) –
  • Value (TDF_Label &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:TDF_Label
thisown

The membership flag

class TDataStd_IntPackedMap(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Add()
Parameters:theKey (int) –
Return type:bool
ChangeMap()
Parameters:theMap (Handle_TColStd_HPackedMapOfInteger &) –
Return type:bool
Clear()
Return type:bool
Contains()
Parameters:theKey (int) –
Return type:bool
DumpToString()

TDataStd_IntPackedMap_DumpToString(TDataStd_IntPackedMap self) -> std::string

Extent()
Return type:int
GetDelta()
Return type:bool
GetHMap()
Return type:Handle_TColStd_HPackedMapOfInteger
GetHandle()
static GetID(*args)
  • class methods ============= Returns the GUID of the attribute.
Return type:Standard_GUID
GetMap()
Return type:TColStd_PackedMapOfInteger
IsEmpty()
Return type:bool
Remove()
Parameters:theKey (int) –
Return type:bool
static Set(*args)
  • Finds or creates an integer map attribute on the given label. If <isDelta> == False, DefaultDeltaOnModification is used. If <isDelta> == True, DeltaOnModification of the current attribute is used. If attribute is already set, input parameter <isDelta> is refused and the found attribute returned. Attribute methods ===================
Parameters:
  • label (TDF_Label &) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_IntPackedMap

SetDelta()
  • for internal use only!
Parameters:isDelta (bool) –
Return type:None
thisown

The membership flag

TDataStd_IntPackedMap_GetID(*args)
  • class methods ============= Returns the GUID of the attribute.
Return type:Standard_GUID
TDataStd_IntPackedMap_Set(*args)
  • Finds or creates an integer map attribute on the given label. If <isDelta> == False, DefaultDeltaOnModification is used. If <isDelta> == True, DeltaOnModification of the current attribute is used. If attribute is already set, input parameter <isDelta> is refused and the found attribute returned. Attribute methods ===================
Parameters:
  • label (TDF_Label &) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_IntPackedMap

class TDataStd_Integer(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_Integer_DumpToString(TDataStd_Integer self) -> std::string

Get()
  • Returns the integer value contained in the attribute.
Return type:int
GetHandle()
static GetID(*args)
  • class methods ============= Returns the GUID for integers.
Return type:Standard_GUID
IsCaptured()
  • Returns True if there is a reference on the same label
Return type:bool
Set()
  • Finds, or creates, an Integer attribute and sets <value> the Integer attribute is returned. Integer methods ===============
Parameters:
  • label (TDF_Label &) –
  • value (int) –
  • V (int) –
Return type:

Handle_TDataStd_Integer

Return type:

None

thisown

The membership flag

class TDataStd_IntegerArray(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Array()
  • Return the inner array of the IntegerArray attribute
Return type:Handle_TColStd_HArray1OfInteger
ChangeArray()
  • Sets the inner array <myValue> of the IntegerArray attribute to <newArray>. If value of <newArray> differs from <myValue>, Backup performed and myValue refers to new instance of HArray1OfInteger that holds <newArray> values If <isCheckItems> equal True each item of <newArray> will be checked with each item of <myValue> for coincidence (to avoid backup).
Parameters:
  • newArray (Handle_TColStd_HArray1OfInteger &) –
  • isCheckItems (bool) – default value is Standard_True
Return type:

None

DumpToString()

TDataStd_IntegerArray_DumpToString(TDataStd_IntegerArray self) -> std::string

GetDelta()
Return type:bool
GetHandle()
static GetID(*args)
  • class methods ============= Returns the GUID for arrays of integers.
Return type:Standard_GUID
Init()
  • Initialize the inner array with bounds from <lower> to <upper>
Parameters:
  • lower (int) –
  • upper (int) –
Return type:

None

Length()
  • Returns the length of this array of integers in terms of the number of elements it contains.
Return type:int
Lower()
  • Returns the lower boundary of this array of integers.
Return type:int
static Set(*args)
  • Finds or creates on the <label> an integer array attribute with the specified <lower> and <upper> boundaries. If <isDelta> == False, DefaultDeltaOnModification is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_IntegerArray

SetDelta()
  • for internal use only!
Parameters:isDelta (bool) –
Return type:None
SetValue()
  • Sets the <Index>th element of the array to <Value> OutOfRange exception is raised if <Index> doesn’t respect Lower and Upper bounds of the internal array.
Parameters:
  • Index (int) –
  • Value (int) –
Return type:

None

Upper()
  • Return the upper boundary of this array of integers.
Return type:int
Value()
  • Return the value of the <Index>th element of the array
Parameters:Index (int) –
Return type:int
thisown

The membership flag

TDataStd_IntegerArray_GetID(*args)
  • class methods ============= Returns the GUID for arrays of integers.
Return type:Standard_GUID
TDataStd_IntegerArray_Set(*args)
  • Finds or creates on the <label> an integer array attribute with the specified <lower> and <upper> boundaries. If <isDelta> == False, DefaultDeltaOnModification is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_IntegerArray

class TDataStd_IntegerList(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Append()
Parameters:value (int) –
Return type:None
Clear()
Return type:None
DumpToString()

TDataStd_IntegerList_DumpToString(TDataStd_IntegerList self) -> std::string

Extent()
Return type:int
First()
Return type:int
GetHandle()
static GetID(*args)
  • Static methods ============== Returns the ID of the list of integer attribute.
Return type:Standard_GUID
InsertAfter()
  • Inserts the <value> after the first meet of <after_value>.
Parameters:
  • value (int) –
  • after_value (int) –
Return type:

bool

InsertBefore()
  • Inserts the <value> before the first meet of <before_value>.
Parameters:
  • value (int) –
  • before_value (int) –
Return type:

bool

IsEmpty()
Return type:bool
Last()
Return type:int
List()
Return type:TColStd_ListOfInteger
Prepend()
Parameters:value (int) –
Return type:None
Remove()
  • Removes the first meet of the <value>.
Parameters:value (int) –
Return type:bool
static Set(*args)
  • Finds or creates a list of integer values attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_IntegerList
thisown

The membership flag

TDataStd_IntegerList_GetID(*args)
  • Static methods ============== Returns the ID of the list of integer attribute.
Return type:Standard_GUID
TDataStd_IntegerList_Set(*args)
  • Finds or creates a list of integer values attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_IntegerList
TDataStd_Integer_GetID(*args)
  • class methods ============= Returns the GUID for integers.
Return type:Standard_GUID
class TDataStd_LabelArray1(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (TDF_Label &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (TDataStd_LabelArray1 &) –
Return type:TDataStd_LabelArray1
ChangeValue()
Parameters:Index (int) –
Return type:TDF_Label
Destroy()
Return type:None
Init()
Parameters:V (TDF_Label &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (TDataStd_LabelArray1 &) –
Return type:TDataStd_LabelArray1
SetValue()
Parameters:
  • Index (int) –
  • Value (TDF_Label &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:TDF_Label
thisown

The membership flag

class TDataStd_ListIteratorOfListOfByte(*args)

Bases: object

Return type:None
Parameters:L (TDataStd_ListOfByte &) –
Return type:None
Initialize()
Parameters:L (TDataStd_ListOfByte &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:Standard_Byte
thisown

The membership flag

class TDataStd_ListIteratorOfListOfExtendedString(*args)

Bases: object

Return type:None
Parameters:L (TDataStd_ListOfExtendedString &) –
Return type:None
Initialize()
Parameters:L (TDataStd_ListOfExtendedString &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:TCollection_ExtendedString
thisown

The membership flag

class TDataStd_ListNodeOfListOfByte(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (Standard_Byte &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Standard_Byte
thisown

The membership flag

class TDataStd_ListNodeOfListOfExtendedString(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (TCollection_ExtendedString &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:TCollection_ExtendedString
thisown

The membership flag

class TDataStd_ListOfByte(*args)

Bases: object

Return type:None
Parameters:Other (TDataStd_ListOfByte &) –
Return type:None
Append()
Parameters:
  • I (Standard_Byte &) –
  • I
  • theIt (TDataStd_ListIteratorOfListOfByte &) –
  • Other (TDataStd_ListOfByte &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (TDataStd_ListOfByte &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:Standard_Byte
InsertAfter()
Parameters:
  • I (Standard_Byte &) –
  • It (TDataStd_ListIteratorOfListOfByte &) –
  • Other (TDataStd_ListOfByte &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (Standard_Byte &) –
  • It (TDataStd_ListIteratorOfListOfByte &) –
  • Other (TDataStd_ListOfByte &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:Standard_Byte
Prepend()
Parameters:
  • I (Standard_Byte &) –
  • I
  • theIt (TDataStd_ListIteratorOfListOfByte &) –
  • Other (TDataStd_ListOfByte &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (TDataStd_ListIteratorOfListOfByte &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (TDataStd_ListOfByte &) –
Return type:None
thisown

The membership flag

class TDataStd_ListOfExtendedString(*args)

Bases: object

Return type:None
Parameters:Other (TDataStd_ListOfExtendedString &) –
Return type:None
Append()
Parameters:
  • I (TCollection_ExtendedString &) –
  • I
  • theIt (TDataStd_ListIteratorOfListOfExtendedString &) –
  • Other (TDataStd_ListOfExtendedString &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (TDataStd_ListOfExtendedString &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:TCollection_ExtendedString
InsertAfter()
Parameters:
  • I (TCollection_ExtendedString &) –
  • It (TDataStd_ListIteratorOfListOfExtendedString &) –
  • Other (TDataStd_ListOfExtendedString &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (TCollection_ExtendedString &) –
  • It (TDataStd_ListIteratorOfListOfExtendedString &) –
  • Other (TDataStd_ListOfExtendedString &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:TCollection_ExtendedString
Prepend()
Parameters:
  • I (TCollection_ExtendedString &) –
  • I
  • theIt (TDataStd_ListIteratorOfListOfExtendedString &) –
  • Other (TDataStd_ListOfExtendedString &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (TDataStd_ListIteratorOfListOfExtendedString &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (TDataStd_ListOfExtendedString &) –
Return type:None
thisown

The membership flag

class TDataStd_Name(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_Name_DumpToString(TDataStd_Name self) -> std::string

Get()
  • Returns the name contained in this name attribute.
Return type:TCollection_ExtendedString
GetHandle()
static GetID(*args)
  • class methods working on the name itself ======================================== Returns the GUID for name attributes.
Return type:Standard_GUID
Set()
  • Creates (if does not exist) and sets the name in the name attribute. from any label <L> search in father labels (L is not concerned) the first name attribute.if found set it in <father>. class methods working on the name tree ====================================== Search in the whole TDF_Data the Name attribute which fit with <fullPath>. Returns True if found. Search under <currentLabel> a label which fit with <name>. Returns True if found. Shortcut which avoids building a ListOfExtendedStrin. Search in the whole TDF_Data the label which fit with name Returns True if found. tools methods to translate path <-> pathlist =========================================== move to draw For Draw test we may provide this tool method which convert a path in a sequence of string to call after the FindLabel methods. Example: if it’s given ‘Assembly:Part_1:Sketch_5’ it will return in <pathlist> the list of 3 strings: ‘Assembly’,’Part_1’,’Sketch_5’. move to draw from <pathlist> build the string path Name methods ============
Parameters:
  • label (TDF_Label &) –
  • string (TCollection_ExtendedString &) –
Return type:

Handle_TDataStd_Name

  • Sets <S> as name. Raises if <S> is not a valid name.
Parameters:S (TCollection_ExtendedString &) –
Return type:None
thisown

The membership flag

TDataStd_Name_GetID(*args)
  • class methods working on the name itself ======================================== Returns the GUID for name attributes.
Return type:Standard_GUID
class TDataStd_NamedData(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
ChangeArraysOfIntegers()
  • Replace the container content by new content of the <theArraysOfIntegers>.
Parameters:theArraysOfIntegers (TDataStd_DataMapOfStringHArray1OfInteger &) –
Return type:None
ChangeArraysOfReals()
  • Replace the container content by new content of the <theArraysOfReals>.
Parameters:theArraysOfReals (TDataStd_DataMapOfStringHArray1OfReal &) –
Return type:None
ChangeBytes()
  • Replace the container content by new content of the <theBytes>.
Parameters:theBytes (TDataStd_DataMapOfStringByte &) –
Return type:None
ChangeIntegers()
  • Replace the container content by new content of the <theIntegers>.
Parameters:theIntegers (TColStd_DataMapOfStringInteger &) –
Return type:None
ChangeReals()
  • Replace the container content by new content of the <theReals>.
Parameters:theReals (TDataStd_DataMapOfStringReal &) –
Return type:None
ChangeStrings()
  • Replace the container content by new content of the <theStrings>.
Parameters:theStrings (TDataStd_DataMapOfStringString &) –
Return type:None
DumpToString()

TDataStd_NamedData_DumpToString(TDataStd_NamedData self) -> std::string

GetArrayOfIntegers()
  • Returns the named array of integer values. It returns a NULL Handle if there is no such a named array of integers (use HasArrayOfIntegers()).
Parameters:theName (TCollection_ExtendedString &) –
Return type:Handle_TColStd_HArray1OfInteger
GetArrayOfReals()
  • Returns the named array of real values. It returns a NULL Handle if there is no such a named array of reals (use HasArrayOfReals()).
Parameters:theName (TCollection_ExtendedString &) –
Return type:Handle_TColStd_HArray1OfReal
GetArraysOfIntegersContainer()
  • Returns the internal container of named arrays of integer values.
Return type:TDataStd_DataMapOfStringHArray1OfInteger
GetArraysOfRealsContainer()
  • Returns the internal container of named arrays of real values.
Return type:TDataStd_DataMapOfStringHArray1OfReal
GetByte()
  • Returns the named byte. It returns 0 if there is no such a named byte (use HasByte()).
Parameters:theName (TCollection_ExtendedString &) –
Return type:Standard_Byte
GetBytesContainer()
  • Returns the internal container of named bytes.
Return type:TDataStd_DataMapOfStringByte
GetHandle()
static GetID(*args)
  • Static methods ============== Returns the ID of the named data attribute.
Return type:Standard_GUID
GetInteger()
  • Returns the integer value specified by the Name. It returns 0 if internal map doesn’t contain the specified integer (use HasInteger() to check before).
Parameters:theName (TCollection_ExtendedString &) –
Return type:int
GetIntegersContainer()
  • Returns the internal container of named integers.
Return type:TColStd_DataMapOfStringInteger
GetReal()
  • Returns the named real. It returns 0.0 if there is no such a named real (use HasReal()).
Parameters:theName (TCollection_ExtendedString &) –
Return type:float
GetRealsContainer()
  • Returns the internal container of named reals.
Return type:TDataStd_DataMapOfStringReal
GetString()
  • Returns the named string. It returns an empty string if there is no such a named string (use HasString()).
Parameters:theName (TCollection_ExtendedString &) –
Return type:TCollection_ExtendedString
GetStringsContainer()
  • Returns the internal container of named strings.
Return type:TDataStd_DataMapOfStringString
HasArrayOfIntegers()
  • Returns true if the attribute contains this named array of integer values.
Parameters:theName (TCollection_ExtendedString &) –
Return type:bool
HasArrayOfReals()
  • Returns true if the attribute contains this named array of real values.
Parameters:theName (TCollection_ExtendedString &) –
Return type:bool
HasArraysOfIntegers()
  • Returns true if there are some named arrays of integer values in the attribute.
Return type:bool
HasArraysOfReals()
  • Returns true if there are some named arrays of real values in the attribute.
Return type:bool
HasByte()
  • Returns true if the attribute contains this named byte.
Parameters:theName (TCollection_ExtendedString &) –
Return type:bool
HasBytes()
  • Returns true if there are some named bytes in the attribute.
Return type:bool
HasInteger()
  • Returns true if the attribute contains specified by Name integer value.
Parameters:theName (TCollection_ExtendedString &) –
Return type:bool
HasIntegers()
  • Returns true if at least one named integer value is kept in the attribute.
Return type:bool
HasReal()
  • Returns true if the attribute contains a real specified by Name.
Parameters:theName (TCollection_ExtendedString &) –
Return type:bool
HasReals()
  • Returns true if at least one named real value is kept in the attribute.
Return type:bool
HasString()
  • Returns true if the attribute contains this named string.
Parameters:theName (TCollection_ExtendedString &) –
Return type:bool
HasStrings()
  • Returns true if there are some named strings in the attribute.
Return type:bool
static Set(*args)
  • Finds or creates a named data attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_NamedData
SetArrayOfIntegers()
  • Defines a named array of integer values. If the array already exists, it changes its value to <theArrayOfIntegers>.
Parameters:
  • theName (TCollection_ExtendedString &) –
  • theArrayOfIntegers (Handle_TColStd_HArray1OfInteger &) –
Return type:

None

SetArrayOfReals()
  • Defines a named array of real values. If the array already exists, it changes its value to <theArrayOfReals>.
Parameters:
  • theName (TCollection_ExtendedString &) –
  • theArrayOfReals (Handle_TColStd_HArray1OfReal &) –
Return type:

None

SetByte()
  • Defines a named byte. If the byte already exists, it changes its value to <theByte>.
Parameters:
  • theName (TCollection_ExtendedString &) –
  • theByte (Standard_Byte) –
Return type:

None

SetInteger()
  • Defines a named integer. If the integer already exists, it changes its value to <theInteger>.
Parameters:
  • theName (TCollection_ExtendedString &) –
  • theInteger (int) –
Return type:

None

SetReal()
  • Defines a named real. If the real already exists, it changes its value to <theReal>.
Parameters:
  • theName (TCollection_ExtendedString &) –
  • theReal (float) –
Return type:

None

SetString()
  • Defines a named string. If the string already exists, it changes its value to <theString>.
Parameters:
  • theName (TCollection_ExtendedString &) –
  • theString (TCollection_ExtendedString &) –
Return type:

None

thisown

The membership flag

TDataStd_NamedData_GetID(*args)
  • Static methods ============== Returns the ID of the named data attribute.
Return type:Standard_GUID
TDataStd_NamedData_Set(*args)
  • Finds or creates a named data attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_NamedData
class TDataStd_NoteBook(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Append()
  • Tool to Create an Integer attribute from <value>, Insert it in a new son label of <self>. The Real attribute is returned.
Parameters:
  • value (float) –
  • isExported (bool) – default value is Standard_False
Return type:

Handle_TDataStd_Real

  • Tool to Create an Real attribute from <value>, Insert it in a new son label of <self>. The Integer attribute is returned.
Parameters:
  • value (int) –
  • isExported (bool) – default value is Standard_False
Return type:

Handle_TDataStd_Integer

DumpToString()

TDataStd_NoteBook_DumpToString(TDataStd_NoteBook self) -> std::string

static Find(*args)
  • class methods ============= try to retrieve a NoteBook attribute at <current> label or in fathers label of <current>. Returns True if found and set <N>.
Parameters:
  • current (TDF_Label &) –
  • N (Handle_TDataStd_NoteBook &) –
Return type:

bool

GetHandle()
static GetID(*args)
  • NoteBook methods ===============
Return type:Standard_GUID
static New(*args)
  • Create an enpty NoteBook attribute, located at <label>. Raises if <label> has attribute
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_NoteBook
thisown

The membership flag

TDataStd_NoteBook_Find(*args)
  • class methods ============= try to retrieve a NoteBook attribute at <current> label or in fathers label of <current>. Returns True if found and set <N>.
Parameters:
  • current (TDF_Label &) –
  • N (Handle_TDataStd_NoteBook &) –
Return type:

bool

TDataStd_NoteBook_GetID(*args)
  • NoteBook methods ===============
Return type:Standard_GUID
TDataStd_NoteBook_New(*args)
  • Create an enpty NoteBook attribute, located at <label>. Raises if <label> has attribute
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_NoteBook
class TDataStd_Real(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_Real_DumpToString(TDataStd_Real self) -> std::string

Get()
  • Returns the real number value contained in the attribute.
Return type:float
GetDimension()
Return type:TDataStd_RealEnum
GetHandle()
static GetID(*args)
  • class methods ============= Returns the GUID for real numbers.
Return type:Standard_GUID
IsCaptured()
  • Returns True if there is a reference on the same label
Return type:bool
Set()
  • Finds, or creates, an Real attribute and sets <value> the Real attribute is returned. the Real dimension is Scalar by default. use SetDimension to overwrite. Real methods ============
Parameters:
  • label (TDF_Label &) –
  • value (float) –
Return type:

Handle_TDataStd_Real

  • Finds or creates the real number V.
Parameters:V (float) –
Return type:None
SetDimension()
Parameters:DIM (TDataStd_RealEnum) –
Return type:None
thisown

The membership flag

class TDataStd_RealArray(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Array()
  • Returns the handle of this array of reals.
Return type:Handle_TColStd_HArray1OfReal
ChangeArray()
  • Sets the inner array <myValue> of the RealArray attribute to <newArray>. If value of <newArray> differs from <myValue>, Backup performed and myValue refers to new instance of HArray1OfReal that holds <newArray> values If <isCheckItems> equal True each item of <newArray> will be checked with each item of <myValue> for coincidence (to avoid backup).
Parameters:
  • newArray (Handle_TColStd_HArray1OfReal &) –
  • isCheckItems (bool) – default value is Standard_True
Return type:

None

DumpToString()

TDataStd_RealArray_DumpToString(TDataStd_RealArray self) -> std::string

GetDelta()
Return type:bool
GetHandle()
static GetID(*args)
  • class methods ============= Returns the GUID for arrays of reals.
Return type:Standard_GUID
Init()
  • Initialize the inner array with bounds from <lower> to <upper>
Parameters:
  • lower (int) –
  • upper (int) –
Return type:

None

Length()
  • Returns the number of elements of the array of reals in terms of the number of elements it contains.
Return type:int
Lower()
  • Returns the lower boundary of the array.
Return type:int
static Set(*args)
  • Finds or creates on the <label> a real array attribute with the specified <lower> and <upper> boundaries. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_RealArray

SetDelta()
  • for internal use only!
Parameters:isDelta (bool) –
Return type:None
SetValue()
  • Sets the <Index>th element of the array to <Value> OutOfRange exception is raised if <Index> doesn’t respect Lower and Upper bounds of the internal array.
Parameters:
Return type:

None

Upper()
  • Returns the upper boundary of the array.
Return type:int
Value()
  • Return the value of the <Index>th element of the array
Parameters:Index (int) –
Return type:float
thisown

The membership flag

TDataStd_RealArray_GetID(*args)
  • class methods ============= Returns the GUID for arrays of reals.
Return type:Standard_GUID
TDataStd_RealArray_Set(*args)
  • Finds or creates on the <label> a real array attribute with the specified <lower> and <upper> boundaries. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
  • isDelta (bool) – default value is Standard_False
Return type:

Handle_TDataStd_RealArray

class TDataStd_RealList(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Append()
Parameters:value (float) –
Return type:None
Clear()
Return type:None
DumpToString()

TDataStd_RealList_DumpToString(TDataStd_RealList self) -> std::string

Extent()
Return type:int
First()
Return type:float
GetHandle()
static GetID(*args)
  • Static methods ============== Returns the ID of the list of doubles attribute.
Return type:Standard_GUID
InsertAfter()
  • Inserts the <value> after the first meet of <after_value>.
Parameters:
Return type:

bool

InsertBefore()
  • Inserts the <value> before the first meet of <before_value>.
Parameters:
Return type:

bool

IsEmpty()
Return type:bool
Last()
Return type:float
List()
Return type:TColStd_ListOfReal
Prepend()
Parameters:value (float) –
Return type:None
Remove()
  • Removes the first meet of the <value>.
Parameters:value (float) –
Return type:bool
static Set(*args)
  • Finds or creates a list of double values attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_RealList
thisown

The membership flag

TDataStd_RealList_GetID(*args)
  • Static methods ============== Returns the ID of the list of doubles attribute.
Return type:Standard_GUID
TDataStd_RealList_Set(*args)
  • Finds or creates a list of double values attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_RealList
TDataStd_Real_GetID(*args)
  • class methods ============= Returns the GUID for real numbers.
Return type:Standard_GUID
class TDataStd_ReferenceArray(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_ReferenceArray_DumpToString(TDataStd_ReferenceArray self) -> std::string

GetHandle()
static GetID(*args)
  • Static methods ============== Returns the ID of the array of references (labels) attribute.
Return type:Standard_GUID
Init()
  • Initialize the inner array with bounds from <lower> to <upper>
Parameters:
  • lower (int) –
  • upper (int) –
Return type:

None

InternalArray()
Return type:Handle_TDataStd_HLabelArray1
Length()
  • Returns the number of elements in the array.
Return type:int
Lower()
  • Returns the lower boundary of the array.
Return type:int
static Set(*args)
  • Finds or creates an array of reference values (labels) attribute.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
Return type:

Handle_TDataStd_ReferenceArray

SetInternalArray()
Parameters:
  • values (Handle_TDataStd_HLabelArray1 &) –
  • isCheckItems (bool) – default value is Standard_True
Return type:

None

SetValue()
  • Sets the <Index>th element of the array to <Value> OutOfRange exception is raised if <Index> doesn’t respect Lower and Upper bounds of the internal array.
Parameters:
  • index (int) –
  • value (TDF_Label &) –
Return type:

None

Upper()
  • Returns the upper boundary of the array.
Return type:int
Value()
  • Returns the value of the <Index>th element of the array.
Parameters:Index (int) –
Return type:TDF_Label
thisown

The membership flag

TDataStd_ReferenceArray_GetID(*args)
  • Static methods ============== Returns the ID of the array of references (labels) attribute.
Return type:Standard_GUID
TDataStd_ReferenceArray_Set(*args)
  • Finds or creates an array of reference values (labels) attribute.
Parameters:
  • label (TDF_Label &) –
  • lower (int) –
  • upper (int) –
Return type:

Handle_TDataStd_ReferenceArray

class TDataStd_ReferenceList(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Append()
Parameters:value (TDF_Label &) –
Return type:None
Clear()
Return type:None
DumpToString()

TDataStd_ReferenceList_DumpToString(TDataStd_ReferenceList self) -> std::string

Extent()
Return type:int
First()
Return type:TDF_Label
GetHandle()
static GetID(*args)
  • Static methods ============== Returns the ID of the list of references (labels) attribute.
Return type:Standard_GUID
InsertAfter()
  • Inserts the <value> after the first meet of <after_value>.
Parameters:
  • value (TDF_Label &) –
  • after_value (TDF_Label &) –
Return type:

bool

InsertBefore()
  • Inserts the <value> before the first meet of <before_value>.
Parameters:
  • value (TDF_Label &) –
  • before_value (TDF_Label &) –
Return type:

bool

IsEmpty()
Return type:bool
Last()
Return type:TDF_Label
List()
Return type:TDF_LabelList
Prepend()
Parameters:value (TDF_Label &) –
Return type:None
Remove()
  • Removes the first meet of the <value>.
Parameters:value (TDF_Label &) –
Return type:bool
static Set(*args)
  • Finds or creates a list of reference values (labels) attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_ReferenceList
thisown

The membership flag

TDataStd_ReferenceList_GetID(*args)
  • Static methods ============== Returns the ID of the list of references (labels) attribute.
Return type:Standard_GUID
TDataStd_ReferenceList_Set(*args)
  • Finds or creates a list of reference values (labels) attribute.
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_ReferenceList
class TDataStd_Relation(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_Relation_DumpToString(TDataStd_Relation self) -> std::string

GetHandle()
static GetID(*args)
  • class methods =============
Return type:Standard_GUID
GetRelation()
Return type:TCollection_ExtendedString
GetVariables()
Return type:TDF_AttributeList
Name()
  • build and return the relation name
Return type:TCollection_ExtendedString
static Set(*args)
  • Find, or create, an Relation attribute. Real methods ============
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Relation
SetRelation()
Parameters:E (TCollection_ExtendedString &) –
Return type:None
thisown

The membership flag

TDataStd_Relation_GetID(*args)
  • class methods =============
Return type:Standard_GUID
TDataStd_Relation_Set(*args)
  • Find, or create, an Relation attribute. Real methods ============
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Relation
class TDataStd_Tick(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_Tick_DumpToString(TDataStd_Tick self) -> std::string

GetHandle()
static GetID(*args)
  • Static methods ==============
Return type:Standard_GUID
static Set(*args)
  • Find, or create, a Tick attribute. Tick methods ============
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Tick
thisown

The membership flag

TDataStd_Tick_GetID(*args)
  • Static methods ==============
Return type:Standard_GUID
TDataStd_Tick_Set(*args)
  • Find, or create, a Tick attribute. Tick methods ============
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Tick
class TDataStd_TreeNode(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Append()
  • Insert the TreeNode <Child> as last child of <self>. If the insertion is successful <self> becomes the Father of <Child>.
Parameters:Child (Handle_TDataStd_TreeNode &) –
Return type:bool
Depth()
  • Returns the depth of this tree node in the overall tree node structure. In other words, the number of father tree nodes of this one is returned.
Return type:int
DumpToString()

TDataStd_TreeNode_DumpToString(TDataStd_TreeNode self) -> std::string

Father()
  • Returns the father TreeNode of <self>. Null if root.
Return type:Handle_TDataStd_TreeNode
static Find(*args)
  • class methods working on the node =================================== Returns true if the tree node T is found on the label L. Otherwise, false is returned.
Parameters:
  • L (TDF_Label &) –
  • T (Handle_TDataStd_TreeNode &) –
Return type:

bool

FindLast()
  • Returns the last child tree node in this tree node object. to set fields =============
Return type:Handle_TDataStd_TreeNode
First()
  • Returns the first child tree node in this tree node object.
Return type:Handle_TDataStd_TreeNode
static GetDefaultTreeID(*args)
  • returns a default tree ID. this ID is used by the <Set> method without explicit tree ID. Instance methods: ================
Return type:Standard_GUID
GetHandle()
HasFather()
  • Returns true if this tree node attribute has a father tree node.
Return type:bool
HasFirst()
  • Returns true if this tree node attribute has a first child tree node.
Return type:bool
HasLast()
  • Returns true if this tree node attribute has a last child tree node.
Return type:bool
HasNext()
  • Returns true if this tree node attribute has a next tree node.
Return type:bool
HasPrevious()
  • Returns true if this tree node attribute has a previous tree node.
Return type:bool
InsertAfter()
  • Inserts the TreeNode <Node> after <self>. If insertion is successful <self> and <Node> belongs to the same Father.
Parameters:Node (Handle_TDataStd_TreeNode &) –
Return type:bool
InsertBefore()
  • Inserts the TreeNode <Node> before <self>. If insertion is successful <self> and <Node> belongs to the same Father.
Parameters:Node (Handle_TDataStd_TreeNode &) –
Return type:bool
IsAscendant()
  • Returns true if this tree node attribute is an ascendant of of. In other words, if it is a father or the father of a father of of.
Parameters:of (Handle_TDataStd_TreeNode &) –
Return type:bool
IsChild()
  • Returns true if this tree node attribute is a child of of.
Parameters:of (Handle_TDataStd_TreeNode &) –
Return type:bool
IsDescendant()
  • Returns true if this tree node attribute is a descendant of of. In other words, if it is a child or the child of a child of of.
Parameters:of (Handle_TDataStd_TreeNode &) –
Return type:bool
IsFather()
  • Returns true if this tree node attribute is a father of of.
Parameters:of (Handle_TDataStd_TreeNode &) –
Return type:bool
IsRoot()
  • Returns true if this tree node attribute is the ultimate father in the tree.
Return type:bool
Last()
  • Returns the last child tree node in this tree node object.
Return type:Handle_TDataStd_TreeNode
NbChildren()
  • Returns the number of child nodes. If <allLevels> is true, the method counts children of all levels (children of children ...)
Parameters:allLevels (bool) – default value is Standard_False
Return type:int
Next()
  • Returns the next tree node in this tree node attribute. Warning This tree node is null if it is the last one in this tree node attribute.Returns the next TreeNode of <self>. Null if last.
Return type:Handle_TDataStd_TreeNode
Prepend()
  • Insert the the TreeNode <Child> as first child of <self>. If the insertion is successful <self> becomes the Father of <Child>
Parameters:Child (Handle_TDataStd_TreeNode &) –
Return type:bool
Previous()
  • Returns the previous tree node of this tree node attribute. Warning This tree node is null if it is the first one in this tree node attribute.
Return type:Handle_TDataStd_TreeNode
Remove()
  • Removes this tree node attribute from its father node. The result is that this attribute becomes a root node.
Return type:bool
Root()
  • Returns the ultimate father of this tree node attribute.
Return type:Handle_TDataStd_TreeNode
static Set(*args)
  • Finds or Creates a TreeNode attribute on the label <L> with the default tree ID, returned by the method <GetDefaultTreeID>. Returns the created/found TreeNode attribute.
Parameters:L (TDF_Label &) –
Return type:Handle_TDataStd_TreeNode
  • Finds or Creates a TreeNode attribute on the label <L>, with an explicit tree ID. <ExplicitTreeID> is the ID returned by <TDF_Attribute::ID> method. Returns the found/created TreeNode attribute.
Parameters:
  • L (TDF_Label &) –
  • ExplicitTreeID (Standard_GUID &) –
Return type:

Handle_TDataStd_TreeNode

SetFather()
Parameters:F (Handle_TDataStd_TreeNode &) –
Return type:None
SetFirst()
Parameters:F (Handle_TDataStd_TreeNode &) –
Return type:None
SetLast()
  • TreeNode callback: ==================
Parameters:F (Handle_TDataStd_TreeNode &) –
Return type:None
SetNext()
Parameters:F (Handle_TDataStd_TreeNode &) –
Return type:None
SetPrevious()
Parameters:F (Handle_TDataStd_TreeNode &) –
Return type:None
SetTreeID()
Parameters:explicitID (Standard_GUID &) –
Return type:None
thisown

The membership flag

TDataStd_TreeNode_Find(*args)
  • class methods working on the node =================================== Returns true if the tree node T is found on the label L. Otherwise, false is returned.
Parameters:
  • L (TDF_Label &) –
  • T (Handle_TDataStd_TreeNode &) –
Return type:

bool

TDataStd_TreeNode_GetDefaultTreeID(*args)
  • returns a default tree ID. this ID is used by the <Set> method without explicit tree ID. Instance methods: ================
Return type:Standard_GUID
TDataStd_TreeNode_Set(*args)
  • Finds or Creates a TreeNode attribute on the label <L> with the default tree ID, returned by the method <GetDefaultTreeID>. Returns the created/found TreeNode attribute.
Parameters:L (TDF_Label &) –
Return type:Handle_TDataStd_TreeNode
  • Finds or Creates a TreeNode attribute on the label <L>, with an explicit tree ID. <ExplicitTreeID> is the ID returned by <TDF_Attribute::ID> method. Returns the found/created TreeNode attribute.
Parameters:
  • L (TDF_Label &) –
  • ExplicitTreeID (Standard_GUID &) –
Return type:

Handle_TDataStd_TreeNode

class TDataStd_UAttribute(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
DumpToString()

TDataStd_UAttribute_DumpToString(TDataStd_UAttribute self) -> std::string

GetHandle()
static Set(*args)
  • api class methods ============= Find, or create, a UAttribute attribute with <LocalID> as Local GUID. The UAttribute attribute is returned. UAttribute methods ============
Parameters:
  • label (TDF_Label &) –
  • LocalID (Standard_GUID &) –
Return type:

Handle_TDataStd_UAttribute

SetID()
Parameters:LocalID (Standard_GUID &) –
Return type:None
thisown

The membership flag

TDataStd_UAttribute_Set(*args)
  • api class methods ============= Find, or create, a UAttribute attribute with <LocalID> as Local GUID. The UAttribute attribute is returned. UAttribute methods ============
Parameters:
  • label (TDF_Label &) –
  • LocalID (Standard_GUID &) –
Return type:

Handle_TDataStd_UAttribute

class TDataStd_Variable(*args)

Bases: OCC.TDF.TDF_Attribute

Return type:None
Assign()
  • create(if doesn’t exist) and returns the assigned expression attribute. fill it after.
Return type:Handle_TDataStd_Expression
Constant()
  • if <status> is True, this variable will not be modified by the solver.
Parameters:status (bool) –
Return type:None
Desassign()
  • if <self> is assigned delete the associated expression attribute.
Return type:None
DumpToString()

TDataStd_Variable_DumpToString(TDataStd_Variable self) -> std::string

Expression()
  • if <self> is assigned, returns associated Expression attribute.
Return type:Handle_TDataStd_Expression
Get()
  • returns value stored in associated Real attribute.
Return type:float
GetHandle()
static GetID(*args)
  • class methods =============
Return type:Standard_GUID
IsAssigned()
  • returns True if an Expression attribute is associated. create(if doesn’t exist), set and returns the assigned expression attribute.
Return type:bool
IsCaptured()
  • shortcut for <Real()->IsCaptured()>
Return type:bool
IsConstant()
  • A constant value is not modified by regeneration.
Return type:bool
IsValued()
  • returns True if a Real attribute is associated.
Return type:bool
Name()
  • set or change the name of the variable, in myUnknown and my associated Name attribute.
Parameters:string (TCollection_ExtendedString &) –
Return type:None
  • returns string stored in the associated Name attribute.
Return type:TCollection_ExtendedString
Real()
  • returns associated Real attribute.
Return type:Handle_TDataStd_Real
Set()
  • Find, or create, a Variable attribute. Real methods ============
Parameters:label (TDF_Label &) –
Return type:Handle_TDataStd_Variable
  • retrieve or create the associated real attribute and set the value <value>. if creation, dimension is written.
Parameters:
  • value (float) –
  • dimension (TDataStd_RealEnum) – default value is TDataStd_SCALAR
Return type:

None

Unit()
Parameters:unit (TCollection_AsciiString &) –
Return type:None
  • to read/write fields ===================
Return type:TCollection_AsciiString
thisown

The membership flag

TDataStd_Variable_GetID(*args)
  • class methods =============
Return type:Standard_GUID
register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases

class tdatastd

Bases: object

static IDList(*args)
  • Appends to <anIDList> the list of the attributes IDs of this package. CAUTION: <anIDList> is NOT cleared before use.
Parameters:anIDList (TDF_IDList &) –
Return type:void
static Print(*args)
  • Prints the name of the real dimension <DIM> as a String on the Stream <S> and returns <S>.
Parameters:
  • DIM (TDataStd_RealEnum) –
  • S (Standard_OStream &) –
Return type:

Standard_OStream

thisown

The membership flag

tdatastd_IDList(*args)
  • Appends to <anIDList> the list of the attributes IDs of this package. CAUTION: <anIDList> is NOT cleared before use.
Parameters:anIDList (TDF_IDList &) –
Return type:void
tdatastd_Print(*args)
  • Prints the name of the real dimension <DIM> as a String on the Stream <S> and returns <S>.
Parameters:
  • DIM (TDataStd_RealEnum) –
  • S (Standard_OStream &) –
Return type:

Standard_OStream