The VSPCFG file controls how materials are applied to AutoCAD Civil 3D objects in 3ds Max.
The VSPCFG file is used to determine how the contents of the AutoCAD Civil 3D model should be interpreted by 3ds Max. This configuration file is used primarily to determine the way in which subassembly classes, link codes, surface names, and render texture names are automatically mapped to materials.
If necessary, differing VSPCFG files may be created which relate to the requirements of each project.
You can open the VSPCFG file by using the Edit button in the Export to Civil View for 3ds Max dialog box.
From the VSPCFG file, it is possible to control:
The file is set up in lines. Each line represents a match between a string and a 3ds Max Material ID value: Mask ; id ; u-tiling ; v-tiling ; type
mask = Full or partial name matching string based on the contents of the type field
id = The 3ds Max material ID which should be applied to the identified surface/subassembly/link
u-tiling = Texture tiling distance to be applied in the "U" direction (lateral)
v-tiling = Texture tiling distance to be applied in the "V" direction (longitudinal)
type = The type of match to be made
Allows a full or partial name to be specified to identify objects or components in AutoCAD Civil 3D such as subassembly classes, subassembly link codes, materials, or surfaces. Supported wildcard characters in this field are:
Civil View uses a multi-channel (multi/sub-object) material definition which is automatically applied to all imported surface geometry. This material definition is known as the CivilViewSurfaces Material Definition.
The automatic assignment of material IDs to every face/triangle of each imported surface ensures that materials are always correctly assigned upon import into Civil View. No direct interaction with the Materials Editor in 3ds Max is necessary.
Specifies the texture tiling distance to be applied in the "U" and "V" direction.
"U" means:
"V" means:
U-Tiling and V-Tiling values can be specified as positive or negative values:
Determines the type of object or sub-object that the current line in the VSPCFG file will attempt to match against.
The following match types are possible: