Platforms to show: All Mac Windows Linux Cross-Platform
Back to LGLMBS class.
LGLMBS.ParseFile(File as FolderItem, force as boolean = false) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
See also:
LGLMBS.ParseFile(File as FolderItem, force as boolean, byref LineNo as Integer, byref Max as Integer) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
See also:
LGLMBS.ParseFileMT(File as FolderItem, force as boolean = false) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
See also:
LGLMBS.ParseFileMT(File as FolderItem, force as boolean, byref LineNo as Integer, byref Max as Integer) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
See also:
LGLMBS.ParsePath(Path as String, force as boolean = false) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
On MacOS and Linux, if file has the following extensions, the file will be decompressed with command line tool and then parsed:
| .gz | gzip |
| .xz | xz |
| .bz2 | bzip2 |
| .zip | unzip |
| .7z | 7x |
See also:
LGLMBS.ParsePath(Path as String, force as boolean, byref LineNo as Integer, byref Max as Integer) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
On MacOS and Linux, if file has the following extensions, the file will be decompressed with command line tool and then parsed:
| .gz | gzip |
| .xz | xz |
| .bz2 | bzip2 |
| .zip | unzip |
| .7z | 7x |
See also:
LGLMBS.ParsePathMT(Path as String, force as boolean = false) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
On MacOS and Linux, if file has the following extensions, the file will be decompressed with command line tool and then parsed:
| .gz | gzip |
| .xz | xz |
| .bz2 | bzip2 |
| .zip | unzip |
| .7z | 7x |
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
See also:
LGLMBS.ParsePathMT(Path as String, force as boolean, byref LineNo as Integer, byref Max as Integer) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
On MacOS and Linux, if file has the following extensions, the file will be decompressed with command line tool and then parsed:
| .gz | gzip |
| .xz | xz |
| .bz2 | bzip2 |
| .zip | unzip |
| .7z | 7x |
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
See also:
LGLMBS.ParseString(Data as String, force as boolean = false) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
Please pass text with data separated with unix line endings (endofline.unix), so you may need to use ReplaceLineEndings function.
See also:
LGLMBS.ParseString(Data as String, force as boolean, byref LineNo as Integer, byref Max as Integer) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
Please pass text with data separated with unix line endings (endofline.unix), so you may need to use ReplaceLineEndings function.
See also:
LGLMBS.ParseStringMT(Data as String, force as boolean = false) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
Please pass text with data separated with unix line endings (endofline.unix), so you may need to use ReplaceLineEndings function.
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
See also:
LGLMBS.ParseStringMT(Data as String, force as boolean, byref LineNo as Integer, byref Max as Integer) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns empty text on success or error message from parser.
Please pass text with data separated with unix line endings (endofline.unix), so you may need to use ReplaceLineEndings function.
The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.
See also:
LGLMBS.Print(File as FolderItem = nil)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pass nil to use stdout.
Remaining in DIMACS format
LGLMBS.PrintAll(File as FolderItem = nil)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Including units & equivs.
Pass nil to use stdout.
Some examples using this method:
LGLMBS.PrintOptions(prefix as string, IgnoreSome as boolean)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
LGLMBS.PrintPCS(mixed as boolean)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | SATSolver | MBS Tools Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The items on this page are in the following plugins: MBS Tools Plugin.