46.1 Section object

The Section object defines the properties of a section. The Section object is the abstract base type for other Section objects. The Section object has no explicit constructor. The methods and members of the Section object are common to all objects derived from the Section.

Access
import section
mdb.models[name].sections[name]
import odbSection
session.odbs[name].sections[name]


46.1.1 sectionsFromOdb(...)

This method creates Section objects by reading an output database. The new sections are placed in the sections repository.

Path
mdb.models[name].sectionsFromOdb

Required argument

fileName

A String specifying the name of the output database file (including the .odb extension) to be read. This String can also be the full path to the output database file if it is located in another directory.

Optional arguments

None.

Return value

A list of Section objects.

Exceptions

None.


46.1.2  Members

The Section object has the following member:

name

A String specifying the repository key.