Functions | |
StatusInt | mdlLevelLibrary_attach (LevelLibraryRefP *libraryRefOut, WCharCP fileNameIn, LevelLibraryFormat libraryFormatIn, DgnModelRefP modelRefIn) |
Attach specified level-library to the file's level-table of specified model-ref. More... | |
StatusInt | mdlLevelLibrary_detach (LevelLibraryRefP libraryRefIn, DgnModelRefP modelRefIn) |
Detach specified level-library from the file's level-table of specified model-ref. More... | |
StatusInt | mdlLevelLibrary_resync (DgnModelRefP modelRefIn) |
Resync attributes of an external level of the file of specified model-ref to match with its corresponding attributes in the level library. More... | |
LevelLibraryRefP | mdlLevelLibrary_find (WCharCP fileNameIn, bool fuzzyMatchIn, DgnModelRefP modelRefIn) |
Find a library reference with specified file-name in file of specified model-ref. More... | |
StatusInt | mdlLevelLibrary_import (WCharCP fileNameIn, LevelLibraryFormat libraryFormatIn, LevelLibraryImportMethod importByMethodIn, DgnModelRefP modelRefIn) |
Import levels from specified file into the file of specified model-ref. More... | |
StatusInt | mdlLevelLibrary_importWithFilters (WCharCP fileNameIn, LevelLibraryFormat libraryFormatIn, LevelLibraryImportMethod importByMethodIn, DgnModelRefP modelRefIn) |
Import specified level-library and associated level filters into the file of specified model-ref. More... | |
StatusInt | mdlLevelLibrary_export (WCharCP fileNameIn, LevelLibraryFormat libraryFormatIn, DgnModelRefP modelRefIn) |
Export levels of file of specified model-ref. More... | |
StatusInt | mdlLevelLibrary_exportWithFilters (WCharCP fileNameIn, LevelLibraryFormat libraryFormatIn, DgnModelRefP modelRefIn) |
Export levels & filters of file of specified model-ref. More... | |
StatusInt | mdlLevelLibrary_getName (WStringR libraryNameOut, LevelLibraryRefP libraryRefIn) |
Get name of a level-library. More... | |
StatusInt | mdlLevelLibrary_getFormat (LevelLibraryFormat *libraryFormatOut, LevelLibraryRefP libraryRefIn) |
Get format of a level-library. More... | |
bool | mdlLevelLibrary_isManuallyAttached (LevelLibraryRefP libraryRefIn) |
Check if a level-library is auto-attached or manually attached. More... | |
StatusInt | mdlLevelLibrary_getCount (int *countOut, LevelLibraryCountType countTypeIn, DgnModelRefP modelRefIn) |
Get the number of attached level libraries to file of specified model-ref. More... | |
StatusInt mdlLevelLibrary_attach | ( | LevelLibraryRefP * | libraryRefOut, |
WCharCP | fileNameIn, | ||
LevelLibraryFormat | libraryFormatIn, | ||
DgnModelRefP | modelRefIn | ||
) |
Attach specified level-library to the file's level-table of specified model-ref.
[out] | libraryRefOut | reference to attached library |
[in] | fileNameIn | name of library to attach |
[in] | libraryFormatIn | format of file - one of LEVEL_LIBRARY_FORMAT_ ... (defined in leveltable.h) |
[in] | modelRefIn | model-ref of file to whose level-table the library should be attached |
StatusInt mdlLevelLibrary_detach | ( | LevelLibraryRefP | libraryRefIn, |
DgnModelRefP | modelRefIn | ||
) |
Detach specified level-library from the file's level-table of specified model-ref.
[in] | libraryRefIn | library reference to detach |
[in] | modelRefIn | model-ref of file from whose level-table the library should be detached |
StatusInt mdlLevelLibrary_export | ( | WCharCP | fileNameIn, |
LevelLibraryFormat | libraryFormatIn, | ||
DgnModelRefP | modelRefIn | ||
) |
Export levels of file of specified model-ref.
[in] | fileNameIn | name of library to export into |
[in] | libraryFormatIn | format of file - one of LEVEL_LIBRARY_FORMAT_ ... (defined in leveltable.h) |
[in] | modelRefIn | model-ref of file |
StatusInt mdlLevelLibrary_exportWithFilters | ( | WCharCP | fileNameIn, |
LevelLibraryFormat | libraryFormatIn, | ||
DgnModelRefP | modelRefIn | ||
) |
Export levels & filters of file of specified model-ref.
[in] | fileNameIn | name of library to export into |
[in] | libraryFormatIn | format of file - one of LEVEL_LIBRARY_FORMAT_ ... (defined in leveltable.h) |
[in] | modelRefIn | model-ref of file |
LevelLibraryRefP mdlLevelLibrary_find | ( | WCharCP | fileNameIn, |
bool | fuzzyMatchIn, | ||
DgnModelRefP | modelRefIn | ||
) |
Find a library reference with specified file-name in file of specified model-ref.
[in] | fileNameIn | name of library to detach |
[in] | fuzzyMatchIn | if true, the pFileNameIn is compared only against the base name of the library files |
[in] | modelRefIn | model-ref of file |
StatusInt mdlLevelLibrary_getCount | ( | int * | countOut, |
LevelLibraryCountType | countTypeIn, | ||
DgnModelRefP | modelRefIn | ||
) |
Get the number of attached level libraries to file of specified model-ref.
[out] | countOut | number of attached libraries |
[in] | countTypeIn | one of LEVEL_LIBRARY_COUNT_TYPE_ ... (defined in leveltable.h) |
[in] | modelRefIn | model-ref of file |
StatusInt mdlLevelLibrary_getFormat | ( | LevelLibraryFormat * | libraryFormatOut, |
LevelLibraryRefP | libraryRefIn | ||
) |
Get format of a level-library.
[out] | libraryFormatOut | level library foramt |
[in] | libraryRefIn | level library reference |
StatusInt mdlLevelLibrary_getName | ( | WStringR | libraryNameOut, |
LevelLibraryRefP | libraryRefIn | ||
) |
Get name of a level-library.
[out] | libraryNameOut | level library name |
[in] | libraryRefIn | level library reference |
StatusInt mdlLevelLibrary_import | ( | WCharCP | fileNameIn, |
LevelLibraryFormat | libraryFormatIn, | ||
LevelLibraryImportMethod | importByMethodIn, | ||
DgnModelRefP | modelRefIn | ||
) |
Import levels from specified file into the file of specified model-ref.
This function copies all the levels of the level-library into the file's level-table.
[in] | fileNameIn | name of library to import |
[in] | libraryFormatIn | format of file - one of LEVEL_LIBRARY_FORMAT_ ... (defined in leveltable.h) |
[in] | importByMethodIn | one of LEVEL_LIBRARY_IMPORT_BY_ ... (defined in leveltable.h) |
[in] | modelRefIn | model-ref of file |
StatusInt mdlLevelLibrary_importWithFilters | ( | WCharCP | fileNameIn, |
LevelLibraryFormat | libraryFormatIn, | ||
LevelLibraryImportMethod | importByMethodIn, | ||
DgnModelRefP | modelRefIn | ||
) |
Import specified level-library and associated level filters into the file of specified model-ref.
This function copies all the levels and filters of the level-library into the file's level & filter table.
[in] | fileNameIn | name of library to import |
[in] | libraryFormatIn | format of file - one of LEVEL_LIBRARY_FORMAT_ ... (defined in leveltable.h) |
[in] | importByMethodIn | one of LEVEL_LIBRARY_IMPORT_BY_ ... (defined in leveltable.h) |
[in] | modelRefIn | model-ref of file |
bool mdlLevelLibrary_isManuallyAttached | ( | LevelLibraryRefP | libraryRefIn | ) |
Check if a level-library is auto-attached or manually attached.
[in] | libraryRefIn | level library reference |
StatusInt mdlLevelLibrary_resync | ( | DgnModelRefP | modelRefIn | ) |
Resync attributes of an external level of the file of specified model-ref to match with its corresponding attributes in the level library.
[in] | modelRefIn | model-ref of file |