OCC.TDataStd module¶
This package defines standard attributes formodelling.These allow you to create and modify labelsand attributes for many basic data types.Standard topological and visualizationattributes have also been created.To find an attribute attached to a specific label,you use the GUID of the type of attribute youare looking for. To do this, first find thisinformation using the method GetID as follows: Standard_GUID anID =MyAttributeClass::GetID();Then, use the method Find for the label as follows:Standard_Boolean HasAttribute=aLabel.Find(anID,anAttribute);NoteFor information on the relations between thiscomponent of OCAF and the others, refer to the OCAF User’s Guide.- Category: GUID - AttributeID2a96b606-ec8b-11d0-bee7-080009dc3333 TDataStd_Integer2a96b608-ec8b-11d0-bee7-080009dc3333 TDataStd_Name2a96b60f-ec8b-11d0-bee7-080009dc3333 TDataStd_Real2a96b610-ec8b-11d0-bee7-080009dc3333 TDataStd_Reference2a96b616-ec8b-11d0-bee7-080009dc3333 TDataStd_Comment2a96b61c-ec8b-11d0-bee7-080009dc3333 TDataStd_UAttribute2a96b61d-ec8b-11d0-bee7-080009dc3333 TDataStd_IntegerArray2a96b61e-ec8b-11d0-bee7-080009dc3333 TDataStd_RealArray2a96b624-ec8b-11d0-bee7-080009dc3333 TDataStd_ExtStringArray2a96b609-ec8b-11d0-bee7-080009dc3333 TDataStd_NoteBook2a96b61f-ec8b-11d0-bee7-080009dc3333 TDataStd_Directory
-
class
Handle_TDataStd_AsciiString
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_BooleanArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_BooleanList
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_ByteArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Comment
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Current
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DataMapNodeOfDataMapOfStringByte
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DataMapNodeOfDataMapOfStringHArray1OfInteger
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DataMapNodeOfDataMapOfStringHArray1OfReal
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DataMapNodeOfDataMapOfStringReal
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DataMapNodeOfDataMapOfStringString
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DeltaOnModificationOfByteArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_DeltaOnModification
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DeltaOnModificationOfExtStringArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_DeltaOnModification
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DeltaOnModificationOfIntArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_DeltaOnModification
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DeltaOnModificationOfIntPackedMap
(*args)¶ Bases:
OCC.TDF.Handle_TDF_DeltaOnModification
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_DeltaOnModificationOfRealArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_DeltaOnModification
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Directory
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Expression
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_ExtStringArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_ExtStringList
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_HDataMapOfStringByte
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_HDataMapOfStringHArray1OfInteger
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_HDataMapOfStringHArray1OfReal
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_HDataMapOfStringInteger
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_HDataMapOfStringReal
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_HDataMapOfStringString
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_HLabelArray1
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_IntPackedMap
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Integer
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_IntegerArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_IntegerList
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_ListNodeOfListOfByte
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_ListNodeOfListOfExtendedString
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Name
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_NamedData
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_NoteBook
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Real
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_RealArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_RealList
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_ReferenceArray
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_ReferenceList
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Relation
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Tick
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_TreeNode
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_UAttribute
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_TDataStd_Variable
(*args)¶ Bases:
OCC.TDF.Handle_TDF_Attribute
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
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
()¶ - class methods ============= Returns the GUID of the attribute.
Return type: Standard_GUID
-
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: Return type:
-
thisown
¶ The membership flag
-
-
TDataStd_AsciiString_GetID
()¶ - 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
()¶ - Static methods ============== Returns an ID for array.
Return type: Standard_GUID
-
Init
()¶ - Initialize the inner array with bounds from <lower> to <upper>
Parameters: Return type:
-
InternalArray
()¶ Return type: Handle_TColStd_HArray1OfByte
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_BooleanArray¶ - Finds or creates an attribute with the array.
Parameters: Return type:
-
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:
-
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
()¶ - Static methods ============== Returns an ID for array.
Return type: Standard_GUID
-
TDataStd_BooleanArray_Set
(*args) → OCC.TDataStd.Handle_TDataStd_BooleanArray¶ - Finds or creates an attribute with the array.
Parameters: Return type:
-
class
TDataStd_BooleanList
(*args)¶ Bases:
OCC.TDF.TDF_Attribute
Return type: None -
DumpToString
()¶ TDataStd_BooleanList_DumpToString(TDataStd_BooleanList self) -> std::string
-
GetHandle
()¶
-
static
GetID
()¶ - Static methods ============== Returns the ID of the list of booleans attribute.
Return type: Standard_GUID
-
List
()¶ - 1 - means True, 0 - means False.
Return type: TDataStd_ListOfByte
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_BooleanList¶ - 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
()¶ - Static methods ============== Returns the ID of the list of booleans attribute.
Return type: Standard_GUID
-
TDataStd_BooleanList_Set
(*args) → OCC.TDataStd.Handle_TDataStd_BooleanList¶ - 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:
-
DumpToString
()¶ TDataStd_ByteArray_DumpToString(TDataStd_ByteArray self) -> std::string
-
GetHandle
()¶
-
static
GetID
()¶ - Static methods ============== Returns an ID for array.
Return type: Standard_GUID
-
Init
()¶ - Initialize the inner array with bounds from <lower> to <upper>
Parameters: Return type:
-
InternalArray
()¶ Return type: Handle_TColStd_HArray1OfByte
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_ByteArray¶ - Finds or creates an attribute with the array on the specified label. If <isDelta> == False, DefaultDeltaOnModification is used. If <isDelta> == True, DeltaOnModification of the current attribute is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters: Return type:
-
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:
-
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
()¶ - Static methods ============== Returns an ID for array.
Return type: Standard_GUID
-
TDataStd_ByteArray_Set
(*args) → OCC.TDataStd.Handle_TDataStd_ByteArray¶ - Finds or creates an attribute with the array on the specified label. If <isDelta> == False, DefaultDeltaOnModification is used. If <isDelta> == True, DeltaOnModification of the current attribute is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters: Return type:
-
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: -
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:
-
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
()¶ - 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: Return type:
-
thisown
¶ The membership flag
-
-
TDataStd_Comment_GetID
()¶ - 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
()¶ - returns current of <acces> Framework. raise if (!Has)
Parameters: acces (TDF_Label &) – Return type: TDF_Label
-
GetHandle
()¶
-
static
GetID
()¶ - class methods =============
Return type: Standard_GUID
-
static
Has
()¶ - returns True if a current label is managed in <acces> Framework. class methods =============
Parameters: acces (TDF_Label &) – Return type: bool
-
static
Set
()¶ - Set <L> as current of <L> Framework.
Parameters: L (TDF_Label &) – Return type: void
-
thisown
¶ The membership flag
-
-
TDataStd_Current_Get
()¶ - returns current of <acces> Framework. raise if (!Has)
Parameters: acces (TDF_Label &) – Return type: TDF_Label
-
TDataStd_Current_GetID
()¶ - class methods =============
Return type: Standard_GUID
-
TDataStd_Current_Has
()¶ - returns True if a current label is managed in <acces> Framework. class methods =============
Parameters: acces (TDF_Label &) – Return type: bool
-
TDataStd_Current_Set
()¶ - 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 -
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 -
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 -
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 -
Key
()¶ Return type: TCollection_ExtendedString
-
thisown
¶ The membership flag
-
-
class
TDataStd_DataMapIteratorOfDataMapOfStringString
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None 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: -
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: -
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: -
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: -
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: -
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
-
ChangeFind
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Byte
-
ChangeFind1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Byte
-
Find1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (TDataStd_DataMapOfStringByte &) – Return type: TDataStd_DataMapOfStringByte
-
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:
-
ChangeFind
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Handle_TColStd_HArray1OfInteger
-
ChangeFind1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Handle_TColStd_HArray1OfInteger
-
Find1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (TDataStd_DataMapOfStringHArray1OfInteger &) – Return type: TDataStd_DataMapOfStringHArray1OfInteger
-
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:
-
ChangeFind
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Handle_TColStd_HArray1OfReal
-
ChangeFind1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Handle_TColStd_HArray1OfReal
-
Find1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (TDataStd_DataMapOfStringHArray1OfReal &) – Return type: TDataStd_DataMapOfStringHArray1OfReal
-
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
-
ChangeFind1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Find1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (TDataStd_DataMapOfStringReal &) – Return type: TDataStd_DataMapOfStringReal
-
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:
-
ChangeFind
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: TCollection_ExtendedString
-
ChangeFind1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: TCollection_ExtendedString
-
Find1
()¶ Parameters: K (TCollection_ExtendedString &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (TDataStd_DataMapOfStringString &) – Return type: TDataStd_DataMapOfStringString
-
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) → OCC.TDataStd.Handle_TDataStd_Directory¶ - 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
()¶ - 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:
-
GetHandle
()¶
-
static
GetID
()¶ - Directory methods ===============
Return type: Standard_GUID
-
static
MakeObjectLabel
()¶ - 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) → OCC.TDataStd.Handle_TDataStd_Directory¶ - 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
-
static
-
TDataStd_Directory_AddDirectory
(*args) → OCC.TDataStd.Handle_TDataStd_Directory¶ - 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
()¶ - 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:
-
TDataStd_Directory_GetID
()¶ - Directory methods ===============
Return type: Standard_GUID
-
TDataStd_Directory_MakeObjectLabel
()¶ - 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) → OCC.TDataStd.Handle_TDataStd_Directory¶ - 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
()¶ - 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) → OCC.TDataStd.Handle_TDataStd_Expression¶ - Find, or create, an Expression attribute. Expressionmethods ============
Parameters: label (TDF_Label &) – Return type: Handle_TDataStd_Expression
-
thisown
¶ The membership flag
-
-
TDataStd_Expression_GetID
()¶ - class methods =============
Return type: Standard_GUID
-
TDataStd_Expression_Set
(*args) → OCC.TDataStd.Handle_TDataStd_Expression¶ - 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:
-
DumpToString
()¶ TDataStd_ExtStringArray_DumpToString(TDataStd_ExtStringArray self) -> std::string
-
GetHandle
()¶
-
static
GetID
()¶ - class methods ============= Returns the GUID for the attribute.
Return type: Standard_GUID
-
Init
()¶ - Initializes the inner array with bounds from <lower> to <upper>
Parameters: Return type:
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_ExtStringArray¶ - Finds, or creates, an ExtStringArray attribute with <lower> and <upper> bounds on the specified label. If <isDelta> == False, DefaultDeltaOnModification is used. If <isDelta> == True, DeltaOnModification of the current attribute is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters: Return type:
-
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:
-
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
()¶ - class methods ============= Returns the GUID for the attribute.
Return type: Standard_GUID
-
TDataStd_ExtStringArray_Set
(*args) → OCC.TDataStd.Handle_TDataStd_ExtStringArray¶ - Finds, or creates, an ExtStringArray attribute with <lower> and <upper> bounds on the specified label. If <isDelta> == False, DefaultDeltaOnModification is used. If <isDelta> == True, DeltaOnModification of the current attribute is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters: Return type:
-
class
TDataStd_ExtStringList
(*args)¶ Bases:
OCC.TDF.TDF_Attribute
Return type: None -
DumpToString
()¶ TDataStd_ExtStringList_DumpToString(TDataStd_ExtStringList self) -> std::string
-
First
()¶ Return type: TCollection_ExtendedString
-
GetHandle
()¶
-
static
GetID
()¶ - 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:
-
InsertBefore
()¶ - Inserts the <value> before the first meet of <before_value>.
Parameters: - value (TCollection_ExtendedString &) –
- before_value (TCollection_ExtendedString &) –
Return type:
-
Last
()¶ Return type: TCollection_ExtendedString
-
List
()¶ Return type: TDataStd_ListOfExtendedString
-
Remove
()¶ - Removes the first meet of the <value>.
Parameters: value (TCollection_ExtendedString &) – Return type: bool
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_ExtStringList¶ - 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
()¶ - Static methods ============== Returns the ID of the list of strings attribute.
Return type: Standard_GUID
-
TDataStd_ExtStringList_Set
(*args) → OCC.TDataStd.Handle_TDataStd_ExtStringList¶ - 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: Return type: -
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: Return type: -
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: Return type: -
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: Return type: -
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: Return type: -
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: Return type: -
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: Return type: Return type: -
Array1
()¶ Return type: TDataStd_LabelArray1
-
ChangeArray1
()¶ Return type: TDataStd_LabelArray1
-
GetHandle
()¶
-
thisown
¶ The membership flag
-
-
class
TDataStd_IntPackedMap
(*args)¶ Bases:
OCC.TDF.TDF_Attribute
Return type: None -
DumpToString
()¶ TDataStd_IntPackedMap_DumpToString(TDataStd_IntPackedMap self) -> std::string
-
GetHMap
()¶ Return type: Handle_TColStd_HPackedMapOfInteger
-
GetHandle
()¶
-
static
GetID
()¶ - class methods ============= Returns the GUID of the attribute.
Return type: Standard_GUID
-
GetMap
()¶ Return type: TColStd_PackedMapOfInteger
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_IntPackedMap¶ - 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:
-
thisown
¶ The membership flag
-
-
TDataStd_IntPackedMap_GetID
()¶ - class methods ============= Returns the GUID of the attribute.
Return type: Standard_GUID
-
TDataStd_IntPackedMap_Set
(*args) → OCC.TDataStd.Handle_TDataStd_IntPackedMap¶ - 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:
-
class
TDataStd_Integer
(*args)¶ Bases:
OCC.TDF.TDF_Attribute
Return type: None -
DumpToString
()¶ TDataStd_Integer_DumpToString(TDataStd_Integer self) -> std::string
-
GetHandle
()¶
-
static
GetID
()¶ - class methods ============= Returns the GUID for integers.
Return type: Standard_GUID
-
Set
()¶ - Finds, or creates, an Integer attribute and sets <value> the Integer attribute is returned. Integer methods ===============
Parameters: Return type: Return type:
-
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:
-
DumpToString
()¶ TDataStd_IntegerArray_DumpToString(TDataStd_IntegerArray self) -> std::string
-
GetHandle
()¶
-
static
GetID
()¶ - 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: Return type:
-
Length
()¶ - Returns the length of this array of integers in terms of the number of elements it contains.
Return type: int
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_IntegerArray¶ - Finds or creates on the <label> an integer array attribute with the specified <lower> and <upper> boundaries. If <isDelta> == False, DefaultDeltaOnModification is used. If <isDelta> == True, DeltaOnModification of the current attribute is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters: Return type:
-
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:
-
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
()¶ - class methods ============= Returns the GUID for arrays of integers.
Return type: Standard_GUID
-
TDataStd_IntegerArray_Set
(*args) → OCC.TDataStd.Handle_TDataStd_IntegerArray¶ - Finds or creates on the <label> an integer array attribute with the specified <lower> and <upper> boundaries. If <isDelta> == False, DefaultDeltaOnModification is used. If <isDelta> == True, DeltaOnModification of the current attribute is used. If attribute is already set, all input parameters are refused and the found attribute is returned.
Parameters: Return type:
-
class
TDataStd_IntegerList
(*args)¶ Bases:
OCC.TDF.TDF_Attribute
Return type: None -
DumpToString
()¶ TDataStd_IntegerList_DumpToString(TDataStd_IntegerList self) -> std::string
-
GetHandle
()¶
-
static
GetID
()¶ - 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: Return type:
-
InsertBefore
()¶ - Inserts the <value> before the first meet of <before_value>.
Parameters: Return type:
-
List
()¶ Return type: TColStd_ListOfInteger
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_IntegerList¶ - 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
()¶ - Static methods ============== Returns the ID of the list of integer attribute.
Return type: Standard_GUID
-
TDataStd_IntegerList_Set
(*args) → OCC.TDataStd.Handle_TDataStd_IntegerList¶ - Finds or creates a list of integer values attribute.
Parameters: label (TDF_Label &) – Return type: Handle_TDataStd_IntegerList
-
TDataStd_Integer_GetID
()¶ - class methods ============= Returns the GUID for integers.
Return type: Standard_GUID
-
class
TDataStd_LabelArray1
(*args)¶ Bases:
object
Parameters: Return type: Return type: -
Assign
()¶ Parameters: Other (TDataStd_LabelArray1 &) – Return type: TDataStd_LabelArray1
-
Set
()¶ Parameters: Other (TDataStd_LabelArray1 &) – Return type: TDataStd_LabelArray1
-
thisown
¶ The membership flag
-
-
class
TDataStd_ListIteratorOfListOfByte
(*args)¶ Bases:
object
Return type: None Parameters: L (TDataStd_ListOfByte &) – 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 -
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: -
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: -
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: Return type: Return type:
-
First
()¶ Return type: Standard_Byte
-
InsertAfter
()¶ Parameters: - I (Standard_Byte &) –
- It (TDataStd_ListIteratorOfListOfByte &) –
- Other (TDataStd_ListOfByte &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (Standard_Byte &) –
- It (TDataStd_ListIteratorOfListOfByte &) –
- Other (TDataStd_ListOfByte &) –
- It –
Return type: Return type:
-
Last
()¶ Return type: Standard_Byte
-
Prepend
()¶ Parameters: - I (Standard_Byte &) –
- I –
- theIt (TDataStd_ListIteratorOfListOfByte &) –
- Other (TDataStd_ListOfByte &) –
Return type: Return type: Return type:
-
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: Return type: Return type:
-
First
()¶ Return type: TCollection_ExtendedString
-
InsertAfter
()¶ Parameters: - I (TCollection_ExtendedString &) –
- It (TDataStd_ListIteratorOfListOfExtendedString &) –
- Other (TDataStd_ListOfExtendedString &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (TCollection_ExtendedString &) –
- It (TDataStd_ListIteratorOfListOfExtendedString &) –
- Other (TDataStd_ListOfExtendedString &) –
- It –
Return type: Return type:
-
Last
()¶ Return type: TCollection_ExtendedString
-
Prepend
()¶ Parameters: - I (TCollection_ExtendedString &) –
- I –
- theIt (TDataStd_ListIteratorOfListOfExtendedString &) –
- Other (TDataStd_ListOfExtendedString &) –
Return type: Return type: Return type:
-
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
()¶ - 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: - 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
()¶ - 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
()¶ - 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
-
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
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_NamedData¶ - 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:
-
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:
-
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:
-
SetInteger
()¶ - Defines a named integer. If the integer already exists, it changes its value to <theInteger>.
Parameters: - theName (TCollection_ExtendedString &) –
- theInteger (int) –
Return type:
-
SetReal
()¶ - Defines a named real. If the real already exists, it changes its value to <theReal>.
Parameters: - theName (TCollection_ExtendedString &) –
- theReal (float) –
Return type:
-
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:
-
thisown
¶ The membership flag
-
-
TDataStd_NamedData_GetID
()¶ - Static methods ============== Returns the ID of the named data attribute.
Return type: Standard_GUID
-
TDataStd_NamedData_Set
(*args) → OCC.TDataStd.Handle_TDataStd_NamedData¶ - 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: Return type: - Tool to Create an Real attribute from <value>, Insert it in a new son label of <self>. The Integer attribute is returned.
Parameters: Return type:
-
DumpToString
()¶ TDataStd_NoteBook_DumpToString(TDataStd_NoteBook self) -> std::string
-
static
Find
()¶ - 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:
-
GetHandle
()¶
-
static
GetID
()¶ - NoteBook methods ===============
Return type: Standard_GUID
-
static
New
(*args) → OCC.TDataStd.Handle_TDataStd_NoteBook¶ - 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
()¶ - 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:
-
TDataStd_NoteBook_GetID
()¶ - NoteBook methods ===============
Return type: Standard_GUID
-
TDataStd_NoteBook_New
(*args) → OCC.TDataStd.Handle_TDataStd_NoteBook¶ - 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
-
GetDimension
()¶ Return type: TDataStd_RealEnum
-
GetHandle
()¶
-
static
GetID
()¶ - class methods ============= Returns the GUID for real numbers.
Return type: Standard_GUID
-
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: - Finds or creates the real number V.
Parameters: V (float) – 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:
-
DumpToString
()¶ TDataStd_RealArray_DumpToString(TDataStd_RealArray self) -> std::string
-
GetHandle
()¶
-
static
GetID
()¶ - 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: Return type:
-
Length
()¶ - Returns the number of elements of the array of reals in terms of the number of elements it contains.
Return type: int
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_RealArray¶ - Finds or creates on the <label> a real array attribute with the specified <lower> and <upper> boundaries. 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.
Parameters: Return type:
-
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:
-
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
()¶ - class methods ============= Returns the GUID for arrays of reals.
Return type: Standard_GUID
-
TDataStd_RealArray_Set
(*args) → OCC.TDataStd.Handle_TDataStd_RealArray¶ - Finds or creates on the <label> a real array attribute with the specified <lower> and <upper> boundaries. 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.
Parameters: Return type:
-
class
TDataStd_RealList
(*args)¶ Bases:
OCC.TDF.TDF_Attribute
Return type: None -
DumpToString
()¶ TDataStd_RealList_DumpToString(TDataStd_RealList self) -> std::string
-
GetHandle
()¶
-
static
GetID
()¶ - 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:
-
InsertBefore
()¶ - Inserts the <value> before the first meet of <before_value>.
Parameters: Return type:
-
List
()¶ Return type: TColStd_ListOfReal
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_RealList¶ - 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
()¶ - Static methods ============== Returns the ID of the list of doubles attribute.
Return type: Standard_GUID
-
TDataStd_RealList_Set
(*args) → OCC.TDataStd.Handle_TDataStd_RealList¶ - Finds or creates a list of double values attribute.
Parameters: label (TDF_Label &) – Return type: Handle_TDataStd_RealList
-
TDataStd_Real_GetID
()¶ - 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
()¶ - 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: Return type:
-
InternalArray
()¶ Return type: Handle_TDataStd_HLabelArray1
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_ReferenceArray¶ - Finds or creates an array of reference values (labels) attribute.
Parameters: Return type:
-
SetInternalArray
()¶ Parameters: - values (Handle_TDataStd_HLabelArray1 &) –
- isCheckItems (bool) – default value is Standard_True
Return type:
-
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:
-
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
()¶ - Static methods ============== Returns the ID of the array of references (labels) attribute.
Return type: Standard_GUID
-
TDataStd_ReferenceArray_Set
(*args) → OCC.TDataStd.Handle_TDataStd_ReferenceArray¶ - Finds or creates an array of reference values (labels) attribute.
Parameters: Return type:
-
class
TDataStd_ReferenceList
(*args)¶ Bases:
OCC.TDF.TDF_Attribute
Return type: None -
DumpToString
()¶ TDataStd_ReferenceList_DumpToString(TDataStd_ReferenceList self) -> std::string
-
GetHandle
()¶
-
static
GetID
()¶ - 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:
-
InsertBefore
()¶ - Inserts the <value> before the first meet of <before_value>.
Parameters: - value (TDF_Label &) –
- before_value (TDF_Label &) –
Return type:
-
List
()¶ Return type: TDF_LabelList
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_ReferenceList¶ - 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
()¶ - Static methods ============== Returns the ID of the list of references (labels) attribute.
Return type: Standard_GUID
-
TDataStd_ReferenceList_Set
(*args) → OCC.TDataStd.Handle_TDataStd_ReferenceList¶ - 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
()¶ - 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) → OCC.TDataStd.Handle_TDataStd_Relation¶ - Find, or create, an Relation attribute. Real methods ============
Parameters: label (TDF_Label &) – Return type: Handle_TDataStd_Relation
-
thisown
¶ The membership flag
-
-
TDataStd_Relation_GetID
()¶ - class methods =============
Return type: Standard_GUID
-
TDataStd_Relation_Set
(*args) → OCC.TDataStd.Handle_TDataStd_Relation¶ - 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
()¶ - Static methods ==============
Return type: Standard_GUID
-
static
Set
(*args) → OCC.TDataStd.Handle_TDataStd_Tick¶ - Find, or create, a Tick attribute. Tick methods ============
Parameters: label (TDF_Label &) – Return type: Handle_TDataStd_Tick
-
thisown
¶ The membership flag
-
-
TDataStd_Tick_GetID
()¶ - Static methods ==============
Return type: Standard_GUID
-
TDataStd_Tick_Set
(*args) → OCC.TDataStd.Handle_TDataStd_Tick¶ - 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
()¶ - 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:
-
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
()¶ - returns a default tree ID. this ID is used by the <Set> method without explicit tree ID. Instance methods: ================
Return type: Standard_GUID
-
GetHandle
()¶
-
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) → OCC.TDataStd.Handle_TDataStd_TreeNode¶ - 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:
-
SetLast
()¶ - TreeNode callback: ==================
Parameters: F (Handle_TDataStd_TreeNode &) – Return type: None
-
thisown
¶ The membership flag
-
-
TDataStd_TreeNode_Find
()¶ - 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:
-
TDataStd_TreeNode_GetDefaultTreeID
()¶ - 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) → OCC.TDataStd.Handle_TDataStd_TreeNode¶ - 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:
-
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) → OCC.TDataStd.Handle_TDataStd_UAttribute¶ - 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:
-
thisown
¶ The membership flag
-
-
TDataStd_UAttribute_Set
(*args) → OCC.TDataStd.Handle_TDataStd_UAttribute¶ - 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:
-
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
-
DumpToString
()¶ TDataStd_Variable_DumpToString(TDataStd_Variable self) -> std::string
-
Expression
()¶ - if <self> is assigned, returns associated Expression attribute.
Return type: Handle_TDataStd_Expression
-
GetHandle
()¶
-
static
GetID
()¶ - 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
-
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:
-
Unit
()¶ Parameters: unit (TCollection_AsciiString &) – Return type: None - to read/write fields ===================
Return type: TCollection_AsciiString
-
thisown
¶ The membership flag
-
-
TDataStd_Variable_GetID
()¶ - class methods =============
Return type: Standard_GUID
-
new_instancemethod
(func, inst, cls)¶
-
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
()¶ - 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
()¶ - 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
-
static
-
tdatastd_IDList
()¶ - 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
()¶ - 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