OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    IFSelect Class Reference

    Gives tools to manage Selecting a group of Entities processed by an Interface, for instance to divide up an original Model (from a File) to several smaller ones They use description of an Interface Model as a graph. More...

    #include <IFSelect.hxx>

    Static Public Member Functions

    static bool SaveSession (const occ::handle< IFSelect_WorkSession > &WS, const char *const file)
     Saves the state of a WorkSession from IFSelect, by using a SessionFile from IFSelect. Returns True if Done, False in case of Error on Writing. <file> gives the name of the File to be produced (this avoids to export the class SessionFile).
    static bool RestoreSession (const occ::handle< IFSelect_WorkSession > &WS, const char *const file)
     Restore the state of a WorkSession from IFSelect, by using a SessionFile from IFSelect. Returns True if Done, False in case of Error on Writing. <file> gives the name of the File to be used (this avoids to export the class SessionFile).

    Detailed Description

    Gives tools to manage Selecting a group of Entities processed by an Interface, for instance to divide up an original Model (from a File) to several smaller ones They use description of an Interface Model as a graph.

    Remark that this corresponds to the description of a "scenario" of sharing out a File. Parts of this Scenario are intended to be permanently stored. IFSelect provides the Transient, active counterparts (to run the Scenario). But a permanent one (either as Persistent Objects or as interpretable Text) must be provided elsewhere.

    Member Function Documentation

    ◆ RestoreSession()

    bool IFSelect::RestoreSession ( const occ::handle< IFSelect_WorkSession > & WS,
    const char *const file )
    static

    Restore the state of a WorkSession from IFSelect, by using a SessionFile from IFSelect. Returns True if Done, False in case of Error on Writing. <file> gives the name of the File to be used (this avoids to export the class SessionFile).

    ◆ SaveSession()

    bool IFSelect::SaveSession ( const occ::handle< IFSelect_WorkSession > & WS,
    const char *const file )
    static

    Saves the state of a WorkSession from IFSelect, by using a SessionFile from IFSelect. Returns True if Done, False in case of Error on Writing. <file> gives the name of the File to be produced (this avoids to export the class SessionFile).


    The documentation for this class was generated from the following file: