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
Parses data file.

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
Parses data file.

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
Parses data file.

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
Parses data file.

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
Parses data file given by path.

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:
.gzgzip
.xzxz
.bz2bzip2
.zipunzip
.7z7x

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
Parses data file given by path.

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:
.gzgzip
.xzxz
.bz2bzip2
.zipunzip
.7z7x

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
Parses data file given by path.

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:
.gzgzip
.xzxz
.bz2bzip2
.zipunzip
.7z7x

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
Parses data file given by path.

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:
.gzgzip
.xzxz
.bz2bzip2
.zipunzip
.7z7x

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
Parses data file given it as text.

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
Parses data file given it as text.

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
Parses data file given it as text.

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
Parses data file given it as text.

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
Print system to file or stdout.

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
Prints all values.

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
Print all options to stdout.

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
Prints PCS file.

LGLMBS.PrintRangeOptions

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SATSolver MBS Tools Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Print range options to stdout.

LGLMBS.PrintSizes

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SATSolver MBS Tools Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Prints data structure sizes.

LGLMBS.PrintStats

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SATSolver MBS Tools Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Prints statistics to stdout.

LGLMBS.PrintUsage

Type Topic Plugin Version macOS Windows Linux iOS Targets
method SATSolver MBS Tools Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Print usage "-h".

The items on this page are in the following plugins: MBS Tools Plugin.


The biggest plugin in space...