OCC.Core.XmlMNaming module

XmlMNaming module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_xmlmnaming.html

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class XmlMNaming_NamedShapeDriver(*args)

Bases: OCC.Core.XmlMDF.XmlMDF_ADriver

Parameters

aMessageDriver

type aMessageDriver

Message_Messenger

rtype

None

Clear()
  • Clear myShapeSet
    rtype

    None

static DownCast(t)
GetShapesLocations()
  • get the format of topology
    rtype

    TopTools_LocationSet

Paste()
Parameters

theSource

type theSource

XmlObjMgt_Persistent

param theTarget

type theTarget

TDF_Attribute

param theRelocTable

type theRelocTable

XmlObjMgt_RRelocationTable

rtype

bool:param theSource:

type theSource

TDF_Attribute

param theTarget

type theTarget

XmlObjMgt_Persistent

param theRelocTable

type theRelocTable

XmlObjMgt_SRelocationTable

rtype

void

ReadShapeSection()
  • Input the shapes from DOM element
    param anElement

    type anElement

    XmlObjMgt_Element

    rtype

    None

WriteShapeSection()
  • Output the shapes into DOM element
    param anElement

    type anElement

    XmlObjMgt_Element

    rtype

    None

property thisown

The membership flag

class XmlMNaming_NamingDriver(*args)

Bases: OCC.Core.XmlMDF.XmlMDF_ADriver

Parameters

aMessageDriver

type aMessageDriver

Message_Messenger

rtype

None

static DownCast(t)
Paste()
Parameters

theSource

type theSource

XmlObjMgt_Persistent

param theTarget

type theTarget

TDF_Attribute

param theRelocTable

type theRelocTable

XmlObjMgt_RRelocationTable

rtype

bool:param theSource:

type theSource

TDF_Attribute

param theTarget

type theTarget

XmlObjMgt_Persistent

param theRelocTable

type theRelocTable

XmlObjMgt_SRelocationTable

rtype

None

property thisown

The membership flag

class XmlMNaming_Shape1(*args)

Bases: object

Parameters

Doc

type Doc

XmlObjMgt_Document

rtype

None:param E:

type E

XmlObjMgt_Element

rtype

None

Element()
  • return myElement
    rtype

    XmlObjMgt_Element

LocId()
Return type

int

Orientation()
Return type

TopAbs_Orientation

SetShape()
Parameters

ID

type ID

int

param LocID

type LocID

int

param Orient

type Orient

TopAbs_Orientation

rtype

None

SetVertex()
Parameters

theVertex

type theVertex

TopoDS_Shape

rtype

None

TShapeId()
Return type

int

property thisown

The membership flag

class xmlmnaming

Bases: object

static AddDrivers()
  • Adds the attribute drivers to <aDriverTable>.
    param aDriverTable

    type aDriverTable

    XmlMDF_ADriverTable

    param aMessageDriver

    type aMessageDriver

    Message_Messenger

    rtype

    void

property thisown

The membership flag