Last updated on
Sep 15, 2025
Note
Documentation for Substance Automation Toolkit is now included in the SAT package. You can access the documentation by opening html-doc.zip inside your downloaded SAT package.
info_mesh_parser
class batchtools.info_mesh_parser.InfoBlockEnum
Bases: object
BoundingBox = 1
Entity = 0
Location = 2
Mesh = 3
Submesh = 5
UV = 4
class batchtools.info_mesh_parser.InfoPropertyEnum
Bases: object
BoundingBox = 5
Center = 9
Color = 1
ContainedUnitSquare = 15
Enabled = 16
GlobalTransform = 7
Label = 0
LocalTransform = 6
MaximalPoint = 11
MinimalPoint = 10
Name = 4
NumberPoints = 14
Size = 8
Triangles = 2
Udim = 13
Uv = 12
Vertices = 3
batchtools.info_mesh_parser.extract_block(text, token)
extract data block from a given token :param text: mesh info :param token: InfoBlockEnum :return:
batchtools.info_mesh_parser.get_first_value(prop, name)
batchtools.info_mesh_parser.get_property_values(block, *properties_enum)
extract properties from a block :param block: :param properties_enum: :return:
batchtools.info_mesh_parser.leading_space(line)
batchtools.info_mesh_parser.prepare_property_value(line)